/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: 採用支援フリーランス向けランディングページ
Author: Your Name
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: astra-child
*/

/* =============================================
   カスタムプロパティ
   ============================================= */
:root {
    --hp-navy:        #1B3A5C;
    --hp-blue:        #2C6FAD;
    --hp-teal:        #0EA5A0;
    --hp-teal-light:  #5eeae0;
    --hp-line:        #06C755;
    --hp-amber:       #F5A623;
    --hp-text:        #1A2332;
    --hp-text-mid:    #4A5568;
    --hp-text-light:  #718096;
    --hp-bg:          #F7F9FC;
    --hp-white:       #FFFFFF;
    --hp-border:      #E2E8F0;
    --hp-shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --hp-shadow:      0 4px 24px rgba(0,0,0,0.09);
    --hp-shadow-lg:   0 10px 40px rgba(0,0,0,0.13);
    --hp-radius:      12px;
    --hp-radius-lg:   20px;
    --hp-max:         1100px;
    --hp-section:     96px;
    --hp-font:        'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =============================================
   Astra レイアウトリセット（フロントページのみ）
   ============================================= */
body.home .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

body.home #primary {
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
}

body.home .site-content {
    padding-top: 0 !important;
}

body.home {
    font-family: var(--hp-font);
    background: var(--hp-white);
    color: var(--hp-text);
}

/* =============================================
   ユーティリティ
   ============================================= */
.hp-container {
    max-width: var(--hp-max);
    margin: 0 auto;
    padding: 0 24px;
}

.hp-text-center { text-align: center; }

.hp-section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hp-teal);
    background: rgba(14,165,160,0.1);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.hp-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--hp-navy);
    line-height: 1.4;
    margin: 0 0 16px;
}

.hp-section-lead {
    font-size: 1rem;
    color: var(--hp-text-mid);
    line-height: 1.9;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* LINEボタン */
.hp-line-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-line);
    color: var(--hp-white) !important;
    font-family: var(--hp-font);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 20px rgba(6,199,85,0.35);
    border: none;
    cursor: pointer;
}

.hp-line-btn:hover {
    background: #05b34d;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(6,199,85,0.45);
}

.hp-line-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* =============================================
   HERO
   ============================================= */
.hp-hero {
    position: relative;
    background: linear-gradient(140deg, #0a1e33 0%, #1B3A5C 50%, #0c4d5e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 130px 0 100px;
}

/* ドット装飾 */
.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom right, rgba(0,0,0,0.6), transparent 70%);
}

/* 光彩グラデーション */
.hp-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,165,160,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--hp-max);
    margin: 0 auto;
    padding: 0 24px;
    max-width: 740px;
}

.hp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hp-hero-tag-dot {
    width: 7px;
    height: 7px;
    background: var(--hp-teal);
    border-radius: 50%;
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.hp-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    color: var(--hp-white);
    line-height: 1.25;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hp-hero-title em {
    font-style: normal;
    color: var(--hp-teal-light);
    position: relative;
}

.hp-hero-subtitle {
    font-size: clamp(0.92rem, 2vw, 1.08rem);
    color: rgba(255,255,255,0.72);
    line-height: 2;
    margin-bottom: 44px;
    max-width: 500px;
}

.hp-hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hp-hero-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.48);
}

/* スクロールインジケーター */
.hp-hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hp-hero-scroll-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
}

.hp-hero-scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0%   { transform: scaleY(1) translateY(0); opacity: 1; }
    100% { transform: scaleY(0.2) translateY(16px); opacity: 0; }
}

/* =============================================
   PROBLEMS
   ============================================= */
.hp-problems {
    background: var(--hp-bg);
    padding: var(--hp-section) 0;
}

.hp-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 820px;
    margin: 0 auto 40px;
}

.hp-problem-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hp-problem-card:hover {
    box-shadow: var(--hp-shadow);
    transform: translateY(-2px);
}

.hp-problem-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.hp-problem-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--hp-text-mid);
    line-height: 1.65;
    padding-top: 2px;
}

