/* ============================================================
   Phyca株式会社 - Design System v2 (GeneratePress)
   File: wp-content/mu-plugins/phyca-custom.css
   ============================================================ */

/* ============================================================
   0. Global Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box !important; }

/* ============================================================
   0.1 CSS Custom Properties
   ============================================================ */
:root {
    --phyca-navy:       #183868;
    --phyca-teal:       #1A9BA5;
    --phyca-green:      #73BD7C;
    --phyca-cyan:       #2BBBC9;
    --phyca-deep-blue:  #0D2B4E;

    --phyca-gradient:       linear-gradient(135deg, #183868 0%, #1A9BA5 50%, #73BD7C 100%);
    --phyca-gradient-subtle: linear-gradient(135deg, rgba(24,56,104,0.04) 0%, rgba(26,155,165,0.04) 50%, rgba(115,189,124,0.04) 100%);
    --phyca-gradient-text:  linear-gradient(90deg, #183868 0%, #1A9BA5 60%, #73BD7C 100%);

    --phyca-white:      #FFFFFF;
    --phyca-off-white:  #F7F9FB;
    --phyca-light-gray: #EEF2F5;
    --phyca-gray:       #6B7280;
    --phyca-dark:       #1A1A2E;
    --phyca-text:       #2D3748;
    --phyca-text-light: #718096;

    --phyca-sans:  'Noto Sans JP','Hiragino Sans','Hiragino Kaku Gothic ProN','Yu Gothic Medium',Meiryo,sans-serif;
    --phyca-heading: 'Archivo Black','Archivo','Noto Sans JP',sans-serif;
    --phyca-heading-en: 'Archivo','Inter','Noto Sans JP',sans-serif;

    --phyca-section-pad: 100px;
    --phyca-content-max: 1100px;

    --phyca-shadow-sm:  0 1px 3px rgba(24,56,104,0.08);
    --phyca-shadow-md:  0 4px 20px rgba(24,56,104,0.08);
    --phyca-shadow-lg:  0 10px 40px rgba(24,56,104,0.12);

    --phyca-radius:     8px;
    --phyca-radius-lg:  16px;
}

/* ============================================================
   0.5 GeneratePress Overrides
   ============================================================ */
.page .site-content, .page .content-area, .page .inside-article,
.page .entry-content, .page .site-main, .page .grid-container {
    max-width: 100% !important; width: 100% !important;
    padding: 0 !important; margin: 0 !important;
}
/* Full-width sections — use 100% not 100vw to avoid scrollbar overflow */
.entry-content > .phyca-hero, .entry-content > .phyca-section,
.entry-content > .phyca-cta, .entry-content > .phyca-service-detail,
.entry-content > .phyca-page-header {
    width: 100%; max-width: 100%;
}
html, body { overflow-x: hidden; }
body.page .entry-header, body.page .entry-meta, body.page .post-navigation {
    display: none !important;
}

/* Header — Elevated Nav */
.site-header {
    border-bottom: none;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s ease;
    box-shadow: 0 1px 0 rgba(24,56,104,0.06);
}
.site-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(24,56,104,0.1);
}
.inside-header { max-width: 1200px; margin: 0 auto; }
/* GeneratePress header: logo icon + "Phyca" text + nav in single row */
.inside-header {
    display: flex !important; align-items: center !important;
    flex-direction: row !important; gap: 0 !important;
    padding: 16px 40px !important;
}
/* Hide text branding — we render "Phyca" via site-logo::after instead */
.site-branding {
    position: absolute !important; width: 1px !important; height: 1px !important;
    overflow: hidden !important; clip: rect(0,0,0,0) !important;
}
/* Logo area: icon + "Phyca" text as pseudo-element */
.site-logo { order: -1 !important; flex-shrink: 0 !important; }
.site-logo a {
    display: flex !important; align-items: center !important; gap: 10px !important;
    text-decoration: none !important;
}
.site-logo img, .site-logo .header-image {
    max-height: 32px !important; width: auto !important;
}
.site-logo a::after {
    content: 'Phyca';
    font-family: var(--phyca-heading) !important; font-size: 18px;
    font-weight: 700; letter-spacing: 0.06em;
    background: var(--phyca-gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; white-space: nowrap; margin-right: 48px;
}
.site-logo img, .custom-logo, .header-image { max-height: 36px !important; width: auto !important; }
.main-navigation .main-nav ul li a {
    font-family: var(--phyca-sans) !important; font-size: 13px !important;
    font-weight: 500 !important; letter-spacing: 0.08em !important;
    color: var(--phyca-navy) !important;
    padding: 8px 16px !important; border-radius: 6px;
    transition: all 0.25s ease !important;
    background: transparent !important;
}
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a {
    color: #fff !important; background: var(--phyca-navy) !important;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: #fff !important; background: var(--phyca-teal) !important;
}

/* Footer */
.site-footer { background: var(--phyca-deep-blue) !important; }
.site-footer, .site-footer a, .site-info, .site-info a {
    color: rgba(255,255,255,0.6) !important; font-size: 13px;
}
.site-footer a:hover { color: var(--phyca-cyan) !important; }

/* Footer Sitemap */
.phyca-footer-sitemap {
    background: var(--phyca-deep-blue); padding: 60px 40px 40px; border-top: 1px solid rgba(255,255,255,0.08);
}
.phyca-footer-sitemap__inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.phyca-footer-sitemap__brand { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.phyca-footer-sitemap__logo-wrap { display: flex; justify-content: center; width: 100%; }
.phyca-footer-sitemap__logo {
    width: 40px !important; height: auto !important;
    max-height: none !important; object-fit: contain !important;
}
.phyca-footer-sitemap__name {
    font-family: var(--phyca-heading); font-size: 20px; font-weight: 700;
    color: #fff !important; text-align: center; width: 100%;
}
.phyca-footer-sitemap__tagline {
    font-size: 13px; color: rgba(255,255,255,0.5) !important; line-height: 1.6; margin-bottom: 12px;
    text-align: center; width: 100%;
}
.phyca-footer-sitemap__company {
    font-size: 12px; color: rgba(255,255,255,0.4) !important;
    text-align: center; width: 100%;
}
.phyca-footer-sitemap__col h4 {
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8) !important;
    letter-spacing: 0.08em; margin-bottom: 16px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.phyca-footer-sitemap__col ul { list-style: none; margin: 0; padding: 0; }
.phyca-footer-sitemap__col ul li { margin-bottom: 10px; }
.phyca-footer-sitemap__col ul li a {
    font-size: 13px !important; color: rgba(255,255,255,0.55) !important;
    text-decoration: none !important; transition: color 0.2s ease;
}
.phyca-footer-sitemap__col ul li a:hover { color: var(--phyca-cyan) !important; }

@media (max-width: 768px) {
    .phyca-footer-sitemap { padding: 40px 20px 30px; }
    .phyca-footer-sitemap__inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .phyca-footer-sitemap__brand { grid-column: 1 / -1; }
}

/* ============================================================
   1. Base
   ============================================================ */
html body {
    font-family: var(--phyca-sans) !important;
    color: var(--phyca-text); background: var(--phyca-white);
    line-height: 1.8; letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}
*::selection { background: rgba(26,155,165,0.2); }

/* ============================================================
   2. Hero
   ============================================================ */
.phyca-hero {
    position: relative; min-height: 85vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--phyca-deep-blue);
}
.phyca-hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.phyca-hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.35;
}
.phyca-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,43,78,0.6) 0%, rgba(13,43,78,0.3) 50%, rgba(13,43,78,0.7) 100%);
}
.phyca-hero__grid {
    position: absolute; inset: 0; z-index: 1;
    background-image:
        linear-gradient(rgba(24,56,104,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24,56,104,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
/* Wave overlay at bottom of hero */
.phyca-hero__waves {
    position: absolute; bottom: -2px; left: 0; right: 0; z-index: 4;
    width: 100%; height: 120px; overflow: hidden;
}
.phyca-hero__waves svg {
    display: block; width: 200%; height: 100%; min-width: 800px;
}
.phyca-hero__waves { overflow: hidden; }
.phyca-hero__waves .wave-1 { animation: phyca-wave 8s ease-in-out infinite; }
.phyca-hero__waves .wave-2 { animation: phyca-wave 6s ease-in-out infinite reverse; animation-delay: -2s; }
.phyca-hero__waves .wave-3 { animation: phyca-wave 10s ease-in-out infinite; animation-delay: -4s; }
@keyframes phyca-wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
}
.phyca-hero__accent {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: var(--phyca-gradient); z-index: 5;
}
/* Subtle particle float */
.phyca-hero__particles {
    position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.phyca-hero__particle {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,0.15);
    animation: phyca-float linear infinite;
}
@keyframes phyca-float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
.phyca-hero__content {
    position: relative; z-index: 3; text-align: center;
    padding: 40px 20px; max-width: 900px; margin: 0 auto;
}
.phyca-hero__logo {
    width: 100px; height: auto; margin-bottom: 32px;
    animation: phyca-fadeInUp 1s ease-out;
}
.phyca-hero__tagline {
    font-size: 40px; font-weight: 700; color: #fff;
    line-height: 1.5; margin-bottom: 20px; letter-spacing: 0.06em;
    animation: phyca-fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.phyca-hero__sub {
    font-size: 15px; color: rgba(255,255,255,0.85); line-height: 2;
    margin-bottom: 48px; animation: phyca-fadeInUp 1s ease-out 0.4s both;
}
.phyca-hero__cta {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    animation: phyca-fadeInUp 1s ease-out 0.6s both;
}

/* ============================================================
   3. Buttons
   ============================================================ */
.phyca-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; font-family: var(--phyca-sans);
    font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
    border-radius: var(--phyca-radius); text-decoration: none !important;
    transition: all 0.3s ease; cursor: pointer; border: none;
}
.phyca-btn--primary {
    background: var(--phyca-gradient); color: #fff !important;
    box-shadow: 0 4px 15px rgba(26,155,165,0.3);
}
.phyca-btn--primary:hover {
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,155,165,0.4);
    color: #fff !important;
}
.phyca-btn--outline {
    background: transparent; color: var(--phyca-navy) !important;
    border: 2px solid var(--phyca-navy);
}
.phyca-btn--outline:hover {
    background: var(--phyca-navy); color: #fff !important;
}
.phyca-hero .phyca-btn--outline {
    color: #fff !important; border-color: rgba(255,255,255,0.7);
}
.phyca-hero .phyca-btn--outline:hover {
    background: rgba(255,255,255,0.15); border-color: #fff;
    color: #fff !important;
}

/* ============================================================
   4. Section Layout
   ============================================================ */
.phyca-section {
    padding: var(--phyca-section-pad) 20px; position: relative;
}
.phyca-section--alt { background: var(--phyca-off-white); }
.phyca-section__inner { max-width: var(--phyca-content-max); margin: 0 auto; }
.phyca-section__title { text-align: center; margin-bottom: 16px; }
.phyca-section__title-en {
    display: block; font-family: var(--phyca-heading);
    font-size: 13px; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--phyca-teal); margin-bottom: 8px;
}
.phyca-section__title-ja {
    display: block; font-size: 32px; font-weight: 700;
    color: var(--phyca-navy); letter-spacing: 0.04em;
}
.phyca-section__desc {
    text-align: center; max-width: 700px; margin: 0 auto 60px;
    color: var(--phyca-gray); font-size: 15px; line-height: 1.9;
}

