/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: #0066cc;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Header */
header {
    background-color: #0a0a2a;
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.logo span {
    color: #00e5ff;
}

/* ハンバーガーメニューボタン */
.hamburger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ハンバーガーボタンアクティブ時のアニメーション */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ナビゲーション */
.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #00e5ff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/tech-pattern.png');
    opacity: 0.1;
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin: 0 10px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    color: #0a0a2a;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 181, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #0a0a2a;
}

/* Product Section */
.product {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.product-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.product-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.product-specs {
    margin-top: 30px;
}

.spec-item {
    display: flex;
    margin-bottom: 15px;
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.spec-text h4 {
    margin-bottom: 5px;
    color: #0a0a2a;
}

/* Tax Benefits Section */
.tax-benefits {
    padding: 100px 0;
    background-color: white;
}

.tax-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tax-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.tax-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    text-align: center;
}

.tax-image img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tax-benefits-list {
    margin-top: 30px;
}

.tax-benefit-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.tax-benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.tax-benefit-text h4 {
    margin-bottom: 10px;
    color: #0a0a2a;
}

/* ROI Section */
.roi {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.roi-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.roi-table th, .roi-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.roi-table th {
    background-color: #0a0a2a;
    color: white;
}

.roi-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.roi-highlight {
    color: #00b8d4;
    font-weight: 700;
}

.disclaimer-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    position: relative;
}
/* 青い線を削除するため、この部分をコメントアウトまたは削除 */
/*
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 70px;
    right: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
}
*/


.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: #0a0a2a;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.accordion {
    margin-top: 50px;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0a0a2a;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    transition: transform 0.3s;
}

.accordion-content {
    background-color: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content-inner {
    padding: 20px 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/tech-pattern.png');
    opacity: 0.1;
    z-index: 1;
}

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

.cta h2 {
    margin-bottom: 30px;
}

.cta p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #0a0a2a;
    color: white;
    padding: 50px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    padding: 20px;
}

.footer-col h3 {
    color: #00e5ff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #00e5ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #ccc;
}

/* Disclaimer */
.disclaimer {
    background-color: #f8f9fa;
    padding: 50px 0;
    font-size: 0.9rem;
    color: #666;
}

.disclaimer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.disclaimer h3 {
    color: #0a0a2a;
    margin-bottom: 20px;
}

.disclaimer ul {
    list-style: none;
}

.disclaimer ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.disclaimer ul li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #00b8d4;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 181, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    /* ハンバーガーメニューを表示 */
    .hamburger-btn {
        display: flex;
    }
    
    /* ナビゲーションをドロップダウン形式に変更 */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0a0a2a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 500px;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    .nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav ul li:last-child {
        border-bottom: none;
    }
    
    .nav ul li a {
        display: block;
        padding: 15px 20px;
        color: white;
        transition: background-color 0.3s;
    }
    
    .nav ul li a:hover {
        background-color: rgba(0, 229, 255, 0.1);
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid, .product-container, .tax-content, .steps {
        grid-template-columns: 1fr;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .footer-col {
        flex: 100%;
    }
    
    .roi-table {
        font-size: 0.9rem;
    }
    
    .roi-table th, .roi-table td {
        padding: 10px 5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .roi-table {
        font-size: 0.8rem;
    }
    
    .roi-table th, .roi-table td {
        padding: 8px 3px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 1s ease-out;
}

/* Glowing effect */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #00e5ff, #00b8d4);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(15px);
}