.hp-problems-resolve {
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(27,58,92,0.05), rgba(14,165,160,0.07));
    border: 1px solid rgba(14,165,160,0.25);
    border-radius: var(--hp-radius-lg);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.hp-problems-resolve p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-navy);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.hp-services {
    background: var(--hp-white);
    padding: var(--hp-section) 0;
}

.hp-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hp-service-card {
    background: var(--hp-bg);
    border-radius: var(--hp-radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.hp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--hp-teal), var(--hp-blue));
}

.hp-service-card:hover {
    background: var(--hp-white);
    box-shadow: var(--hp-shadow-lg);
    transform: translateY(-4px);
}

.hp-service-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.hp-service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hp-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.hp-service-desc {
    font-size: 0.88rem;
    color: var(--hp-text-mid);
    line-height: 1.85;
    margin: 0;
}

/* =============================================
   STATS
   ============================================= */
.hp-stats {
    background: linear-gradient(135deg, #0a1e33 0%, #1B3A5C 100%);
    padding: 80px 0;
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.hp-stat-item {
    padding: 52px 32px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.25s ease;
}

.hp-stat-item:last-child { border-right: none; }

.hp-stat-item:hover {
    background: rgba(255,255,255,0.04);
}

.hp-stat-number {
    display: block;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--hp-teal-light);
    line-height: 1;
    margin-bottom: 10px;
}

.hp-stat-suffix {
    font-size: 1.3rem;
    font-weight: 700;
}

.hp-stat-label {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* =============================================
   ABOUT
   ============================================= */
.hp-about {
    background: var(--hp-bg);
    padding: var(--hp-section) 0;
}

.hp-about-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 72px;
    align-items: center;
}

.hp-about-photo-wrap {
    position: relative;
}

.hp-about-photo-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--hp-blue), var(--hp-teal));
    border-radius: var(--hp-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: var(--hp-shadow-lg);
    overflow: hidden;
}

.hp-about-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-about-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 16px 20px;
    box-shadow: var(--hp-shadow);
    text-align: center;
    min-width: 100px;
}

.hp-about-badge-num {
    display: block;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--hp-navy);
    line-height: 1;
}

.hp-about-badge-text {
    display: block;
    font-size: 0.68rem;
    color: var(--hp-text-light);
    margin-top: 4px;
    white-space: nowrap;
}

.hp-about-name {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--hp-navy);
    margin: 12px 0 2px;
    line-height: 1.3;
}

.hp-about-role {
    font-size: 0.83rem;
    color: var(--hp-text-light);
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.hp-about-text {
    font-size: 0.93rem;
    color: var(--hp-text-mid);
    line-height: 2;
    margin-bottom: 20px;
}

.hp-about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.hp-about-tag {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    color: var(--hp-text-mid);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 100px;
}

/* =============================================
   PROCESS
   ============================================= */
.hp-process {
    background: var(--hp-white);
    padding: var(--hp-section) 0;
}

.hp-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    margin-top: 8px;
}

/* ステップ間の接続線 */
.hp-process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(12.5%);
    right: calc(12.5%);
    height: 2px;
    background: linear-gradient(90deg, var(--hp-teal), var(--hp-blue));
    z-index: 0;
}

.hp-process-step {
    text-align: center;
    padding: 0 16px 32px;
    position: relative;
    z-index: 1;
}

.hp-process-num {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--hp-teal), var(--hp-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 18px rgba(14,165,160,0.32);
    border: 3px solid var(--hp-white);
    outline: 2px solid rgba(14,165,160,0.3);
}

.hp-process-num span {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--hp-white);
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.3;
}

.hp-process-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--hp-navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.hp-process-desc {
    font-size: 0.82rem;
    color: var(--hp-text-light);
    line-height: 1.75;
    margin: 0;
}

/* =============================================
   FAQ
   ============================================= */
.hp-faq {
    background: var(--hp-bg);
    padding: var(--hp-section) 0;
}