/* ============================================================
   5. Service Cards (Top Page) — No-image design
   ============================================================ */
.phyca-services {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 48px;
}
.phyca-service-card {
    background: var(--phyca-white); border-radius: var(--phyca-radius-lg);
    overflow: hidden; box-shadow: var(--phyca-shadow-md);
    transition: all 0.4s ease; text-decoration: none !important;
    color: inherit !important; position: relative;
    border-top: 4px solid transparent;
}
.phyca-service-card:nth-child(1) { border-top-color: var(--phyca-navy); }
.phyca-service-card:nth-child(2) { border-top-color: var(--phyca-teal); }
.phyca-service-card:nth-child(3) { border-top-color: var(--phyca-green); }
.phyca-service-card:hover {
    transform: translateY(-8px); box-shadow: var(--phyca-shadow-lg);
}
.phyca-service-card__img {
    position: relative; overflow: hidden; aspect-ratio: 16/10;
}
.phyca-service-card__img img {
    width: 100%; max-width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.phyca-service-card:hover .phyca-service-card__img img { transform: scale(1.05); }
.phyca-service-card__body { padding: 36px 28px; }
.phyca-service-card__img .phyca-service-card__num {
    position: absolute; bottom: 12px; left: 16px; z-index: 2;
    font-family: var(--phyca-heading); font-size: 11px; font-weight: 700;
    letter-spacing: 0.15em; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.phyca-service-card__num {
    font-family: var(--phyca-heading); font-size: 11px; font-weight: 700;
    letter-spacing: 0.15em; color: var(--phyca-teal); margin-bottom: 16px;
    display: block;
}
.phyca-service-card__title {
    font-size: 20px; font-weight: 700; color: var(--phyca-navy) !important;
    margin-bottom: 16px; line-height: 1.5;
}
.phyca-service-card__text {
    font-size: 14px; color: var(--phyca-gray) !important; line-height: 1.9;
}
.phyca-service-card__link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 20px; font-size: 14px; font-weight: 600;
    color: var(--phyca-teal) !important; text-decoration: none !important;
}
.phyca-service-card__link::after { content: '\2192'; transition: transform 0.3s ease; }
.phyca-service-card:hover .phyca-service-card__link::after { transform: translateX(4px); }

/* ============================================================
   6. About / Phyca Name
   ============================================================ */
.phyca-about-name { text-align: center; margin-bottom: 60px; }
.phyca-about-name__title {
    font-family: var(--phyca-heading); font-size: 48px; font-weight: 700;
    background: var(--phyca-gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 24px;
}
.phyca-about-name__desc {
    font-size: 15px; color: var(--phyca-gray); line-height: 2;
    max-width: 700px; margin: 0 auto;
}

/* ============================================================
   7. PMVV Cards
   ============================================================ */
.phyca-pmvv {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 24px; margin-top: 48px;
}
.phyca-pmvv__item {
    background: var(--phyca-white); border-radius: var(--phyca-radius-lg);
    padding: 36px; border-left: 4px solid;
    box-shadow: var(--phyca-shadow-sm); transition: box-shadow 0.3s ease;
}
.phyca-pmvv__item:hover { box-shadow: var(--phyca-shadow-md); }
.phyca-pmvv__item--purpose  { border-left-color: var(--phyca-navy); }
.phyca-pmvv__item--mission  { border-left-color: var(--phyca-teal); }
.phyca-pmvv__item--vision   { border-left-color: var(--phyca-cyan); }
.phyca-pmvv__item--values   { border-left-color: var(--phyca-green); }
.phyca-pmvv__label {
    font-family: var(--phyca-heading); font-size: 12px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px;
}
.phyca-pmvv__item--purpose .phyca-pmvv__label { color: var(--phyca-navy); }
.phyca-pmvv__item--mission .phyca-pmvv__label { color: var(--phyca-teal); }
.phyca-pmvv__item--vision .phyca-pmvv__label  { color: var(--phyca-cyan); }
.phyca-pmvv__item--values .phyca-pmvv__label  { color: var(--phyca-green); }
.phyca-pmvv__text { font-size: 15px; color: var(--phyca-text); line-height: 1.9; }

/* ============================================================
   8. Company Table
   ============================================================ */
.phyca-company-table { width: 100%; border-collapse: collapse; margin: 40px 0; }
.phyca-company-table th, .phyca-company-table td {
    padding: 20px 24px; font-size: 15px; line-height: 1.8;
    border-bottom: 1px solid var(--phyca-light-gray);
    text-align: left; vertical-align: top;
}
.phyca-company-table th {
    width: 200px; font-weight: 600; color: var(--phyca-navy);
    background: var(--phyca-off-white); white-space: nowrap;
}
.phyca-company-table td { color: var(--phyca-text); }

/* ============================================================
   9. Service Detail Page — No-image design
   ============================================================ */
.phyca-service-detail { margin: 0; }
.phyca-service-detail__section {
    padding: 80px 20px; position: relative; overflow: hidden;
}
.phyca-service-detail__section:nth-child(odd) { background: var(--phyca-white); }
.phyca-service-detail__section:nth-child(even) { background: var(--phyca-off-white); }
/* Inner wrapper: 2-column grid (image + text) */
.phyca-service-detail__inner {
    max-width: var(--phyca-content-max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
/* Flip even sections */
.phyca-service-detail__section:nth-child(even) .phyca-service-detail__img { order: 2; }
/* Decorative gradient bar */
.phyca-service-detail__section::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 5px; height: 100%; background: var(--phyca-gradient);
}
.phyca-service-detail__img {
    border-radius: var(--phyca-radius-lg); overflow: hidden;
}
.phyca-service-detail__img img {
    width: 100%; height: auto; display: block;
    aspect-ratio: 4/3; object-fit: cover;
}
.phyca-service-detail__num {
    font-family: var(--phyca-heading); font-size: 13px; font-weight: 600;
    letter-spacing: 0.15em; color: var(--phyca-teal); margin-bottom: 16px;
}
.phyca-service-detail__title {
    font-size: 28px; font-weight: 700; color: var(--phyca-navy);
    margin-bottom: 24px; line-height: 1.5;
}
.phyca-service-detail__text {
    font-size: 15px; color: var(--phyca-text); line-height: 2.2;
    margin-bottom: 24px; max-width: 800px;
}
.phyca-service-detail__list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.phyca-service-detail__list li {
    position: relative; padding-left: 24px;
    font-size: 14px; color: var(--phyca-text); line-height: 1.8;
}
.phyca-service-detail__list li::before {
    content: ''; position: absolute; left: 0; top: 11px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--phyca-gradient);
}

/* ============================================================
   10. Message Page
   ============================================================ */
.phyca-message { max-width: 780px; margin: 0 auto; }
.phyca-message__body { font-size: 16px; line-height: 2.2; color: var(--phyca-text); }
.phyca-message__body p { margin-bottom: 28px; }
.phyca-message__body h3 {
    font-size: 20px; font-weight: 700; color: var(--phyca-navy); margin: 40px 0 16px;
}
.phyca-message__body ul { margin: 20px 0; padding-left: 0; list-style: none; }
.phyca-message__body ul li {
    position: relative; padding-left: 24px; margin-bottom: 12px;
}
.phyca-message__body ul li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 8px; height: 2px; background: var(--phyca-teal);
}
.phyca-message__sign {
    text-align: right; margin-top: 60px; font-size: 15px; color: var(--phyca-navy);
    position: relative; z-index: 1; background: var(--phyca-white);
    padding: 24px; border-radius: var(--phyca-radius-lg);
}
.phyca-message__sign-company { font-size: 14px; color: var(--phyca-text); margin-bottom: 4px; }
.phyca-message__sign-title { font-size: 13px; color: var(--phyca-gray); margin-bottom: 4px; }
.phyca-message__sign-name { font-size: 22px; font-weight: 700; letter-spacing: 0.1em; }

/* ============================================================
   11. Contact Form 7
   ============================================================ */
.phyca-contact { max-width: 700px; margin: 0 auto; }
.phyca-form-group { margin-bottom: 28px; }
.phyca-form-label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--phyca-navy); margin-bottom: 8px;
}
.phyca-form-label .required { color: #E53E3E; font-size: 12px; margin-left: 4px; }
.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap select {
    width: 100%; padding: 14px 16px; font-family: var(--phyca-sans);
    font-size: 15px; border: 1px solid var(--phyca-light-gray);
    border-radius: var(--phyca-radius); background: var(--phyca-white);
    color: var(--phyca-text); transition: border-color 0.3s ease;
}
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-color: var(--phyca-teal); outline: none;
    box-shadow: 0 0 0 3px rgba(26,155,165,0.1);
}
.wpcf7-form-control-wrap textarea { min-height: 180px; resize: vertical; }
.wpcf7-submit {
    display: block; width: 100%; padding: 16px 40px;
    font-family: var(--phyca-sans); font-size: 16px; font-weight: 600;
    background: var(--phyca-gradient); color: #fff; border: none;
    border-radius: var(--phyca-radius); cursor: pointer;
    transition: all 0.3s ease; letter-spacing: 0.04em;
}
.wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,155,165,0.4); }
.wpcf7-acceptance label { font-size: 14px; color: var(--phyca-text); }
.wpcf7-acceptance a { color: var(--phyca-teal); }
.wpcf7-response-output { border-radius: var(--phyca-radius); font-size: 14px; }

