/* リセットCSS & ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.7;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

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

/* ファーストビュー */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('https://page.gensparksite.com/v1/base64_upload/5113540710b66156bb06daa544672962');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.brand-name {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #ffffff;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

.highlight {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.stat-label small {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.cta-section {
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    margin-bottom: 1.5rem;
}

.cta-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* 共通セクションスタイル */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
}

/* 事業概要セクション */
.overview {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.overview-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.overview-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.overview-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.overview-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* 収益構造セクション */
.revenue {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.business-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 4rem 0;
}

.flow-step {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: all 0.3s ease;
}

.flow-step:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.step-number {
    background: #ffffff;
    color: #000000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.amount {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 0.5rem;
}

.flow-arrow {
    font-size: 2rem;
    color: #ffffff;
    font-weight: bold;
}

/* ROI計算テーブル */
.roi-calculation {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 4rem;
}

.roi-calculation h3 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.calculation-table {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calc-row {
    display: contents;
}

.calc-row > div {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-row.header > div {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: #ffffff;
}

.calc-row:not(.header) > div {
    color: rgba(255, 255, 255, 0.9);
}

.calc-row.highlight-row > div {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
}

.strong {
    font-weight: 700;
    color: #ffffff;
}

/* 節税効果セクション */
.tax-benefits {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tax-explanation {
    margin-bottom: 3rem;
}

.tax-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.tax-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.tax-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.tax-calculation {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.tax-calculation h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.tax-calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.tax-calc-item:last-child {
    border-bottom: none;
}

.tax-calc-item.highlight {
    background: rgba(255, 255, 255, 0.08);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: #ffffff;
}

.accounting-treatment {
    margin-top: 3rem;
}

.accounting-treatment h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.accounting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.accounting-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
}

.accounting-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.accounting-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* お問い合わせセクション */
.contact {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-points {
    margin-bottom: 2rem;
}

.point {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    padding-left: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    width: 100%;
    background: #ffffff;
    color: #000000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer {
    text-align: right;
}

.footer-disclaimer small {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .business-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .accounting-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
    
    .calculation-table {
        font-size: 0.9rem;
    }
    
    .calc-row > div {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        background-attachment: scroll;
    }
}