* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Meiryo', 'メイリオ', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    font-size: 2.1;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: nowrap;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1976d2;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #1976d2;
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-download {
    background: #2c3e50;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.btn-download:hover {
    background: #1a252f;
}

.btn-trial {
    background: #1976d2;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.btn-trial:hover {
    background: #1565c0;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-section {
    background: #f2f6fb;
    color: #333;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #1976d2;
    font-weight: 600;
}

.section {
    padding: 80px 0;
}

.section img {
    max-width: 100%;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #1976d2;
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #1976d2;
    border-radius: 2px;
}

.cta-section {
    background: #f2f6fb;
    color: #333;
    padding: 80px 0;
    text-align: center;
}

.cta-section .container {
    background: #fff;
    padding: 80px 40px;
    border-radius: 20px;
}        

.cta-button {
    display: inline-block;
    background: #1976d2;
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.cta-button:hover {
    background: #1565c0;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

/* IPO Definition Box */
.ipo-definition-box {
    border-radius: 15px;
    padding:0px 40px;
    margin: 40px 0;
    text-align: center;
}

.ipo-definition-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 20px;
}

.ipo-definition-text {
    font-size: 1.2rem;
    color: #2c3e50;
    line-height: 1.8;
}

.ipo-key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.key-point-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #1976d2;
}

.key-point-icon {
    width: 60px;
    height: 60px;
    background: #1976d2;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.key-point-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.key-point-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.ipo-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin: 40px 0;
    align-items: center;
}

.comparison-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.comparison-box.traditional {
    border: 2px solid #dc2626;
}

.comparison-box.ipo-new {
    border: 2px solid #0369a1;
}

.comparison-arrow {
    font-size: 3rem;
    color: #64748b;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.15);
    border: 2px solid #64748b;
}

.comparison-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.comparison-title.traditional {
    color: #dc2626;
}

.comparison-title.ipo-new {
    color: #0369a1;
}

.comparison-steps {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    font-weight: 500;
}

.comparison-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid #e5e7eb;
}

.comparison-step.traditional {
    border-color: #f87171;
    border-style: dashed;
}

.comparison-step.ipo-new {
    border-color: #60a5fa;
    border-style: solid;
}

.comparison-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.step-icon.traditional {
    background: #dc2626;
}

.step-icon.ipo-new {
    background: #0369a1;
}

.step-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.step-arrow {
    font-size: 1.8rem;
    color: #9ca3af;
    margin: 8px 0;
    font-weight: 700;
}