/* ============================================================
   12. CTA Section
   ============================================================ */
.phyca-cta {
    background: var(--phyca-gradient); padding: 80px 20px; text-align: center;
}
.phyca-cta__title {
    font-size: 28px; font-weight: 700; color: #fff !important;
    margin-bottom: 16px; letter-spacing: 0.04em;
}
.phyca-cta__text { font-size: 15px; color: rgba(255,255,255,0.85) !important; margin-bottom: 36px; }
.phyca-cta .phyca-btn--white {
    background: #fff !important; color: var(--phyca-navy) !important; font-weight: 600;
}
.phyca-cta .phyca-btn--white:hover {
    background: var(--phyca-off-white) !important; transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================================================
   13. Privacy Policy
   ============================================================ */
.phyca-privacy { max-width: 780px; margin: 0 auto; }
.phyca-privacy h2 {
    font-size: 22px; font-weight: 700; color: var(--phyca-navy);
    margin: 48px 0 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--phyca-light-gray);
}
.phyca-privacy p { font-size: 15px; line-height: 2; margin-bottom: 16px; }
.phyca-privacy ol, .phyca-privacy ul { margin: 16px 0; padding-left: 24px; }
.phyca-privacy li { margin-bottom: 8px; font-size: 15px; line-height: 1.8; }

