@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");

body,
.font-sans,
.font-serif {
    font-family: "Noto Sans JP", sans-serif !important;
}

.hero-serif {
    font-family: "Noto Serif JP", serif !important;
}

.hero-highlight {
    background: #ffffff;
    color: #0f172a;
    display: inline-block;
    padding: 0.12em 0 0.12em 0.18em;
    clip-path: polygon(0.4em 0, 100% 0, calc(100% - 0.4em) 100%, 0 100%);
}

.hero-split {
    position: relative;
}

.hero-split::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.12));
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 46% 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-split-content {
    position: relative;
    z-index: 2;
}

.hero-visual-panel {
    padding: 0.9rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.comma-tight {
    display: inline-block;
    margin-right: -0.2em;
}

.laurel-frame {
    padding: 0.35rem 0.6rem;
    border-radius: 1.75rem;
    background: #1a2435;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.25);
}

.laurel-image {
    background: #1a2435;
    width: 30%;
    max-height: 5rem;
    margin: 0 auto;
    display: block;
}

.voice-section {
    border-bottom: none;
}

.voice-marquee {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.voice-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: voice-marquee 65s linear infinite;
}

.voice-group {
    display: flex;
    gap: 1.5rem;
}

.voice-card {
    width: 320px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    color: #0f172a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18), 0 0 12px rgba(15, 23, 42, 0.08);
}

.voice-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0f172a;
}

.voice-meta {
    display: block;
    margin-top: 0.85rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.voice-industry {
    display: block;
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: #475569;
}

.voice-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    margin-bottom: 0.75rem;
}

.voice-marquee:hover .voice-track {
    animation-play-state: paused;
}

@keyframes voice-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .voice-card {
        width: 240px;
        padding: 1rem 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .voice-track {
        animation: none;
    }
    .voice-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.situations-chevron {
    position: relative;
    overflow: hidden;
}

.situations-chevron::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
    z-index: 0;
    pointer-events: none;
}

.situations-chevron > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .situations-chevron::after {
        clip-path: polygon(0 0, 100% 0, 100% 94%, 50% 100%, 0 94%);
    }
}

@media (max-width: 768px) {
    .hero-split::before {
        opacity: 0;
    }

    .hero-visual-panel {
        padding: 0.75rem;
    }
}

.cta-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out !important;
    border-radius: 9999px !important;
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
    transform: translateX(-120%) skewX(-18deg);
    transition: transform 170ms ease-out;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.cta-button:hover::before,
.cta-button:focus-visible::before {
    transform: translateX(0) skewX(-18deg);
}

.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22) !important;
}

.cta-button:active {
    transform: translateY(0) scale(0.98) !important;
}

.cta-button > * {
    position: relative;
    z-index: 2;
}

.cta-button:disabled::before,
.cta-button[aria-disabled="true"]::before {
    display: none;
}

.brand-serif {
    font-family: "Noto Serif JP", serif !important;
}

/* Basic Fade-in Animation */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-item {
    opacity: 0; /* Start invisible, will animate when .fade-in-on-scroll is added */
}

/* Staggered delays for multiple items */
.fade-in-on-scroll.fade-in-delay-1 {
    animation: fade-in 1s ease-out forwards;
    animation-delay: 0s;
}

.fade-in-on-scroll.fade-in-delay-2 {
    animation: fade-in 1s ease-out forwards;
    animation-delay: 0.1s;
}

.fade-in-on-scroll.fade-in-delay-3 {
    animation: fade-in 1s ease-out forwards;
    animation-delay: 0.2s;
}

.fade-in-on-scroll.fade-in-delay-4 {
    animation: fade-in 1s ease-out forwards;
    animation-delay: 0.3s;
}

/* General styling for the features grid and items to make them presentable */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
}

.sub-heading {
    text-align: center;
    margin: 40px 0;
    font-size: 2em;
    color: #333;
}

.strong-shadow {
  box-shadow: 0 8px 15px rgba(0,0,0,0.12), 0 4px 4px rgba(0,0,0,0.16);
}

main {
    padding-top: 100px; /* Adjust based on header height to prevent content from hiding behind the fixed header */
}

/* Optional Fees Accordion */
.fee-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: box-shadow 160ms ease, border-color 160ms ease;
}

.fee-accordion[open] {
    border-color: #cbd5e1;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.fee-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
    min-height: 5.5rem;
    text-align: left;
    width: 100%;
    background: #ffffff;
}

.fee-summary:focus-visible {
    outline: 2px solid rgba(251, 191, 36, 0.6);
    outline-offset: 2px;
}

.fee-accordion[open] .fee-summary {
    background: #f8fafc;
}

.fee-summary-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    flex: 1;
}

.fee-summary-action {
    color: #64748b;
    font-weight: 600;
    font-size: 0.95em;
}

.fee-accordion summary::-webkit-details-marker {
    display: none;
}

.fee-accordion summary::marker {
    content: "";
}

.fee-chevron {
    transition: transform 160ms ease;
}

.fee-accordion[open] .fee-chevron {
    transform: rotate(180deg);
}

.fee-content {
    border-top: 1px solid #e2e8f0;
}

.optional-muted {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.8em;
}

@media (max-width: 640px) {
    .fee-summary {
        padding: 1rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fee-chevron {
        transition: none;
    }
}



