.wss-works-list-section {
    margin: 40px 0;
}

.wss-section-title {
    margin: 0 0 24px;
    padding-left: 14px;
    border-left: 5px solid #2f80ed;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.wss-works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.wss-work-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wss-work-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.wss-work-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.wss-work-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f4f6;
}

.wss-work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wss-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.wss-work-body {
    padding: 18px;
}

.wss-work-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.wss-work-cats span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.wss-work-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.wss-work-excerpt {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

.wss-work-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.wss-empty {
    padding: 18px;
    border-radius: 12px;
    background: #f9fafb;
    color: #4b5563;
}

@media screen and (max-width: 900px) {
    .wss-works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 600px) {
    .wss-works-list-section {
        margin: 28px 0;
    }

    .wss-section-title {
        font-size: 22px;
    }

    .wss-works-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wss-work-body {
        padding: 16px;
    }

    .wss-work-title {
        font-size: 17px;
    }
}

.wss-work-meta-list {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.wss-work-meta-item {
    display: flex;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.5;
}

.wss-work-meta-label {
    flex: 0 0 72px;
    color: #2563eb;
    font-weight: 700;
}

.wss-work-meta-value {
    flex: 1;
    color: #374151;
}

.wss-work-detail-box {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.wss-work-detail-meta-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.wss-work-detail-meta-row:last-child {
    border-bottom: 0;
}

.wss-before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.wss-before-after-item {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.wss-before-after-item h3 {
    margin: 0;
    padding: 12px 16px;
    background: #f8fafc;
    font-size: 17px;
    font-weight: 700;
}

.wss-before-after-item img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    background: #f8fafc;
}

@media screen and (max-width: 600px) {

    .wss-before-after-item img {
        height: 220px;
    }

    .wss-work-meta-item {
        display: block;
    }

    .wss-work-meta-label {
        display: block;
        margin-bottom: 2px;
    }

    .wss-work-detail-meta-row {
        display: block;
    }

    .wss-work-detail-meta-row .wss-work-meta-label {
        margin-bottom: 4px;
    }

    .wss-before-after {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.wss-work-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

/* カテゴリ検索 */
.wss-works-search-section {
    margin: 40px 0;
}

.wss-works-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr) auto;
    gap: 14px;
    align-items: end;
    margin: 0 0 26px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.wss-search-field label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.wss-search-field input,
.wss-search-field select {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.wss-search-field input:focus,
.wss-search-field select:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wss-search-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wss-search-submit,
.wss-search-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.wss-search-submit {
    border: 0;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}

.wss-search-submit:hover {
    background: #1d4ed8;
    color: #fff;
}

.wss-search-reset {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.wss-search-reset:hover {
    background: #f3f4f6;
    color: #111827;
}

.wss-search-summary {
    margin: -8px 0 20px;
    color: #4b5563;
    font-size: 14px;
}

.wss-works-search-section .wss-works-list-section {
    margin-top: 0;
}

@media screen and (max-width: 800px) {
    .wss-works-search-form {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .wss-search-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wss-search-submit,
    .wss-search-reset {
        width: 100%;
    }
}

/* 会社概要 */
.wss-company-info {
    width: min(760px, calc(100% - 32px));
    margin: 40px auto;
}

.wss-company-title {
    margin: 0 0 20px;
    padding-left: 14px;
    border-left: 5px solid #2f80ed;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.wss-company-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.wss-company-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid #edf2f7;
}

.wss-company-row:last-child {
    border-bottom: 0;
}

.wss-company-label {
    padding: 14px 18px;
    background: #f8fafc;
    color: #2563eb;
    font-weight: 700;
    line-height: 1.6;
}

.wss-company-value {
    padding: 14px 18px;
    color: #1f2937;
    line-height: 1.8;
}

.wss-company-value a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.wss-company-value a:hover {
    text-decoration: underline;
}

.wss-company-note {
    margin: 14px 0 0;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    color: #4b5563;
    line-height: 1.8;
}

.wss-company-note-small {
    color: #6b7280;
    font-size: 12px;
}

@media screen and (max-width: 600px) {
    .wss-company-info {
        width: min(100%, calc(100% - 24px));
        margin: 32px auto;
    }

    .wss-company-title {
        font-size: 22px;
    }

    .wss-company-row {
        grid-template-columns: 1fr;
    }

    .wss-company-label {
        padding: 12px 14px 4px;
        background: #fff;
    }

    .wss-company-value {
        padding: 0 14px 12px;
    }
}

/* お問い合わせへの導線 */
.wss-contact-cta {
    width: min(900px, calc(100% - 32px));
    margin: 42px auto;
}

.wss-contact-cta-inner {
    padding: 30px;
    border-radius: 22px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 55%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.wss-contact-cta-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 0 0 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wss-contact-cta-title {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.45;
}

.wss-contact-cta-lead {
    max-width: 680px;
    margin: 0 auto 20px;
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.wss-contact-cta-button-wrap {
    margin: 0 0 14px;
}

.wss-contact-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wss-contact-cta-button:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.wss-contact-cta-note {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

@media screen and (max-width: 600px) {
    .wss-contact-cta {
        width: min(100%, calc(100% - 24px));
        margin: 32px auto;
    }

    .wss-contact-cta-inner {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .wss-contact-cta-title {
        font-size: 21px;
    }

    .wss-contact-cta-lead {
        font-size: 14px;
    }

    .wss-contact-cta-button {
        width: 100%;
        min-height: 46px;
        padding: 10px 16px;
    }
}

/* 初期ページ一括作成 */
.wss-home-hero {
    width: min(1100px, calc(100% - 32px));
    margin: 42px auto;
    border-radius: 26px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 52%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.wss-home-hero-inner {
    padding: 46px 36px;
    text-align: center;
}

.wss-home-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin: 0 0 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wss-home-hero h1 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 850;
    line-height: 1.35;
}

.wss-home-lead {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #475569;
    font-size: 16px;
    line-height: 2;
}

.wss-home-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wss-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.4;
}

.wss-home-btn-main {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.wss-home-btn-main:hover {
    background: #1d4ed8;
    color: #fff;
}

.wss-home-btn-sub {
    background: #fff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.wss-home-btn-sub:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.wss-basic-page {
    width: min(860px, calc(100% - 32px));
    margin: 40px auto;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.wss-basic-page h2 {
    margin: 0 0 16px;
    padding-left: 14px;
    border-left: 5px solid #2f80ed;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
}

.wss-basic-page p {
    color: #374151;
    line-height: 1.9;
}

@media screen and (max-width: 600px) {
    .wss-home-hero {
        width: min(100%, calc(100% - 24px));
        margin: 32px auto;
        border-radius: 20px;
    }

    .wss-home-hero-inner {
        padding: 32px 18px;
    }

    .wss-home-lead {
        font-size: 14px;
    }

    .wss-home-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wss-home-btn {
        width: 100%;
    }

    .wss-basic-page {
        width: min(100%, calc(100% - 24px));
        margin: 32px auto;
        padding: 20px 16px;
    }

    .wss-basic-page h2 {
        font-size: 22px;
    }
}

/* お問い合わせフォーム  */
.wss-contact-form {
    width: min(860px, calc(100% - 32px));
    margin: 42px auto;
    padding: 32px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 48%, #f8fafc 100%);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

.wss-contact-intro {
    margin: 0 0 26px;
    text-align: center;
}

.wss-contact-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 0 0 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wss-contact-intro h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.45;
}

.wss-contact-intro p {
    max-width: 680px;
    margin: 0 auto;
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.wss-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wss-form-field-full {
    grid-column: 1 / -1;
}

.wss-form-field label {
    display: block;
    margin: 0 0 7px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
}

.wss-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

.wss-contact-form .wss-input,
.wss-contact-form .wss-select,
.wss-contact-form .wss-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    box-sizing: border-box;
}

.wss-contact-form .wss-input,
.wss-contact-form .wss-select {
    min-height: 46px;
    padding: 9px 13px;
}

.wss-contact-form .wss-textarea {
    min-height: 160px;
    padding: 13px;
    line-height: 1.8;
    resize: vertical;
}

.wss-contact-form .wss-input:focus,
.wss-contact-form .wss-select:focus,
.wss-contact-form .wss-textarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.wss-contact-form .wpcf7-not-valid {
    border-color: #ef4444 !important;
    background: #fff7f7;
}

.wss-contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
}

.wss-form-consent {
    margin: 22px 0 0;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.wss-form-consent p {
    margin: 0 0 10px;
}

.wss-form-consent a {
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

.wss-form-consent a:hover {
    text-decoration: underline;
}

.wss-form-consent .wpcf7-list-item {
    margin: 0;
}

.wss-form-consent label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #374151;
    line-height: 1.8;
}

.wss-form-consent input[type="checkbox"] {
    margin-top: 7px;
}

.wss-form-submit {
    margin-top: 24px;
    text-align: center;
}

.wss-contact-form .wss-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 50px;
    padding: 11px 26px;
    border: 0;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wss-contact-form .wss-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.wss-contact-form .wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
}

.wss-contact-form .wpcf7-response-output {
    margin: 22px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1.7;
}

@media screen and (max-width: 700px) {
    .wss-contact-form {
        width: min(100%, calc(100% - 24px));
        margin: 32px auto;
        padding: 22px 16px;
        border-radius: 20px;
    }

    .wss-contact-intro h2 {
        font-size: 22px;
    }

    .wss-contact-intro p {
        font-size: 14px;
    }

    .wss-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wss-contact-form .wss-submit {
        width: 100%;
        min-width: 0;
    }

    .wss-form-consent {
        padding: 14px;
    }
}

/* HOME */
/* HOME 強化デザイン */
.wss-home-main-visual {
    width: min(1120px, calc(100% - 32px));
    margin: 44px auto 52px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.09);
    overflow: hidden;
}

.wss-home-main-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 32px;
    align-items: center;
    padding: 54px 44px;
}

.wss-home-kicker,
.wss-home-section-label,
.wss-home-panel-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin: 0 0 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wss-home-main-text h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: 0.02em;
}

.wss-home-main-lead {
    max-width: 680px;
    margin: 0 0 26px;
    color: #475569;
    font-size: 16px;
    line-height: 2;
}

.wss-home-main-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wss-home-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.4;
}

.wss-home-main-btn-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.wss-home-main-btn-primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.wss-home-main-btn-secondary {
    background: #fff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.wss-home-main-btn-secondary:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.wss-home-main-panel {
    display: flex;
    justify-content: center;
}

.wss-home-panel-card {
    width: 100%;
    max-width: 380px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.wss-home-panel-list {
    display: grid;
    gap: 12px;
}

.wss-home-panel-list div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.wss-home-panel-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.wss-home-panel-list strong {
    color: #0f172a;
    font-size: 14px;
}

.wss-home-feature-section,
.wss-home-flow-section,
.wss-home-contact-section {
    width: min(1120px, calc(100% - 32px));
    margin: 52px auto;
}

.wss-home-section-head {
    max-width: 760px;
    margin: 0 0 26px;
}

.wss-home-section-head h2,
.wss-home-contact-box h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.45;
}

.wss-home-section-head p,
.wss-home-contact-box p {
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.wss-home-feature-grid,
.wss-home-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wss-home-feature-card,
.wss-home-flow-card {
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.wss-home-feature-number,
.wss-home-flow-card span {
    display: inline-flex;
    margin: 0 0 12px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.wss-home-feature-card h3,
.wss-home-flow-card h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
}

.wss-home-feature-card p,
.wss-home-flow-card p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.85;
}

.wss-home-contact-box {
    padding: 34px 28px;
    border-radius: 26px;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 32%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 60%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.wss-home-contact-box p {
    max-width: 720px;
    margin: 0 auto 22px;
}

@media screen and (max-width: 900px) {
    .wss-home-main-inner {
        grid-template-columns: 1fr;
        padding: 42px 28px;
    }

    .wss-home-main-panel {
        justify-content: flex-start;
    }

    .wss-home-feature-grid,
    .wss-home-flow-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .wss-home-main-visual,
    .wss-home-feature-section,
    .wss-home-flow-section,
    .wss-home-contact-section {
        width: min(100%, calc(100% - 24px));
        margin: 34px auto;
    }

    .wss-home-main-visual {
        border-radius: 22px;
    }

    .wss-home-main-inner {
        padding: 32px 18px;
        gap: 24px;
    }

    .wss-home-main-text h1 {
        font-size: 30px;
    }

    .wss-home-main-lead {
        font-size: 14px;
    }

    .wss-home-main-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wss-home-main-btn {
        width: 100%;
    }

    .wss-home-panel-card {
        max-width: none;
        padding: 18px;
        border-radius: 20px;
    }

    .wss-home-section-head h2,
    .wss-home-contact-box h2 {
        font-size: 22px;
    }

    .wss-home-feature-card,
    .wss-home-flow-card {
        padding: 20px;
        border-radius: 18px;
    }

    .wss-home-contact-box {
        padding: 26px 18px;
        border-radius: 20px;
    }
}

/* 施工事例詳細ページの前の記事・次の記事を非表示 */
.single-wss_work .postNextPrev,
.single-wss_work .post-next-prev,
.single-wss_work .next-prev,
.single-wss_work .vk_posts.postNextPrev,
.single-wss_work .vk_posts-next-prev,
.single-wss_work .entry-footer .nav-links,
.single-wss_work .navigation.post-navigation,
.single-wss_work .nav-links {
    display: none !important;
}

/* 施工事例カテゴリページ */
.wss-tax-archive {
    width: min(1120px, calc(100% - 32px));
    margin: 42px auto 56px;
}

.wss-tax-hero {
    margin: 0 0 30px;
    padding: 34px 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 56%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.wss-tax-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin: 0 0 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wss-tax-hero h1 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.35;
}

.wss-tax-lead {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.wss-tax-content {
    margin-top: 28px;
}

.wss-tax-pagination {
    margin: 34px 0 0;
    text-align: center;
}

.wss-tax-pagination ul {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wss-tax-pagination a,
.wss-tax-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #fff;
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

.wss-tax-pagination .current {
    background: #2563eb;
    color: #fff;
}

@media screen and (max-width: 600px) {
    .wss-tax-archive {
        width: min(100%, calc(100% - 24px));
        margin: 32px auto 44px;
    }

    .wss-tax-hero {
        padding: 26px 18px;
        border-radius: 20px;
    }

    .wss-tax-hero h1 {
        font-size: 26px;
    }

    .wss-tax-lead {
        font-size: 14px;
    }
}

.wss-footer-credit {
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  padding: 12px 16px;
  color: #666;
  background: #fff;
  border-top: 1px solid #ddd;
}

.wss-footer-credit a {
  color: #666;
  text-decoration: none;
}

.wss-footer-credit a:hover {
  text-decoration: underline;
}

/* 施工後画像ギャラリー：メイン画像＋サムネイル */
.wss-after-gallery {
  margin: 30px 0;
}

.wss-after-gallery-title {
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 5px solid #2f80ed;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.wss-after-gallery-main {
  overflow: hidden;
  margin: 0 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.wss-after-gallery-main-img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.wss-after-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.wss-after-gallery-thumb {
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
}

.wss-after-gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.wss-after-gallery-thumb.is-active {
  border-color: #2563eb;
}

.wss-after-gallery-thumb:hover {
  border-color: #93c5fd;
}

@media screen and (max-width: 700px) {
  .wss-after-gallery-main-img {
    height: 260px;
  }

  .wss-after-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}

@media screen and (max-width: 420px) {
  .wss-after-gallery-main-img {
    height: 220px;
  }

  .wss-after-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 会社概要：幅を写真・マップ対応に広げる */
.wss-company-info {
    width: min(960px, calc(100% - 32px));
}

/* 会社概要：会社写真 */
.wss-company-photo-section {
    width: 100%;
    margin: 36px 0 0;
    padding: 28px;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
}

.wss-company-photo-head {
    margin: 0 0 20px;
    text-align: center;
}

.wss-company-photo-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.wss-company-photo-title {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.4;
    font-weight: 900;
}

.wss-company-photo-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #2563eb;
}

.wss-company-photo-lead {
    max-width: 620px;
    margin: 12px auto 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.wss-company-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.wss-company-photo {
    overflow: hidden;
    margin: 0;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.wss-company-photo-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* 会社概要：Googleマップ */
.wss-company-map-section {
    width: 100%;
    margin: 36px 0 0;
    box-sizing: border-box;
}

.wss-company-map-head {
    margin: 0 0 18px;
    text-align: center;
}

.wss-company-map-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.wss-company-map-title {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.4;
    font-weight: 900;
}

.wss-company-map-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #2563eb;
}

.wss-company-map-lead {
    max-width: 620px;
    margin: 12px auto 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.wss-company-map {
    overflow: hidden;
    width: 100%;
    margin: 0;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #f8fbff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
}

.wss-company-map iframe {
    display: block;
    width: 100% !important;
    min-height: 360px;
    border: 0;
}

@media screen and (max-width: 760px) {
    .wss-company-photo-section {
        padding: 20px;
        border-radius: 18px;
    }

    .wss-company-photos {
        grid-template-columns: 1fr;
    }

    .wss-company-photo-title,
    .wss-company-map-title {
        font-size: 22px;
    }

    .wss-company-map iframe {
        min-height: 260px;
    }
}