/* ============================================================
   14. Page Header (Sub-page eye-catch)
   ============================================================ */
.phyca-page-header {
    position: relative; height: 320px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--phyca-deep-blue);
}
.phyca-page-header__bg {
    position: absolute; inset: 0;
}
.phyca-page-header__bg img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.phyca-page-header__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(13,43,78,0.7) 0%, rgba(26,155,165,0.4) 100%);
}
.phyca-page-header__content {
    position: relative; z-index: 2; text-align: center;
}
.phyca-page-header__en {
    display: block; font-family: var(--phyca-heading);
    font-size: 13px; font-weight: 600; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--phyca-cyan); margin-bottom: 12px;
}
.phyca-page-header__title {
    font-size: 36px; font-weight: 700; color: #fff;
    letter-spacing: 0.06em; text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
/* Wave bottom for page headers */
.phyca-page-header__wave {
    position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3;
    height: 60px; overflow: hidden;
}
.phyca-page-header__wave svg {
    display: block; width: 100%; height: 100%;
}
/* Reduce top padding for first section after page header */
.phyca-page-header + .phyca-section { padding-top: 48px; }
.phyca-page-header + .phyca-section--alt { padding-top: 48px; }
.phyca-page-header + .phyca-service-detail .phyca-service-detail__section:first-child { padding-top: 48px; }
@media (max-width: 768px) {
    .phyca-page-header { height: 220px; }
    .phyca-page-header__title { font-size: 26px; }
}

/* ============================================================
   15. Animations
   ============================================================ */
@keyframes phyca-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* JS-driven reveal: start hidden, show on scroll */
.phyca-reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.phyca-reveal.is-visible { opacity: 1; transform: translateY(0); }
.phyca-reveal-children > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.phyca-reveal-children.is-visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.phyca-reveal-children.is-visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.phyca-reveal-children.is-visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.phyca-reveal-children.is-visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.phyca-reveal-children.is-visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Fallback: if JS hasn't fired after 3s, show everything */
@keyframes phyca-reveal-fallback {
    to { opacity: 1; transform: none; }
}
.phyca-reveal { animation: phyca-reveal-fallback 0s 3s forwards; }
.phyca-reveal-children > * { animation: phyca-reveal-fallback 0s 3.5s forwards; }
/* Once JS adds is-visible, the transition overrides the animation */
.phyca-reveal.is-visible,
.phyca-reveal-children.is-visible > * { animation: none; }

/* Reduced motion: no animation at all */
@media (prefers-reduced-motion: reduce) {
    .phyca-reveal, .phyca-reveal-children > * {
        opacity: 1 !important; transform: none !important;
        transition: none !important; animation: none !important;
    }
}

/* ============================================================
   15. Responsive
   ============================================================ */
/* Mobile: hide br for natural wrapping */
@media (max-width: 768px) {
    .phyca-hero__sub br,
    .phyca-about-name__desc br,
    .phyca-section__desc br { display: none; }
}

@media (max-width: 768px) {
    :root { --phyca-section-pad: 60px; }
    .phyca-hero { min-height: 70vh; }
    .phyca-hero__tagline { font-size: 28px; }
    .phyca-hero__logo { width: 72px; }
    .phyca-hero__sub { font-size: 14px; padding: 0 8px; }
    .phyca-services { grid-template-columns: 1fr; gap: 20px; }
    .phyca-pmvv { grid-template-columns: 1fr; }
    .phyca-section__title-ja { font-size: 24px; }
    .phyca-about-name__title { font-size: 36px; }
    .phyca-service-detail__section { padding: 60px 20px; }
    .phyca-service-detail__inner { grid-template-columns: 1fr !important; gap: 24px; }
    .phyca-service-detail__section:nth-child(even) .phyca-service-detail__img { order: 0; }
    .phyca-service-detail__title { font-size: 22px; }
    .phyca-service-detail__list { grid-template-columns: 1fr; gap: 16px; }
    .phyca-company-table th { width: 100px; font-size: 13px; }
    .phyca-company-table th, .phyca-company-table td { padding: 14px 12px; font-size: 14px; }
    .phyca-cta__title { font-size: 22px; }
    .phyca-message__body { font-size: 15px; }
    .phyca-section { padding: var(--phyca-section-pad) 24px; }
    .phyca-form-group { margin-bottom: 20px; }
    /* Tap targets */
    .wpcf7-acceptance label {
        display: flex; align-items: flex-start; gap: 8px;
        padding: 12px 0; cursor: pointer; min-height: 44px;
    }
    /* Philosophy etymology grid → 1 column */
    .phyca-etymology-grid,
    .phyca-pmvv {
        grid-template-columns: 1fr !important;
    }
    /* Prevent any element from exceeding viewport */
    .phyca-section, .phyca-page-header, .phyca-hero, .phyca-cta,
    .phyca-service-detail, .phyca-footer-sitemap {
        max-width: 100vw !important; width: 100% !important; overflow-x: hidden !important;
    }
    .phyca-section__inner, .phyca-services, .phyca-service-card,
    .phyca-service-card__body, .phyca-service-card__img,
    .phyca-message, .phyca-about-name, .phyca-pmvv,
    .phyca-contact, .phyca-privacy, .phyca-company-table {
        max-width: 100% !important;
    }
    .phyca-service-card__img img { max-width: 100% !important; }
    .phyca-footer-sitemap { padding: 40px 20px 30px !important; }
    .phyca-footer-sitemap__inner { grid-template-columns: 1fr 1fr !important; gap: 28px 20px !important; }
    .phyca-footer-sitemap__brand { grid-column: 1 / -1 !important; align-items: center !important; }
}
@media (max-width: 480px) {
    .phyca-hero__tagline { font-size: 24px; }
    .phyca-hero__cta { flex-direction: column; align-items: center; }
    .phyca-btn { width: auto; max-width: 100%; justify-content: center; box-sizing: border-box; }
    .phyca-company-table { display: block; }
    .phyca-company-table tr { display: flex; flex-direction: column; border-bottom: 1px solid var(--phyca-light-gray); }
    .phyca-company-table th, .phyca-company-table td { width: 100%; display: block; border: none; }
    .phyca-company-table th { padding-bottom: 4px; }
}

/* ============================================================
   16. Issue Cards
   ============================================================ */
.phyca-issue-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 960px; margin: 0 auto;
}
.phyca-issue-grid + .phyca-issue-grid { margin-top: 24px; }
.phyca-issue-card {
    background: var(--phyca-white); border-radius: var(--phyca-radius-lg);
    padding: 36px 24px; box-shadow: var(--phyca-shadow-sm);
    text-align: center; border-top: 4px solid var(--phyca-navy);
}
.phyca-issue-card--teal  { border-top-color: var(--phyca-teal); }
.phyca-issue-card--green { border-top-color: var(--phyca-green); }
.phyca-issue-card--cyan  { border-top-color: var(--phyca-cyan); }
.phyca-issue-card--deep  { border-top-color: var(--phyca-deep-blue); }
.phyca-issue-card__number {
    font-family: var(--phyca-heading); font-size: 48px;
    font-weight: 700; line-height: 1;
}
.phyca-issue-card__number span { font-size: 20px; }
.phyca-issue-card__number--text {
    font-size: 36px; line-height: 1.2;
}
.phyca-issue-card__label {
    font-size: 13px; font-weight: 600; color: var(--phyca-teal);
    letter-spacing: 0.05em; margin: 8px 0 12px;
}
.phyca-issue-card__desc {
    font-size: 14px; color: var(--phyca-gray); line-height: 1.8; margin: 0;
}

