/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #dc143c, #b71c1c);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #ffebee, #fce4ec);
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #dc143c;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
    margin-top: 2rem;
}

/* Authors Section Styles */
.authors-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.authors-section h2 {
    text-align: center;
    color: #dc143c;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.author-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc143c;
}

.author-card h3 a {
    color: #dc143c;
    text-decoration: none;
    font-size: 1.3rem;
}

.author-card h3 a:hover {
    text-decoration: underline;
}

/* Introduction Section Styles */
.introduction-section {
    padding: 3rem 0;
}

.introduction-section h2 {
    color: #dc143c;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.introduction-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Main Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: #f8f9fa;
}

section h2 {
    color: #dc143c;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

section h3 {
    color: #b71c1c;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

section h4 {
    color: #dc143c;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem 0;
}

section h5 {
    color: #dc143c;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

.section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem auto;
    display: block;
}

/* Benefit List Styles */
.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #dc143c;
}

/* Cost Section Styles */
.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.cost-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc143c;
}

.price-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.price-row:last-child {
    border-bottom: none;
}

.price-type {
    font-weight: bold;
    color: #333;
}

.price-range {
    font-size: 1.2rem;
    font-weight: bold;
    color: #dc143c;
}

.cost-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tip-item {
    background: #fff3f3;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #ffc1cc;
}

.subsidy-info {
    background: #fff3f3;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #dc143c;
    margin: 2rem 0;
}

/* Feature List Styles */
.feature-list ul,
.maintenance-daily ul,
.maintenance-professional ul,
.diy-cases ul,
.professional-cases ul,
.legal-notes ul,
.technical-notes ul {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

.feature-list li,
.maintenance-daily li,
.maintenance-professional li,
.diy-cases li,
.professional-cases li,
.legal-notes li,
.technical-notes li {
    margin: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
}

.feature-list li:before,
.maintenance-daily li:before,
.maintenance-professional li:before,
.diy-cases li:before,
.professional-cases li:before,
.legal-notes li:before,
.technical-notes li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc143c;
    font-weight: bold;
}

/* Installation Points Styles */
.installation-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.point-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #dc143c;
}

/* Troubleshooting Styles */
.troubleshooting {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.trouble-item {
    background: #fff8f8;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #ffcdd2;
}

.trouble-item h5 {
    color: #dc143c;
    margin-bottom: 0.5rem;
}

/* Summary Points Styles */
.summary-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.summary-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #dc143c;
}

/* Footer Styles */
footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-links a {
    color: #dc143c;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 2rem 0;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .authors-grid {
        grid-template-columns: 1fr;
    }

    .benefit-list,
    .cost-breakdown,
    .cost-tips,
    .installation-points,
    .troubleshooting,
    .summary-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    section h3 {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: none;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}