.hp-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-faq-item {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    border: 1px solid var(--hp-border);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.hp-faq-item[open] {
    box-shadow: var(--hp-shadow-sm);
}

.hp-faq-item summary {
    list-style: none;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    font-size: 0.93rem;
    color: var(--hp-navy);
    user-select: none;
    transition: background 0.15s ease;
}

.hp-faq-item summary::-webkit-details-marker { display: none; }

.hp-faq-item summary:hover {
    background: rgba(14,165,160,0.04);
}

.hp-faq-toggler {
    width: 26px;
    height: 26px;
    background: rgba(14,165,160,0.1);
    color: var(--hp-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
    line-height: 1;
}

.hp-faq-item[open] .hp-faq-toggler {
    transform: rotate(45deg);
    background: rgba(14,165,160,0.15);
}

.hp-faq-answer {
    padding: 0 24px 22px;
    font-size: 0.9rem;
    color: var(--hp-text-mid);
    line-height: 1.85;
    border-top: 1px solid var(--hp-border);
    padding-top: 18px;
}

/* =============================================
   BLOG
   ============================================= */
.hp-blog {
    background: var(--hp-white);
    padding: var(--hp-section) 0;
}

.hp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hp-blog-card {
    border-radius: var(--hp-radius-lg);
    border: 1px solid var(--hp-border);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: var(--hp-white);
}

.hp-blog-card:hover {
    box-shadow: var(--hp-shadow-lg);
    transform: translateY(-4px);
}

.hp-blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}

.hp-blog-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--hp-bg);
    flex-shrink: 0;
}

.hp-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.hp-blog-card:hover .hp-blog-thumb img {
    transform: scale(1.04);
}

.hp-blog-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--hp-bg), #e8f0f8);
}

.hp-blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hp-blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hp-blog-meta time {
    font-size: 0.78rem;
    color: var(--hp-text-light);
    font-weight: 500;
}

.hp-blog-cat {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hp-teal);
    background: rgba(14,165,160,0.1);
    padding: 2px 10px;
    border-radius: 100px;
}

.hp-blog-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--hp-navy);
    line-height: 1.55;
    margin: 0;
    transition: color 0.2s ease;
}

.hp-blog-card:hover .hp-blog-title {
    color: var(--hp-teal);
}

.hp-blog-excerpt {
    font-size: 0.83rem;
    color: var(--hp-text-light);
    line-height: 1.75;
    margin: 0;
    flex: 1;
}

.hp-blog-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hp-teal);
    margin-top: 4px;
}

.hp-blog-all-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hp-navy);
    border: 2px solid var(--hp-border);
    padding: 12px 32px;
    border-radius: 100px;
    text-decoration: none !important;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.hp-blog-all-link:hover {
    border-color: var(--hp-teal);
    color: var(--hp-teal);
    background: rgba(14,165,160,0.04);
}

@media (max-width: 900px) {
    .hp-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .hp-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   FINAL CTA
   ============================================= */
.hp-cta {
    background: linear-gradient(140deg, #0a1e33 0%, #1B3A5C 50%, #0c4d5e 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hp-cta::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,165,160,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hp-cta-inner {
    position: relative;
    z-index: 1;
}

.hp-cta-title {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--hp-white);
    line-height: 1.4;
    margin-bottom: 20px;
}

.hp-cta-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.9;
    margin-bottom: 40px;
}

.hp-cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.hp-cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    font-weight: 500;
}

.hp-cta-dot {
    width: 6px;
    height: 6px;
    background: var(--hp-teal);
    border-radius: 50%;
    flex-shrink: 0;
}

.hp-cta-note {
    margin-top: 20px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

/* =============================================
   サービスページ 共通レイアウトリセット
   ============================================= */
body.page-template-page-service-video .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

body.page-template-page-service-video #primary {
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
}

body.page-template-page-service-video .site-content {
    padding-top: 0 !important;
}

body.page-template-page-service-video .ast-article-post,
body.page-template-page-service-video .entry-content,
body.page-template-page-service-video .entry-header,
body.page-template-page-service-video .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-page-service-video {
    font-family: var(--hp-font);
    background: var(--hp-white);
    color: var(--hp-text);
}

/* =============================================
   sv-HERO
   ============================================= */
.sv-hero {
    position: relative;
    background: linear-gradient(140deg, #0a1e33 0%, #1B3A5C 50%, #0c4d5e 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 130px 0 100px;
}

.sv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom right, rgba(0,0,0,0.6), transparent 70%);
}