/* ============================================================
   17. Circular Ecosystem Diagram
   ============================================================ */
.phyca-ecosystem {
    display: flex; justify-content: center; align-items: stretch;
    gap: 0; max-width: 700px; margin: 0 auto;
}
.phyca-ecosystem__item {
    flex: 1; padding: 32px 20px; text-align: center; color: #fff;
    min-width: 0;
}
.phyca-ecosystem__item--ocean {
    background: linear-gradient(135deg, #183868, #1A9BA5);
    border-radius: var(--phyca-radius-lg) 0 0 var(--phyca-radius-lg);
}
.phyca-ecosystem__item--land {
    background: linear-gradient(135deg, #1A9BA5, #73BD7C);
}
.phyca-ecosystem__item--tech {
    background: linear-gradient(135deg, #73BD7C, #2BBBC9);
    border-radius: 0 var(--phyca-radius-lg) var(--phyca-radius-lg) 0;
}
.phyca-ecosystem__icon { font-size: 32px; margin-bottom: 8px; }
.phyca-ecosystem__title {
    font-family: var(--phyca-heading); font-size: 14px;
    font-weight: 600; letter-spacing: 0.1em; margin-bottom: 8px;
}
.phyca-ecosystem__desc { font-size: 12px; line-height: 1.7; opacity: 0.9; }

/* ============================================================
   18. Evidence Box
   ============================================================ */
.phyca-evidence {
    background: var(--phyca-off-white); border-radius: var(--phyca-radius-lg);
    padding: 28px; margin-top: 32px; border-left: 4px solid var(--phyca-teal);
}
.phyca-evidence--green { border-left-color: var(--phyca-green); }
.phyca-evidence--cyan  { border-left-color: var(--phyca-cyan); }
.phyca-evidence__title {
    font-size: 16px; font-weight: 700; color: var(--phyca-navy); margin-bottom: 16px;
}
.phyca-evidence__body {
    font-size: 14px; line-height: 2.0; color: var(--phyca-text);
}
.phyca-evidence__body ul { padding-left: 20px; margin: 0 0 16px; }
.phyca-evidence__body ul:last-child { margin-bottom: 0; }
.phyca-evidence__body p { margin-bottom: 12px; }
.phyca-evidence__source {
    list-style: none; padding-top: 4px; font-size: 12px; color: var(--phyca-gray);
}

/* ============================================================
   19. Market Data Cards
   ============================================================ */
.phyca-market-grid {
    display: grid; gap: 16px; margin-top: 24px;
}
.phyca-market-grid--2 { grid-template-columns: repeat(2, 1fr); }
.phyca-market-grid--3 { grid-template-columns: repeat(3, 1fr); }
.phyca-market-card {
    border-radius: var(--phyca-radius); padding: 20px;
    text-align: center; color: #fff;
}
.phyca-market-card--navy { background: var(--phyca-navy); }
.phyca-market-card--teal { background: var(--phyca-teal); }
.phyca-market-card--green { background: var(--phyca-green); }
.phyca-market-card--cyan { background: var(--phyca-cyan); }
.phyca-market-card__number {
    font-family: var(--phyca-heading); font-size: 28px; font-weight: 700;
}
.phyca-market-card__number span { font-size: 14px; }
.phyca-market-card__label {
    font-size: 12px; opacity: 0.8; margin-top: 4px;
}

/* ============================================================
   20. Tech Layer Steps
   ============================================================ */
.phyca-tech-layers {
    display: grid; grid-template-columns: 1fr; gap: 12px;
    font-size: 14px; color: var(--phyca-text);
}
.phyca-tech-layer {
    display: flex; align-items: flex-start; gap: 12px;
}
.phyca-tech-layer__num {
    color: #fff; border-radius: 50%; min-width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}

/* ============================================================
   Responsive: New components
   ============================================================ */
@media (max-width: 768px) {
    .phyca-issue-grid { grid-template-columns: 1fr; gap: 16px; }
    .phyca-issue-grid + .phyca-issue-grid { margin-top: 16px; }
    .phyca-issue-card { padding: 28px 20px; }
    .phyca-issue-card__number { font-size: 40px; }
    .phyca-issue-card__number--text { font-size: 28px; }

    .phyca-ecosystem {
        flex-direction: column; max-width: 320px;
    }
    .phyca-ecosystem__item { padding: 24px 20px; }
    .phyca-ecosystem__item--ocean {
        border-radius: var(--phyca-radius-lg) var(--phyca-radius-lg) 0 0;
    }
    .phyca-ecosystem__item--land { border-radius: 0; }
    .phyca-ecosystem__item--tech {
        border-radius: 0 0 var(--phyca-radius-lg) var(--phyca-radius-lg);
    }

    .phyca-evidence { padding: 20px 16px; }
    .phyca-market-grid--2,
    .phyca-market-grid--3 { grid-template-columns: 1fr; }
    .phyca-market-card__number { font-size: 24px; }
}
@media (min-width: 481px) and (max-width: 768px) {
    .phyca-issue-grid { grid-template-columns: repeat(2, 1fr); }
    .phyca-market-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   DECORATIVE ENHANCEMENTS — Nature/Ocean Subtle Accents
   ============================================================ */

/* ------------------------------------------------------------
   D1. Subtle Background Pattern for White Sections
   Topographic/wave contour lines using radial gradients.
   Barely visible at ~0.03 opacity — adds organic texture
   without competing with content.
   ------------------------------------------------------------ */
.phyca-section:not(.phyca-section--alt) {
    background-image:
        radial-gradient(ellipse 600px 80px at 20% 30%,
            rgba(26,155,165,0.03) 0%, transparent 70%),
        radial-gradient(ellipse 500px 60px at 70% 60%,
            rgba(115,189,124,0.025) 0%, transparent 70%),
        radial-gradient(ellipse 700px 50px at 50% 80%,
            rgba(24,56,104,0.02) 0%, transparent 70%);
    background-color: var(--phyca-white);
}

/* Alt sections get a complementary subtle pattern */
.phyca-section--alt {
    background-image:
        radial-gradient(ellipse 500px 70px at 80% 25%,
            rgba(24,56,104,0.025) 0%, transparent 70%),
        radial-gradient(ellipse 400px 50px at 30% 70%,
            rgba(43,187,201,0.02) 0%, transparent 70%);
    background-color: var(--phyca-off-white);
}

/* ------------------------------------------------------------
   D2. Section Divider Decorations
   Inline SVG pseudo-elements — small wave/leaf motifs
   centered between section title elements.
   ------------------------------------------------------------ */

/* Wave divider after section description */
.phyca-section__desc::after {
    content: '';
    display: block;
    width: 48px;
    height: 8px;
    margin: 32px auto 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 8'%3E%3Cpath d='M0 4 C6 0, 12 0, 18 4 S30 8, 36 4 S42 0, 48 4' fill='none' stroke='%231A9BA5' stroke-width='1.5' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.6;
}

/* Leaf accent for section titles on service detail pages */
.phyca-service-detail__section-title::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14 C2 8, 6 2, 14 2 C14 2, 10 4, 8 8 C6 12, 2 14, 2 14Z' fill='%2373BD7C' opacity='0.25'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* ------------------------------------------------------------
   D3. Organic Section Transitions
   Replaces hard lines between white and off-white sections
   with a subtle SVG wave curve using ::before pseudo-element.
   ------------------------------------------------------------ */
.phyca-section--alt {
    position: relative;
}

.phyca-section--alt::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 20 Q180 32 360 24 Q540 16 720 22 Q900 28 1080 20 Q1260 12 1440 22 L1440 0Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Bottom transition: wave out of alt section back to white */
.phyca-section--alt::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath d='M0 32 L0 12 Q180 0 360 8 Q540 16 720 10 Q900 4 1080 12 Q1260 20 1440 10 L1440 32Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* ------------------------------------------------------------
   D4. Service Card Shimmer Effect on Hover
   Diagonal gradient sweep for a premium, subtle sheen.
   Uses ::after overlay so it doesn't affect card content.
   ------------------------------------------------------------ */
.phyca-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255,255,255,0.15) 50%,
        transparent 60%,
        transparent 100%
    );
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.phyca-service-card:hover::after {
    left: 100%;
}

/* Subtle gradient border glow on hover */
.phyca-service-card:hover {
    box-shadow:
        var(--phyca-shadow-lg),
        0 -4px 0 0 transparent;
    background-image: linear-gradient(
        180deg,
        rgba(26,155,165,0.02) 0%,
        transparent 40%
    );
}

/* Per-card hover tint matching their border color */
.phyca-service-card:nth-child(1):hover {
    background-image: linear-gradient(180deg, rgba(24,56,104,0.03) 0%, transparent 40%);
}
.phyca-service-card:nth-child(2):hover {
    background-image: linear-gradient(180deg, rgba(26,155,165,0.03) 0%, transparent 40%);
}
.phyca-service-card:nth-child(3):hover {
    background-image: linear-gradient(180deg, rgba(115,189,124,0.03) 0%, transparent 40%);
}

/* ------------------------------------------------------------
   D5. Company Table — Row Accent Borders
   Left border with alternating brand colors per row,
   creating a subtle rhythm that echoes the brand palette.
   ------------------------------------------------------------ */
.phyca-company-table tr {
    border-left: 3px solid transparent;
    transition: border-left-color 0.3s ease, background-color 0.3s ease;
}

.phyca-company-table tr:nth-child(4n+1) { border-left-color: var(--phyca-navy); }
.phyca-company-table tr:nth-child(4n+2) { border-left-color: var(--phyca-teal); }
.phyca-company-table tr:nth-child(4n+3) { border-left-color: var(--phyca-green); }
.phyca-company-table tr:nth-child(4n+4) { border-left-color: var(--phyca-cyan); }

/* Subtle row hover */
.phyca-company-table tr:hover {
    background-color: rgba(26,155,165,0.02);
}

/* ------------------------------------------------------------
   D6. Responsive adjustments for decorative elements
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    /* Reduce wave transition height on mobile */
    .phyca-section--alt::before,
    .phyca-section--alt::after {
        height: 20px;
    }

    /* Disable shimmer on touch devices (no hover) */
    .phyca-service-card::after {
        display: none;
    }

    /* Keep table accent borders in stacked mobile layout */
    .phyca-company-table tr {
        border-left-width: 3px;
        padding-left: 4px;
    }
    /* Mobile header: reset flex for stacked layout */
    .inside-header {
        flex-wrap: wrap !important; padding: 12px 20px !important;
    }
    .site-logo a::after { margin-right: 0 !important; font-size: 16px !important; }
    /* Hide decorative fish on mobile */
    .phyca-section--alt > .phyca-fish-deco { display: none; }
    /* Page header smaller on mobile */
    .phyca-page-header { height: 200px; }
    .phyca-page-header__title { font-size: 24px; }
}

/* ============================================================
   ANIMATION ENHANCEMENTS — Ocean/Nature Accents
   ============================================================ */

/* --- CTA animated wave top border --- */
.phyca-cta { position: relative; overflow: hidden !important; }
.phyca-cta::before {
    content: ''; position: absolute; top: -1px; left: 0;
    width: 200%; height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0 20 Q150 0 300 20 T600 20 T900 20 T1200 20 V40 H0Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: repeat-x; background-size: 600px 40px;
    animation: phyca-cta-wave 8s linear infinite; z-index: 1;
}
@keyframes phyca-cta-wave {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-600px); }
}

