:root {
    --primary-color: #ffb263; /* Soft Orange */
    --primary-dark: #e69542;
    --primary-light: #fae1b0; /* Warm Beige */
    --secondary-color: #FF3131; /* Bright Red */
    --secondary-dark: #d62424;
    --accent-color: #fae1b0;
    --text-main: #3C3C3C;
    --text-light: #7A7A7A;
    --bg-light: #fffdf7; /* Warm Off-white */
    --bg-white: #ffffff;
    --error-color: #FF3131;
    --border-radius-lg: 24px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-soft: 0 10px 30px rgba(255, 178, 99, 0.08);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.sp-br {
    display: none;
}

/* Typography */
h1, h2, h3, h4, p {
    margin-top: 0;
}

.sec-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.sec-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.sec-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Sections */
section {
    padding: 6rem 0;
}

/* Hero Section (New) */
.fv-new {
    width: 100%;
    background: #fff;
    line-height: 0;
}

.fv-top-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.fv-top-img {
    width: 100%;
    height: auto;
    display: block;
}

.fv-cta-area {
    padding: 4rem 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* First View (Old - preserved if needed) */
.fv {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(250, 225, 176, 0.9) 0%, rgba(255, 178, 99, 0.7) 100%);
    overflow: hidden;
}

.fv-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    display: flex;
    align-items: center;
    border-radius: 50% 0 0 50%;
    overflow: hidden;
}

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

.fv-content {
    position: relative;
    z-index: 1;
}

.fv-catchphrase {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-shadow: 
        2px 2px 0 #ffffff,
        -2px 2px 0 #ffffff,
        2px -2px 0 #ffffff,
        -2px -2px 0 #ffffff,
        0 2px 0 #ffffff,
        0 -2px 0 #ffffff,
        2px 0 0 #ffffff,
        -2px 0 0 #ffffff,
        0 6px 12px rgba(0, 0, 0, 0.1);
}

.fv-subcatch {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    text-shadow: none;
}

.fv-subcopy-box {
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2.5rem;
    border-left: 6px solid var(--secondary-color);
    max-width: 600px;
}