.sv-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,165,160,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.sv-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto;
    padding: 0 24px;
}

.sv-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    color: var(--hp-white);
    line-height: 1.25;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.sv-hero-title em {
    font-style: normal;
    color: var(--hp-teal-light);
}

.sv-hero-subtitle {
    font-size: clamp(0.92rem, 2vw, 1.08rem);
    color: rgba(255,255,255,0.72);
    line-height: 2;
    margin-bottom: 44px;
    max-width: 500px;
}

/* =============================================
   sv-WHY VIDEO
   ============================================= */
.sv-why {
    background: var(--hp-bg);
    padding: var(--hp-section) 0;
}

.sv-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sv-why-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    padding: 36px 28px;
    position: relative;
    border: 1px solid var(--hp-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sv-why-card:hover {
    box-shadow: var(--hp-shadow-lg);
    transform: translateY(-4px);
}

.sv-why-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(14,165,160,0.12);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.sv-why-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
}

.sv-why-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.sv-why-desc {
    font-size: 0.88rem;
    color: var(--hp-text-mid);
    line-height: 1.85;
    margin: 0;
}

/* =============================================
   sv-SERVICE
   ============================================= */
.sv-service {
    background: var(--hp-white);
    padding: var(--hp-section) 0;
}

.sv-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.sv-service-card {
    background: var(--hp-bg);
    border-radius: var(--hp-radius-lg);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.sv-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--hp-teal), var(--hp-blue));
}

.sv-service-card:hover {
    background: var(--hp-white);
    box-shadow: var(--hp-shadow-lg);
    transform: translateY(-4px);
}

.sv-service-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
}

.sv-service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hp-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.sv-service-desc {
    font-size: 0.86rem;
    color: var(--hp-text-mid);
    line-height: 1.85;
    margin: 0;
}

.sv-service-note {
    background: rgba(14,165,160,0.06);
    border: 1px solid rgba(14,165,160,0.2);
    border-radius: var(--hp-radius);
    padding: 20px 28px;
    max-width: 760px;
    margin: 0 auto;
}

.sv-service-note p {
    font-size: 0.88rem;
    color: var(--hp-text-mid);
    margin: 0 0 6px;
    line-height: 1.7;
}

.sv-service-note p:last-child { margin-bottom: 0; }

/* =============================================
   sv-PRICE
   ============================================= */
.sv-price {
    background: var(--hp-bg);
    padding: var(--hp-section) 0;
}

.sv-price-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    overflow: hidden;
}

.sv-price-main {
    padding: 52px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sv-price-from {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hp-teal);
    text-transform: uppercase;
}

.sv-price-num {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--hp-navy);
    line-height: 1;
}

.sv-price-unit {
    font-size: 1.4rem;
    font-weight: 700;
}

.sv-price-note {
    font-size: 0.78rem;
    color: var(--hp-text-light);
}

.sv-price-divider {
    background: var(--hp-border);
    width: 1px;
}

.sv-price-detail {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.sv-price-detail-lead {
    font-size: 0.9rem;
    color: var(--hp-text-mid);
    line-height: 1.85;
    margin: 0;
}

.sv-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sv-price-list li {
    font-size: 0.88rem;
    color: var(--hp-text-mid);
    line-height: 1.6;
}

/* =============================================
   sv-FLOW
   ============================================= */
.sv-flow {
    background: var(--hp-white);
    padding: var(--hp-section) 0;
}

.sv-flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    margin-top: 8px;
}

.sv-flow-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: linear-gradient(90deg, var(--hp-teal), var(--hp-blue));
    z-index: 0;
}

.sv-flow-step {
    text-align: center;
    padding: 0 20px 32px;
    position: relative;
    z-index: 1;
}

.sv-flow-num {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--hp-teal), var(--hp-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 18px rgba(14,165,160,0.32);
    border: 3px solid var(--hp-white);
    outline: 2px solid rgba(14,165,160,0.3);
}

.sv-flow-num span {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--hp-white);
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.3;
}