/* Enhanced comparison table styles */
.comparison-table-container {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: linear-gradient(135deg, #1976d2, #1565c0);
}

.comparison-table th {
    color: white;
    padding: 20px 25px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comparison-table th:first-child {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    font-size: 1.2rem;
    position: relative;
    width: 200px;
}

.comparison-table th:first-child::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.comparison-table td {
    padding: 18px 25px;
    border-bottom: 1px solid #e0e4e7;
    vertical-align: middle;
    line-height: 1.6;
    color: #333;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-table td:first-child {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    font-weight: 700;
    color: #2c3e50;
    border-right: 3px solid #1976d2;
    font-size: 1rem;
    width: 200px;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Highlight labels */
.item-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.05rem;
}

.item-label i {
    color: #1976d2;
    font-size: 1.1rem;
}

/* Comparison Grid Styles */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.comparison-card {
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-card.traditional {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-left-color: #ef4444;
}

.comparison-card.ipo {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left-color: #06b6d4;
}

.comparison-item {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.comparison-item.traditional {
    color: #7f8c8d;
}

.comparison-item.ipo {
    color: #2c3e50;
}

.comparison-icon {
    font-size: 1.2rem;
}

.comparison-icon.traditional {
    color: #ef4444;
}

.comparison-icon.ipo {
    color: #06b6d4;
}

.background-section {
    background: #f8f9fa;
    padding: 50px 0;
}

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

.background-point {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1976d2;
    text-align: center;
}

.background-point-image {
    width: 240px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
}

.background-point-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-point h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.background-point h4 i {
    display: none;
}

.background-point p {
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.automation-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.automation-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid;
    text-align: center;
}

.automation-card.automation {
    border-top-color: #f39c12;
}

.automation-card.orchestration {
    border-top-color: #3498db;
}

.automation-image {
    width: 440px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
}

.automation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.automation-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.automation-card p {
    color: #666;
    line-height: 1.6;
}

/* IPOコンポーネント円形配置 */
.ipo-circular-components {
    position: relative;
    max-width: 1145px;
    height: auto;
    margin: 60px auto;
}

.ipo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.ipo-center h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1976d2;
    margin: 0;
    line-height: 1.2;
}

.ipo-center .subtitle {
    font-size: 1.8rem;
    color: #1976d2;
    margin: 5px 0;
}

.ipo-center .main-title {
    font-size: 1.8rem;
    color: #1976d2;
    margin: 0;
}

.ipo-center .highlight {
    color: #e74c3c;
    font-weight: 800;
}

.ipo-component-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #34567b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(52, 86, 123, 0.3);
    transition: transform 0.3s ease;
}

.ipo-component-circle:hover {
    transform: scale(1.05);
}

.ipo-component-circle.top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.ipo-component-circle.bottom-left {
    bottom: 20px;
    left: 50px;
}

.ipo-component-circle.bottom-right {
    bottom: 20px;
    right: 50px;
}

.ipo-component-description {
    position: absolute;
    width: 280px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1976d2;
    z-index: 5;
}

.ipo-component-description h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.ipo-component-description p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.ipo-component-description.desc-top {
    top: -20px;
    left: -140px;
}

.ipo-component-description.desc-bottom-left {
    bottom: -20px;
    left: -160px;
}

.ipo-component-description.desc-bottom-right {
    bottom: -20px;
    right: -160px;
}

.ipo-features {
    background: #f8f9fa;
    padding: 50px 0;
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #1976d2;
}

.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* FAQ Styles */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-question i {
    color: #1976d2;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 20px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.faq-answer a {
    color: #1e73be;
}

/* Footer */
.footer {
    background: #ffffff;
    color: #333;
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #1976d2;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background: #1e3a5f;
    color: white;
    margin: 0 -20px;
}

.footer-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1976d2;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.footer-top-button:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

/* IPO説明セクション用のスタイル */
.ipo-explanation-section {
    margin: 50px 0;
}

.ipo-explanation-item {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.ipo-explanation-item.reverse {
    grid-template-columns: 300px 1fr;
}

.ipo-explanation-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ipo-explanation-content h3 i {
    font-size: 1.2rem;
}

.ipo-explanation-content p {
    margin-bottom: 15px;
}

.ipo-explanation-content p.main-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.ipo-explanation-content p.sub-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.ipo-explanation-image {
    text-align: center;
}

.ipo-explanation-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* YouTube動画セクション用のスタイル */
.youtube-section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 50px 0;
}

.youtube-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.youtube-text-content {
    padding: 20px;
}

.youtube-text-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 25px;
    line-height: 1.3;
}

.youtube-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.youtube-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.youtube-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.youtube-button.primary {
    background: #1976d2;
    color: white;
}

.youtube-button.primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

.youtube-button.secondary {
    background: #fff;
    color: #1976d2;
    border: 2px solid #1976d2;
}

.youtube-button.secondary:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-2px);
}

/* 従来手法との比較スタイル - 表形式 */
.method-comparison-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.method-comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(25,118,210,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.7;
    z-index: 1;
}

.method-comparison-section .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.method-comparison-overview {
    text-align: center;
    margin-bottom: 60px;
}

.method-comparison-overview h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1976d2;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.method-comparison-overview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #1565c0);
    border-radius: 2px;
}