.fv-subcopy-box p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.fv-subcopy-box .highlight {
    font-weight: 700;
    color: var(--secondary-dark);
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.fv-subcopy-box .free-badge {
    display: inline-block;
    background: var(--secondary-color); /* Strong Red */
    color: white;
    padding: 0.1rem 0.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 0.3rem;
    box-shadow: 0 4px 10px rgba(255, 49, 49, 0.4);
    transform: rotate(-3deg);
    line-height: 1.2;
}

/* Buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(255, 49, 49, 0.3);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 49, 49, 0.4);
}

.btn-cta .arrow {
    margin-left: 10px;
    transition: var(--transition);
}

.btn-cta:hover .arrow {
    transform: translateX(5px);
}

.btn-cta.lg {
    font-size: 1.5rem;
    padding: 1.5rem 4rem;
}

/* About Section */
.sec-about {
    background: var(--bg-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-img {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Overview Section */
.overview-section {
    background: #fff;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-soft);
}

.overview-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 500;
}

.overview-img-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.overview-img-wrapper {
    text-align: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-light);
    padding: 1.5rem;
}

.overview-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.merit-section {
    background: var(--primary-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.merit-text {
    font-size: 1.1rem;
    margin: 0;
}

.feature-section {
    margin-top: 2rem;
}

.sec-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.merit-section .sec-subtitle {
    margin-bottom: 1rem;
}

/* Merit Cards */
.merit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.merit-card {
    background: var(--primary-light);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.merit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 178, 99, 0.15);
}

.merit-card .icon {
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merit-card .icon img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.merit-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.merit-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Hurdle Section */
.sec-hurdle {
    background: linear-gradient(to right, #f1f3f5, #e9ecef);
}

.hurdle-box {
    background: white;
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hurdle-list {
    background: #fff5f5;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid #fa5252;
    margin: 1.5rem 0;
    list-style: none;
}

.hurdle-list li {
    font-weight: 700;
    color: #c92a2a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.hurdle-list li:last-child {
    margin-bottom: 0;
}

.hurdle-list li::before {
    content: '「';
}
.hurdle-list li::after {
    content: '」';
}

.hurdle-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hurdle-text {
    flex: 1;
}

.hurdle-img {
    flex: 0 0 280px;
}

.hurdle-img img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
    .hurdle-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .hurdle-img {
        flex: 0 0 auto;
        width: 200px;
        margin: 0 auto;
    }
}

/* Strength Section */
.sec-strength {
    background: var(--bg-white);
}

.strength-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-direction: row-reverse;
}

.strength-text {
    flex: 1;
}

.strength-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.strength-img {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.notes {
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 4rem;
}

.notes p {
    margin-bottom: 0.5rem;
}
.notes p:last-child {
    margin-bottom: 0;
}

.highlight-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.panel {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.panel-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.panel h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.panel p {
    margin: 0;
    font-size: 0.95rem;
}

/* Support Detailed Content */
.support-content-detailed {
    margin-top: 5rem;
    background: var(--bg-light);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--primary-light);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2.5rem;
}

.support-item {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--primary-light);
    transition: var(--transition);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.support-num {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--secondary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(255, 49, 49, 0.3);
}

.support-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.support-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.support-list li {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
}

.support-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

.support-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-main);
}

.support-card-img {
    margin-top: auto;
    padding-top: 1.5rem;
    text-align: center;
    width: 100%;
}

.support-card-img img {
    width: 100%;
    max-width: 240px;
    height: auto;
    max-height: 160px;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
    margin: 0 auto;
}

.img-caption {
    font-size: 0.7rem !important;
    color: var(--text-light);
    margin-top: 0.5rem !important;
    line-height: 1.4 !important;
    text-align: center;
}

@media (max-width: 900px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .support-content-detailed {
        padding: 3rem 1.5rem;
    }
}

/* Price Section */
.sec-price {
    background: var(--primary-light);
}

.price-content {
    background: white;
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 178, 99, 0.12);
}

.price-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.price-content strong {
    font-size: 1.3rem;
    color: var(--secondary-dark);
    display: inline-block;
    padding: 0 5px;
    background: linear-gradient(transparent 60%, rgba(255, 178, 99, 0.4) 60%);
}

/* Warning Section */
.sec-warning {
    background: #fff3bf;
    padding: 4rem 0;
}

.warning-box {
    text-align: center;
    border: 3px solid var(--warning-color);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    background: white;
    position: relative;
}

.warning-icon {
    font-size: 3.5rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff3bf;
    border-radius: 50%;
    padding: 0 15px;
}

.warning-box h3 {
    color: #e67700;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.4rem;
}

.warning-box p {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

/* Contact Section */
.sec-contact {
    background: var(--bg-white);
    padding: 8rem 0;
}

.contact-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.contact-action {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.tel-box {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tel-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 700;
}

.tel-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1;
    margin: 0.5rem 0;
}

.tel-time {
    font-size: 1rem;
    color: var(--text-light);
}

/* Subsidy Details */
.subsidy-details {
    margin-top: 3rem;
    text-align: left;
    border: 2px solid var(--primary-color);
    background: #fff;
    padding: 4px;
}

.subsidy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.subsidy-title {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.subsidy-note {
    font-size: 0.85rem;
    margin: 0;
    color: #333;
}

.subsidy-inner {
    padding: 0 1rem 1rem;
}

.subsidy-section {
    margin-bottom: 2rem;
}

.subsidy-section h4 {
    font-size: 1.15rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 2px;
}

.subsidy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.subsidy-subnote {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.table-responsive {
    overflow-x: auto;
}

.subsidy-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.subsidy-table th, .subsidy-table td {
    border: 1px solid #333;
    padding: 8px 12px;
    vertical-align: middle;
}

.subsidy-table th {
    background-color: transparent;
    font-weight: bold;
    text-align: center;
}

.subsidy-table td:first-child {
    font-weight: bold;
}

.subsidy-table tbody tr td:nth-child(2),
.subsidy-table tbody tr td:nth-child(3) {
    background-color: var(--primary-light); /* Light beige */
}

/* Multi-step Form Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-step {
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--accent-color);
}

.progress-step.is-active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(255, 178, 99, 0.15);
    transform: scale(1.1);
}

.progress-step.is-completed {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.progress-step .step-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.progress-step.is-active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

/* Step visibility */
.form-step {
    display: none;
    animation: stepIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-step.is-active {
    display: block;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Step buttons */
.step-btns {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-prev {
    flex: 1;
    background: #e9ecef;
    color: var(--text-main);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-prev:hover {
    background: #dee2e6;
}

.btn-next {
    flex: 2;
    border: none;
}

/* Footer */
.footer {
    background: #2D2D2D;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    flex: 1;
}

.footer-company {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-contact-links a:hover {
    color: var(--primary-color);
}

.footer-offices {
    flex: 2;
    display: flex;
    gap: 3rem;
}

.office-box {
    flex: 1;
}

.office-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
    line-height: 1;
}

.office-address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.office-tel-fax {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-offices {
        flex-direction: column;
        gap: 2.5rem;
    }
}

/* Thanks Page */
.thanks-container {
    padding: 8rem 0;
    text-align: center;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.thanks-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.thanks-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}