.sv-flow-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hp-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.sv-flow-desc {
    font-size: 0.85rem;
    color: var(--hp-text-light);
    line-height: 1.8;
    margin: 0;
}

/* =============================================
   カスタムセクション（ブロックエディター挿入）
   ============================================= */
.hp-custom-section {
    padding: var(--hp-section) 0;
    background: var(--hp-white);
}

.hp-custom-section:nth-child(even) {
    background: var(--hp-bg);
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 960px) {
    .sv-why-grid,
    .sv-service-grid {
        grid-template-columns: 1fr;
    }

    .sv-price-card {
        grid-template-columns: 1fr;
    }

    .sv-price-divider {
        width: 100%;
        height: 1px;
    }

    .sv-price-main {
        padding: 40px 32px;
    }

    .sv-price-detail {
        padding: 40px 32px;
    }

    .sv-flow-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sv-flow-steps::before { display: none; }
}

@media (max-width: 640px) {
    .sv-hero {
        padding: 110px 0 90px;
        text-align: center;
        min-height: auto;
    }

    .sv-hero .hp-hero-cta {
        justify-content: center;
    }

    .sv-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 900px) {
    .hp-about-inner {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .hp-about-photo-wrap {
        max-width: 240px;
        margin: 0 auto;
    }

    .hp-stats-grid {
        grid-template-columns: 1fr;
    }

    .hp-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 40px 24px;
    }

    .hp-stat-item:last-child { border-bottom: none; }

    .hp-process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }

    .hp-process-steps::before { display: none; }
}

@media (max-width: 640px) {
    :root {
        --hp-section: 64px;
    }

    .hp-hero {
        padding: 110px 0 90px;
        text-align: center;
        min-height: auto;
    }

    .hp-hero-cta {
        justify-content: center;
    }

    .hp-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hp-problems-grid,
    .hp-services-grid {
        grid-template-columns: 1fr;
    }

    .hp-problems-resolve {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .hp-process-steps {
        grid-template-columns: 1fr;
    }

    .hp-cta-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hp-line-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ==============================================
   サービスページ（共通テンプレート）レイアウトリセット
   ============================================== */
body.page-template-page-service-common .ast-container,
body.page-template-page-service-common #primary,
body.page-template-page-service-common .site-content,
body.page-template-page-service-common .ast-article-post,
body.page-template-page-service-common .entry-content,
body.page-template-page-service-common .entry-header,
body.page-template-page-service-common .ast-article-single {
    max-width: 100% !important;
    padding: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    float: none !important;
}

body.page-template-page-service-common .site-header,
body.page-template-page-service-common .ast-above-header-wrap,
body.page-template-page-service-common .site-footer {
    display: none !important;
}

body.page-template-page-service-common {
    font-family: var(--ys-font-sans, 'Noto Sans JP', sans-serif);
    background-color: #F8FAFC;
    color: #334155;
}

/* ヒーローの高さをサービスページ用に調整 */
.sc-hero {
    min-height: 70vh !important;
}

/* サービスページ：ヒーロー背景を fixed → absolute に変更して他セクションへの透過を防ぐ */
body.page-template-page-service-common .ys-hero-bg,
body.page-template-page-service-common .ys-hero-overlay {
    position: absolute;
}

/* サービスページ：ヒーローオーバーレイを全面均一に濃くして可読性を確保 */
body.page-template-page-service-common .ys-hero-overlay {
    background: rgba(15, 23, 42, 0.72);
}

/* サービスページ：ヒーロータイトル・サブタイトルにテキストシャドウ */
body.page-template-page-service-common .ys-hero-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

body.page-template-page-service-common .ys-hero-subtitle {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* サービスページ：CTAセクションの背景を確実に上書き（固定背景の透過防止） */
body.page-template-page-service-common .ys-contact {
    background-color: var(--ys-primary);
    isolation: isolate;
}

/* Jicooカード：ダーク背景上での視認性向上 */
.ys-cta-card-jicoo {
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.ys-cta-card-jicoo .ys-cta-card-label,
.ys-cta-card-jicoo .ys-cta-card-title,
.ys-cta-card-jicoo .ys-cta-card-desc,
.ys-cta-card-jicoo .ys-cta-card-arrow {
    color: var(--ys-primary) !important;
}

/* ==============================================
   ② 共感セクション
   ============================================== */
.sc-empathy {
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.sc-empathy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sc-empathy-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: #334155;
}

/* ==============================================
   ③ 問題提起セクション
   ============================================== */
.sc-problem {
    background-color: #F8FAFC;
    position: relative;
    z-index: 1;
}

.sc-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
}

.sc-problem-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sc-problem-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}

.sc-problem-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.sc-problem-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: #4A5568;
    line-height: 1.65;
    padding-top: 2px;
}

/* ==============================================
   ④ 解決策セクション
   ============================================== */
.sc-solution {
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.sc-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sc-solution-card {
    background: #F8FAFC;
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.sc-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #C5A059, #0F172A);
}

.sc-solution-card:hover {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.13);
    transform: translateY(-4px);
}

.sc-solution-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
}