/* --- Seaweed leaf icon before service titles --- */
.phyca-service-detail__title::before {
    content: ''; display: inline-block; width: 22px; height: 22px;
    margin-right: 8px; vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22c0-8-6-12-6-18C6 2 12 2 12 2s6 0 6 2c0 6-6 10-6 18z' fill='%2373BD7C' opacity='0.7'/%3E%3Cpath d='M12 22V4' stroke='%231A9BA5' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}

/* --- Water droplet before PMVV labels --- */
.phyca-pmvv__label::before {
    content: ''; display: inline-block; width: 14px; height: 14px;
    margin-right: 6px; vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C12 2 5 11 5 16a7 7 0 0014 0C19 11 12 2 12 2z' fill='%232BBBC9' opacity='0.6'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}

/* --- Wave line under section titles --- */
.phyca-section__title-ja::after {
    content: ''; display: block; width: 80px; height: 8px;
    margin: 12px auto 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8'%3E%3Cpath d='M0 4 Q10 0 20 4 T40 4 T60 4 T80 4' fill='none' stroke='%231A9BA5' stroke-width='1.5' opacity='0.5'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}

/* --- Fish silhouette floating in alt sections --- */
.phyca-section--alt::after {
    content: ''; position: absolute; top: 30%; right: 5%;
    width: 80px; height: 40px; opacity: 0.04; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cpath d='M10 20C10 10 25 4 45 12L70 4V36L45 28C25 36 10 30 10 20z' fill='%23183868'/%3E%3Ccircle cx='22' cy='19' r='2' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
    animation: phyca-fish-drift 20s ease-in-out infinite;
}
@keyframes phyca-fish-drift {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(-20px, 8px); }
    50%      { transform: translate(-10px, -5px); }
    75%      { transform: translate(15px, 3px); }
}

/* --- Coral/seaweed decoration on message section (removed: overlaps signature) --- */

/* --- Service card image breathing zoom --- */
.phyca-service-card__img img { animation: phyca-breathe 6s ease-in-out infinite; }
@keyframes phyca-breathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
}

/* --- PMVV card border spring on hover --- */
.phyca-pmvv__item {
    transition: border-left-width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.phyca-pmvv__item:hover { border-left-width: 6px; }

/* --- "Phyca" gradient text shift --- */
.phyca-about-name__title {
    background-size: 200% 100%;
    animation: phyca-gradient-shift 6s ease-in-out infinite;
}
@keyframes phyca-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* --- Hero logo gentle float --- */
.phyca-hero__logo { animation: phyca-logo-float 4s ease-in-out infinite !important; }
@keyframes phyca-logo-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* --- Service number gradient ring --- */
.phyca-service-detail__num { position: relative; z-index: 1; }
.phyca-service-detail__num::before {
    content: ''; position: absolute; top: 50%; left: -8px;
    width: 48px; height: 48px; transform: translateY(-50%);
    border-radius: 50%; border: 2px solid transparent;
    background: linear-gradient(var(--phyca-white), var(--phyca-white)) padding-box, var(--phyca-gradient) border-box;
    z-index: -1; opacity: 0.5;
}

/* --- Footer gradient stripe + bubble dots --- */
.site-footer, .site-info { position: relative; }
.site-info::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: repeating-linear-gradient(90deg, var(--phyca-navy), var(--phyca-teal) 80px, var(--phyca-cyan) 160px, var(--phyca-green) 240px, var(--phyca-navy) 320px);
    background-size: 320px 3px;
    animation: phyca-footer-stripe 12s linear infinite;
}
@keyframes phyca-footer-stripe {
    0%   { background-position: 0 0; }
    100% { background-position: 320px 0; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .phyca-service-card__img img, .phyca-hero__logo, .phyca-about-name__title,
    .phyca-section--alt::after, .phyca-cta::before, .site-info::before {
        animation: none !important;
    }
    .phyca-pmvv__item { transition: none !important; }
}
