/* style.css */

/* 基本設定 */
* {
    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.7;
    color: #333;
    background-color: #fdf8fd;
}

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

/* ヘッダー */
header {
    background: linear-gradient(135deg, #ff6b9d 0%, #e91e63 50%, #ad1457 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* 著者セクション */
.author-section {
    background: linear-gradient(45deg, #f8bbd9 0%, #e1bee7 100%);
    padding: 40px 0;
    margin-bottom: 40px;
}

.author-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #7b1fa2;
    font-size: 1.8rem;
}

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

.author-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.1);
    border: 2px solid #f8bbd9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.15);
}

.author-card h3 {
    margin-bottom: 15px;
    color: #e91e63;
}

.author-card h3 a {
    color: #e91e63;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.author-card h3 a:hover {
    border-bottom-color: #e91e63;
}

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

/* メインコンテンツ */
main {
    margin: 40px auto;
}

.intro-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
    border: 1px solid #f8bbd9;
}

.intro-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin: 20px auto;
    display: block;
    border: 3px solid #f8bbd9;
}

.lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-section {
    background: white;
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.08);
    border: 1px solid #f8bbd9;
}

.content-section h2 {
    color: #e91e63;
    font-size: 2rem;
    margin-bottom: 25px;
    border-left: 5px solid #e91e63;
    padding-left: 20px;
}

.content-section h3 {
    color: #ad1457;
    font-size: 1.5rem;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8bbd9;
}

.content-section h4 {
    color: #7b1fa2;
    font-size: 1.2rem;
    margin: 20px 0 15px 0;
}

.content-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
    border: 3px solid #f8bbd9;
}

/* テーブル */
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.1);
}

.comparison-table th {
    background: linear-gradient(45deg, #e91e63, #ad1457);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #f8bbd9;
}

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

.comparison-table tr:hover {
    background-color: #f8bbd9;
    transition: background-color 0.3s ease;
}

/* 業種比較 */
.industry-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.industry-box {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e91e63;
}

.industry-box h4 {
    color: #e91e63;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.industry-box ul {
    list-style: none;
    padding-left: 0;
}

.industry-box li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.industry-box li::before {
    content: '🌸';
    position: absolute;
    left: 0;
}

/* メリット・デメリットボックス */
.merit-box, .demerit-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 5px solid #4caf50;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.1);
}

.demerit-box {
    border-left-color: #f44336;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.1);
}

.merit-box h4 {
    color: #4caf50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.demerit-box h4 {
    color: #f44336;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* 費用比較 */
.cost-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.cost-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #ff9800;
}

.cost-box h3 {
    color: #f57c00;
    margin-bottom: 20px;
}

.cost-box ul {
    list-style: none;
    padding-left: 0;
}

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

.cost-box li::before {
    content: '💰';
    position: absolute;
    left: 0;
}

.cost-total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #f57c00;
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.cost-summary {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border: 2px solid #4caf50;
}

.cost-summary h4 {
    color: #2e7d32;
    margin-bottom: 15px;
}

/* 移行関連 */
.transition-benefits, .procedure-steps {
    margin: 20px 0;
}

.transition-benefits ul {
    list-style: none;
    padding-left: 0;
}

.transition-benefits li {
    background: #f3e5f5;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #9c27b0;
}

.step {
    background: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #e91e63;
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.1);
}

.step h4 {
    color: #e91e63;
    margin-bottom: 10px;
}

/* 判断ガイド */
.decision-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.guide-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e91e63;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.1);
}

.guide-box.recommend {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}

.guide-box h3 {
    color: #e91e63;
    margin-bottom: 20px;
    border-bottom: none;
}

.guide-box ul {
    list-style: none;
    padding-left: 0;
}

.guide-box li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.guide-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.hybrid-approach {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border: 2px solid #2196f3;
}

.hybrid-approach h4 {
    color: #1976d2;
    margin-bottom: 15px;
}

/* 成功ポイント */
.success-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.point-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #f8bbd9;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.1);
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-5px);
}

.point-card h4 {
    color: #e91e63;
    margin-bottom: 15px;
}

/* FAQ */
.faq-section {
    margin: 30px 0;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #f8bbd9;
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.05);
}

.faq-item h4 {
    color: #e91e63;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* 将来の変更 */
.future-changes {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid #ffc107;
}

.future-changes h4 {
    color: #f57c00;
    margin-bottom: 15px;
}

.preparation-points {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid #4caf50;
}

.preparation-points h4 {
    color: #2e7d32;
    margin-bottom: 15px;
}

/* まとめセクション */
.summary-box {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid #e91e63;
}

.summary-box h3 {
    color: #e91e63;
    margin-bottom: 20px;
    border-bottom: none;
}

.summary-box ul {
    list-style: none;
    padding-left: 0;
}

.summary-box li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.summary-box li::before {
    content: '🎯';
    position: absolute;
    left: 0;
}

.cta-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid #2196f3;
    text-align: center;
}

.cta-section h3 {
    color: #1976d2;
    margin-bottom: 15px;
    border-bottom: none;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #ad1457 0%, #7b1fa2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

footer a {
    color: #f8bbd9;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

footer a:hover {
    border-bottom-color: #f8bbd9;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header .subtitle {
        font-size: 1rem;
    }
    
    .industry-comparison,
    .cost-comparison,
    .decision-guide {
        grid-template-columns: 1fr;
    }
    
    .author-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 25px 20px;
    }
    
    .intro-section {
        padding: 25px 20px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .success-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 0;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .content-section,
    .intro-section {
        padding: 20px 15px;
    }
    
    .comparison-table,
    .cost-box,
    .guide-box {
        font-size: 0.9rem;
    }
    
    .intro-image,
    .content-image {
        height: 200px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

/* リスト共通スタイル */
ul:not(.no-style) {
    list-style: none;
    padding-left: 0;
}

ul:not(.no-style) li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

ul:not(.no-style) li::before {
    content: '🌸';
    position: absolute;
    left: 0;
}

/* 強調テキスト */
strong {
    color: #e91e63;
    font-weight: 600;
}

/* リンクスタイル */
a {
    color: #e91e63;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    border-bottom-color: #e91e63;
    opacity: 0.8;
}

a[target="_blank"]::after {
    content: " 🔗";
    font-size: 0.8em;
    opacity: 0.7;
}