.sc-solution-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sc-solution-desc {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.85;
    margin: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .sc-problem-grid,
    .sc-solution-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   yuudai.site フロントページ デザイン（ys-）
   ============================================== */

/* CSS変数（全ページ共通） */
:root {
    --ys-primary:       #0F172A;
    --ys-primary-light: #1E293B;
    --ys-accent:        #C5A059;
    --ys-accent-hover:  #D6B36A;
    --ys-text:          #334155;
    --ys-text-light:    #64748B;
    --ys-bg:            #F8FAFC;
    --ys-white:         #FFFFFF;
    --ys-font-sans:     'Noto Sans JP', sans-serif;
    --ys-font-serif:    'Noto Serif JP', serif;
    --ys-shadow-sm:     0 1px 2px 0 rgb(0 0 0 / 0.05);
    --ys-shadow-md:     0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --ys-shadow-lg:     0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --ys-radius-md:     0.5rem;
    --ys-radius-lg:     1rem;
}

/* Astraのヘッダー・フッターを非表示（フロントページのみ） */
body.home .site-header,
body.home .ast-above-header-wrap,
body.home .ast-below-header-wrap {
    display: none !important;
}

body.home .site-footer {
    display: none !important;
}

body.home .site-content,
body.home #primary,
body.home #ys-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.home {
    font-family: var(--ys-font-sans);
    background-color: var(--ys-bg);
    color: var(--ys-text);
    line-height: 1.6;
}

body.home h1,
body.home h2,
body.home h3,
body.home h4,
body.home h5,
body.home h6 {
    font-family: var(--ys-font-serif);
    color: var(--ys-primary);
    line-height: 1.2;
}

/* ys-コンテナ */
.ys-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ys-セクション */
.ys-section {
    padding: 5rem 0;
}

.ys-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ys-section-title {
    font-family: var(--ys-font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ys-primary);
}

.ys-section-subtitle {
    color: var(--ys-accent);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ys-ボタン */
.ys-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-family: var(--ys-font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    border: none;
}

.ys-btn-primary {
    background-color: var(--ys-accent);
    color: var(--ys-white) !important;
}

.ys-btn-primary:hover {
    background-color: var(--ys-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--ys-shadow-md);
    color: var(--ys-white) !important;
}

.ys-btn-outline {
    border: 1px solid var(--ys-accent);
    color: var(--ys-accent) !important;
    background: transparent;
}

.ys-btn-outline:hover {
    background-color: var(--ys-accent);
    color: var(--ys-white) !important;
}

.ys-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* フェードイン */
.ys-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ys-fade-in.ys-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   カスタムヘッダー
   ============================================== */
.ys-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.admin-bar .ys-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .ys-header {
        top: 46px;
    }
}

.ys-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ys-logo {
    font-family: var(--ys-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ys-primary);
    text-decoration: none;
}

.ys-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ys-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ys-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ys-nav a:hover {
    color: var(--ys-accent);
}

/* ==============================================
   HERO
   ============================================== */
.ys-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--ys-white);
    overflow: hidden;
}

.ys-hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(140deg, #0F172A 0%, #1E293B 60%, #0c3547 100%);
}