.method-comparison-overview p {
    font-size: 1.2rem;
    color: #666;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 比較表のスタイル */
.method-comparison-table {
    margin: 60px 0;
    overflow-x: auto;
}

.method-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ヘッダー部分 */
.method-comparison-table thead {
    background: linear-gradient(135deg, #1976d2, #1565c0);
}

.method-comparison-table th {
    color: white;
    padding: 20px 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.method-comparison-table th:last-child {
    border-right: none;
}

.method-comparison-table th:first-child {
    font-size: 1.2rem;
    width: 180px;
    min-width: 180px;
}

/* 各サービスのヘッダー */
.method-comparison-table .service-header {
    text-align: center;
    padding: 15px;
}

.method-comparison-table .service-header h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: white;
}

.method-comparison-table .service-header p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/*関連リンク*/
.connection {
    padding: 10px 20px;
    background: #f8f9fa;
    margin-top: 10px;
    font-size: 14px;
}

.connection a {
    color: #1e73be;
    text-decoration: none;
}

/* IPOカラムのスタイル - エフェクト削除 */
.method-comparison-table .ipo-column {
    background: linear-gradient(135deg, #1976d2, #1565c0, #0d47a1);
    position: relative;
}

/* テーブル本体 */
.method-comparison-table tbody tr {
    border-bottom: 1px solid #e0e4e7;
}

.method-comparison-table tbody tr:hover {
    background: #f8fafc;
}

.method-comparison-table tbody tr:last-child {
    border-bottom: none;
}

.method-comparison-table td {
    padding: 18px 15px;
    vertical-align: middle;
    line-height: 1.6;
    color: #333;
    border-right: 1px solid #e0e4e7;
    text-align: center;
}

.method-comparison-table td:last-child {
    border-right: none;
}

.method-comparison-table td:first-child {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    font-weight: 700;
    color: #2c3e50;
    border-right: 3px solid #1976d2;
    font-size: 1rem;
    width: 180px;
    min-width: 180px;
}

/* IPOカラムの中身 */
.method-comparison-table .ipo-cell {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    font-weight: 600;
    color: #1976d2;
    position: relative;
}

.method-comparison-table .ipo-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1976d2, #1565c0);
}

/* 強調表示 */
.method-comparison-table .highlight-text {
    color: #1976d2;
    font-weight: 700;
}

.method-comparison-table .negative-text {
    color: #e74c3c;
}

.method-comparison-table .positive-text {
    color: #27ae60;
}

/* 比較アイコンスタイル */
.comparison-icon {
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 10px;
    vertical-align: middle;
}

.comparison-icon.positive {
    color: #27ae60;
}

.comparison-icon.negative {
    color: #e74c3c;
}

.comparison-icon.partial {
    color: #f39c12;
}

/* アイコン付きセルのスタイル */
.icon-cell {
    text-align: center;
    vertical-align: middle;
}

/* 最下部のハイライト */
.method-highlight {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(25, 118, 210, 0.3);
}

.method-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: highlight-shine 3s infinite;
}

@keyframes highlight-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.method-highlight h4 {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.method-highlight p {
    font-size: 1.3rem;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.method-highlight strong {
    color: #ffeb3b;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* メディアクエリ */
@media (max-width: 1024px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .btn-download, .btn-trial {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .background-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .method-comparison-table {
        overflow-x: auto;
        margin: 30px 0;
    }

    .method-comparison-table table {
        min-width: 800px;
        font-size: 0.9rem;
    }

    .method-comparison-table th,
    .method-comparison-table td {
        padding: 12px 10px;
        word-break: break-word;
    }

    .method-comparison-table th {
        font-size: 0.9rem;
        white-space: normal;
    }

    .method-comparison-table td:first-child {
        width: 140px;
        min-width: 140px;
    }

    .method-comparison-table .service-header h4 {
        font-size: 1.1rem;
    }

    .method-comparison-table .service-header p {
        font-size: 0.8rem;
    }

    .youtube-section-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-download, .btn-trial {
        padding: 8px 16px;
        font-size: 0.8rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 15px;
        font-size: 0.85rem;
        word-break: break-word;
    }
    
    .comparison-table th {
        font-size: 0.9rem;
        white-space: normal;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        font-size: 1.1rem;
        order: 1;
    }
    
    .mobile-menu-toggle {
        order: 2;
    }
    
    .header-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .comparison-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .comparison-title {
        font-size: 1.2rem;
    }
    
    .comparison-item {
        font-size: 0.9rem;
    }
    
    .automation-comparison {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .background-points {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .ipo-key-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ipo-comparison {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
        width: 60px;
        height: 60px;
        font-size: 2rem;
        align-self: center;
        justify-self: center;
    }
    
    .ipo-circular-components {
        width: 100%;
        height: 500px;
        max-width: 500px;
    }
    
    .ipo-component-circle {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }
    
    .ipo-component-description {
        width: 220px;
        padding: 15px;
        font-size: 0.85rem;
    }
    
    .ipo-component-description h4 {
        font-size: 1rem;
    }
    
    .ipo-component-description p {
        font-size: 0.8rem;
    }
    
    .ipo-center h3 {
        font-size: 1.4rem;
    }
    
    .ipo-center .subtitle {
        font-size: 1rem;
    }
    
    .ipo-center .main-title {
        font-size: 1.3rem;
    }
    
    /* IPO説明セクションのレスポンシブ対応 */
    .ipo-explanation-item,
    .ipo-explanation-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ipo-explanation-image {
        order: -1;
    }

    .method-comparison-table {
        overflow-x: auto;
        margin: 20px 0;
    }

    .method-comparison-table table {
        min-width: 700px;
        font-size: 0.85rem;
    }

    .method-comparison-table th,
    .method-comparison-table td {
        padding: 10px 8px;
        word-break: break-word;
    }

    .method-comparison-table th {
        font-size: 0.85rem;
        white-space: normal;
    }

    .method-comparison-table td:first-child {
        width: 120px;
        min-width: 120px;
    }

    .method-comparison-table .service-header h4 {
        font-size: 1rem;
    }

    .method-comparison-table .service-header p {
        font-size: 0.75rem;
    }

    .youtube-section-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .youtube-text-content {
        padding: 10px;
    }

    .youtube-text-content h3 {
        font-size: 1.5rem;
    }

    .youtube-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .youtube-button {
        text-align: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .method-comparison-overview h2 {
        font-size: 2rem;
    }

    .method-highlight h4 {
        font-size: 1.5rem;
    }

    .method-highlight p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 0.95rem;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.75rem;
        word-break: break-word;
    }
    
    .comparison-table th {
        font-size: 0.8rem;
        white-space: normal;
    }
    
    .item-label {
        font-size: 0.85rem;
    }
    
    .item-label i {
        font-size: 0.9rem;
    }
    
    .btn-download, .btn-trial {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .header-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .comparison-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .comparison-title {
        font-size: 1.1rem;
    }
    
    .comparison-item {
        font-size: 0.85rem;
    }
    
    .comparison-icon {
        font-size: 1rem;
    }
    
    .comparison-item {
        gap: 10px;
    }
    
    .ipo-circular-components {
        width: 100%;
        height: 400px;
        max-width: 400px;
    }
    
    .ipo-component-circle {
        width: 100px;
        height: 100px;
        font-size: 1.2rem;
    }
    
    .ipo-component-description {
        width: 180px;
        padding: 12px;
        font-size: 0.75rem;
    }
    
    .ipo-component-description h4 {
        font-size: 0.9rem;
    }
    
    .ipo-component-description p {
        font-size: 0.7rem;
    }
    
    .ipo-center h3 {
        font-size: 1.1rem;
    }
    
    .ipo-center .subtitle {
        font-size: 0.9rem;
    }
    
    .ipo-center .main-title {
        font-size: 1rem;
    }

    .method-comparison-table {
        overflow-x: auto;
        margin: 15px 0;
    }

    .method-comparison-table table {
        min-width: 600px;
        font-size: 0.8rem;
    }

    .method-comparison-table th,
    .method-comparison-table td {
        padding: 8px 6px;
        word-break: break-word;
    }

    .method-comparison-table th {
        font-size: 0.8rem;
        white-space: normal;
    }

    .method-comparison-table td:first-child {
        width: 100px;
        min-width: 100px;
    }

    .method-comparison-table .service-header h4 {
        font-size: 0.9rem;
    }

    .method-comparison-table .service-header p {
        font-size: 0.7rem;
    }

    .youtube-text-content h3 {
        font-size: 1.3rem;
    }

    .youtube-text-content p {
        font-size: 1rem;
    }

    .method-comparison-overview h2 {
        font-size: 1.8rem;
    }

    .method-highlight h4 {
        font-size: 1.3rem;
    }

    .method-highlight p {
        font-size: 1rem;
    }
}