@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
*/

/* 空の関連記事欄だけを非表示にする。手動内部リンクは維持。 */
.postid-8 .l-articleBottom__section.-related,
.postid-11 .l-articleBottom__section.-related,
.postid-13 .l-articleBottom__section.-related,
.postid-15 .l-articleBottom__section.-related {
    display: none;
}

.enkiro-home-hero {
    margin-bottom: 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #cfe1df;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef9f6 0%, #ffffff 70%);
}

.enkiro-home-hero h1 {
    margin-top: 0;
    color: #0b4f5c;
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    line-height: 1.35;
}

.enkiro-home-lead {
    font-size: 1.1em;
    font-weight: 700;
}

.enkiro-home-actions {
    align-items: stretch !important;
}

.enkiro-home-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid #b9d7d3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(11, 79, 92, 0.08);
}

.enkiro-home-card.-primary {
    border-width: 2px;
    border-color: #0b6674;
    background: #f0faf7;
}

.enkiro-home-label {
    display: inline-block;
    margin: 0 0 0.5rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #0b4f5c;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}

.enkiro-home-button .wp-block-button__link {
    width: 100%;
    border-radius: 999px;
    background: #158f76;
    box-shadow: 0 5px 0 #0b4f5c;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.enkiro-home-card.-secondary .enkiro-home-button .wp-block-button__link {
    background: #0b6674;
}

.enkiro-home-button .wp-block-button__link:hover {
    background: #0b4f5c;
    box-shadow: 0 2px 0 #073640;
    transform: translateY(3px);
}

.enkiro-home-button .wp-block-button__link:focus-visible {
    outline: 3px solid #ff9f1c;
    outline-offset: 4px;
}

.enkiro-home-note {
    margin-top: 2rem;
    padding: 0.8rem 1rem;
    border-left: 4px solid #0b6674;
    background: #f7f9fa;
    font-size: 0.92rem;
}

@media (max-width: 781px) {
    .enkiro-home-card {
        padding: 1.25rem;
    }
}


.enkiro-home-hero__grid {
    display: block;
}

.enkiro-home-hero__grid > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}

.enkiro-home-hero__copy,
.enkiro-home-hero__media {
    min-width: 0;
}

.enkiro-home-hero__media {
    margin: 0;
}

.enkiro-home-hero__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(11, 79, 92, 0.14);
}

@media (max-width: 781px) {
    .enkiro-home-hero {
        padding: 1.25rem;
    }

    .enkiro-home-hero__grid > .wp-block-group__inner-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .enkiro-home-hero__media {
        order: 2;
    }
}
	