.ys-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.ys-hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.4));
    z-index: -1;
}

.ys-hero-content {
    width: 100%;
    max-width: 800px;
    padding-top: 80px;
}

.ys-hero-title {
    font-family: var(--ys-font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--ys-white) !important;
}

.ys-hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.8;
    color: var(--ys-white);
}

/* ==============================================
   ABOUT
   ============================================== */
.ys-about {
    background-color: var(--ys-white);
    position: relative;
    z-index: 1;
}

.ys-about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ys-about-content p {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--ys-text);
    margin-bottom: 1.5rem;
}

.ys-about-content p:last-child {
    margin-bottom: 0;
}

/* ==============================================
   SERVICES
   ============================================== */
.ys-services {
    background-color: var(--ys-bg);
    position: relative;
    z-index: 1;
}

.ys-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ys-service-card {
    background-color: var(--ys-white);
    border-radius: var(--ys-radius-lg);
    overflow: hidden;
    box-shadow: var(--ys-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ys-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ys-shadow-lg);
}

.ys-service-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.ys-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.ys-service-card:hover .ys-service-image img {
    transform: scale(1.05);
}

.ys-service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.ys-service-body {
    padding: 2rem;
}

.ys-service-body h3 {
    font-family: var(--ys-font-serif);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ys-accent);
    display: inline-block;
    color: var(--ys-primary);
}

.ys-service-body p {
    color: var(--ys-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.ys-service-more {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ys-accent) !important;
    text-decoration: none !important;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.ys-service-more:hover {
    opacity: 0.75;
}

.ys-services-more {
    text-align: center;
}

/* ==============================================
   ACHIEVEMENTS
   ============================================== */
.ys-achievements {
    background-color: var(--ys-white);
    position: relative;
    z-index: 1;
}

.ys-achievements-content {
    max-width: 800px;
    margin: 0 auto;
}

.ys-achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ys-achievements-list li {
    display: flex;
    align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.ys-achievements-list li:first-child {
    border-top: 1px solid #e2e8f0;
}

.ys-achievement-date {
    font-weight: 700;
    color: var(--ys-accent);
    min-width: 180px;
    flex-shrink: 0;
    font-family: var(--ys-font-sans);
}

.ys-achievement-detail {
    color: var(--ys-text);
    line-height: 1.8;
}

/* ==============================================
   CONTACT
   ============================================== */
.ys-contact {
    background-color: var(--ys-primary);
    color: var(--ys-white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.ys-contact .ys-section-subtitle {
    color: var(--ys-accent);
}

.ys-contact-lead {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* CTAカード */
.ys-cta-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto 3rem;
}

.ys-cta-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1.75rem;
    border-radius: var(--ys-radius-lg);
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ys-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.ys-cta-card-line {
    background: #06C755;
    color: #fff !important;
}

.ys-cta-card-jicoo {
    background: var(--ys-white);
    color: var(--ys-primary) !important;
    border: 2px solid rgba(255,255,255,0.2);
}

.ys-cta-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ys-cta-card-line .ys-cta-card-icon {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.ys-cta-card-jicoo .ys-cta-card-icon {
    background: rgba(197,160,89,0.1);
    border-radius: 50%;
    color: var(--ys-accent);
}

.ys-cta-card-icon svg {
    width: 28px;
    height: 28px;
}

.ys-cta-card-body {
    flex: 1;
}

.ys-cta-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.75;
    margin-bottom: 0.25rem;
}

.ys-cta-card-jicoo .ys-cta-card-label {
    color: var(--ys-text-light);
}

.ys-cta-card-title {
    font-family: var(--ys-font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ys-cta-card-jicoo .ys-cta-card-title {
    color: var(--ys-primary);
}

.ys-cta-card-desc {
    font-size: 0.82rem;
    line-height: 1.7;
    opacity: 0.85;
}

.ys-cta-card-jicoo .ys-cta-card-desc {
    color: var(--ys-text-light);
    opacity: 1;
}

.ys-cta-card-arrow {
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ys-cta-card:hover .ys-cta-card-arrow {
    transform: translateX(4px);
}

.ys-contact-form-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    background-color: var(--ys-white);
    padding: 3rem;
    border-radius: var(--ys-radius-lg);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    color: var(--ys-text);
    text-align: left;
}

.ys-form-group {
    margin-bottom: 1.5rem;
}

.ys-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ys-primary);
}

.ys-required {
    color: #ef4444;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    font-weight: normal;
    background-color: #fee2e2;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.ys-form-input,
.ys-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--ys-radius-md);
    font-family: var(--ys-font-sans);
    font-size: 1rem;
    color: var(--ys-text);
    background-color: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ys-form-input:focus,
.ys-form-textarea:focus {
    outline: none;
    border-color: var(--ys-accent);
    box-shadow: 0 0 0 3px rgba(197,160,89,0.2);
    background-color: var(--ys-white);
}

.ys-form-textarea {
    resize: vertical;
}

.ys-radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ys-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    gap: 0.5rem;
    color: var(--ys-text);
}

.ys-radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin: 0;
    outline: none;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ys-radio-label input[type="radio"]:checked {
    border-color: var(--ys-accent);
}

.ys-radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.625rem;
    height: 0.625rem;
    background-color: var(--ys-accent);
    border-radius: 50%;
}

.ys-form-actions {
    margin-top: 2rem;
    text-align: center;
}

.ys-form-actions .ys-btn {
    width: 100%;
    max-width: 300px;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: var(--ys-radius-md);
}

.ys-form-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 1rem 1.25rem;
    border-radius: var(--ys-radius-md);
    margin-bottom: 1.5rem;
}

.ys-form-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 1rem 1.25rem;
    border-radius: var(--ys-radius-md);
    margin-bottom: 1.5rem;
}

.ys-contact-tel {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.ys-contact-tel-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ys-white) !important;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.ys-contact-tel-link:hover {
    color: var(--ys-accent) !important;
}

.ys-contact-tel-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.4rem;
}

/* ==============================================
   カスタムフッター
   ============================================== */
.ys-footer {
    background-color: var(--ys-primary-light);
    color: var(--ys-text-light);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* ==============================================
   Back to Top
   ============================================== */
.ys-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--ys-primary);
    color: var(--ys-white);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--ys-shadow-md);
}

.ys-back-to-top.ys-visible {
    opacity: 1;
    visibility: visible;
}

.ys-back-to-top:hover {
    background-color: var(--ys-accent);
    transform: translateY(-5px);
}

/* ==============================================
   スティッキーフッター（モバイルのみ）
   ============================================== */
.ys-sticky-footer {
    display: none;
}

/* ==============================================
   レスポンシブ
   ============================================== */
@media (max-width: 768px) {
    .ys-header-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ys-nav ul {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .ys-hero-title {
        font-size: 2.25rem;
    }

    .ys-section-title {
        font-size: 2rem;
    }

    .ys-services-grid {
        grid-template-columns: 1fr;
    }

    .ys-achievements-list li {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ys-achievement-date {
        min-width: auto;
    }

    .ys-cta-cards {
        grid-template-columns: 1fr;
    }

    .ys-contact-form-container {
        padding: 2rem 1.5rem;
    }

    .ys-back-to-top {
        bottom: 90px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .ys-sticky-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(255,255,255,0.95);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        z-index: 999;
        display: flex;
        gap: 10px;
        justify-content: space-between;
    }

    .ys-sticky-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 12px;
        font-weight: 700;
        border-radius: 8px;
        font-size: 0.9rem;
        gap: 6px;
        text-decoration: none !important;
        transition: opacity 0.3s;
    }

    .ys-sticky-btn-tel {
        background-color: var(--ys-white);
        color: var(--ys-primary) !important;
        border: 2px solid var(--ys-primary);
    }

    .ys-sticky-btn-line {
        background-color: #06C755;
        color: var(--ys-white) !important;
        border: 2px solid #06C755;
    }

    .ys-sticky-btn:hover {
        opacity: 0.9;
    }

    body.home {
        padding-bottom: 80px;
    }

    .ys-footer {
        padding-bottom: calc(2rem + 80px);
    }
}
