/* カサスブレイン改良版CSS - プロフィール強化版 */

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #2c3e50;
    line-height: 1.8;
}

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

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #2980b9;
}

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

.sp-only {
    display: none;
}

/* ヘッダー */
.header {
    background-color: #2c3e50;
    padding: 20px 0;
    border-bottom: 1px solid #34495e;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.header nav a {
    color: #ecf0f1;
    margin-left: 20px;
    font-size: 16px;
    transition: color 0.3s;
}

.header nav a:hover {
    color: #3498db;
    text-decoration: none;
}

.cta-button-header {
    background-color: #e67e22;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button-header:hover {
    background-color: #d35400;
    color: #fff !important;
}

/* メインコンテンツ */
main {
    padding-top: 40px;
}

section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
}

/* ヒーローセクション */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    color: #2c3e50;
    line-height: 1.4;
}

.hero .authority-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero h2 {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: normal;
    line-height: 1.8;
    color: #2c3e50;
}

.cta-button {
    background-color: #e67e22;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    background-color: #d35400;
    text-decoration: none;
    transform: scale(1.05);
}

/* プロフィールセクション */
.profile {
    background-color: #ffffff;
    padding: 80px 0;
}

/* 成長ストーリーセクション */
.profile-story {
    margin-bottom: 60px;
}

.story-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.story-content::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="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.story-content h3 {
    font-size: 28px;
    margin: 0 0 20px 0;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.story-content p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

.icon {
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
    color: #2c3e50;
    display: inline-block;
    margin: 0 2px;
}

.highlight-number {
    background: linear-gradient(120deg, #ffd89b 0%, #19547b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1.1em;
}

/* プロフィール詳細 */
.profile-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-text {
    flex: 1;
}

.profile-text h3 {
    font-size: 32px;
    margin: 0 0 30px 0;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

/* 学歴・権威性セクション */
.credentials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #3498db;
}

.credentials-section h4 {
    font-size: 22px;
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.credentials-list li {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.credentials-list li:hover {
    transform: translateX(5px);
}

/* 実績セクション */
.achievements-section {
    margin-bottom: 30px;
}

.achievements-section h4 {
    font-size: 22px;
    margin: 0 0 20px 0;
    color: #2c3e50;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 8px;
}

.achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements li {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-radius: 10px;
    border-left: 5px solid #e67e22;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.achievements li:hover {
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.2);
}

.achievements li::before {
    content: '✨';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #e67e22;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 価値提案セクション */
.value-proposition {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.value-proposition h4 {
    font-size: 22px;
    margin: 0 0 20px 0;
}

.value-formula {
    font-size: 24px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    display: block;
}

.value-text {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* 悩み */
.problems {
    background-color: #f8f9fa;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.problem-cards .card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #bdc3c7;
    font-size: 18px;
    line-height: 1.7;
    color: #2c3e50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.problem-cards .card strong {
    color: #e67e22;
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
}

/* 解決策 */
.solution-new {
    background-color: #f8f9fa;
    text-align: center;
}

.solution-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.solution-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    border: 2px solid #bdc3c7;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.solution-box h4 {
    font-size: 22px;
    color: #3498db;
    margin-top: 0;
}

.solution-box.after h4 {
    color: #e67e22;
}

.solution-box p {
    font-size: 18px;
    line-height: 1.6;
}

.solution-box .total-cost {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    color: #2c3e50;
}

.solution-arrow {
    font-size: 40px;
    color: #3498db;
}

.solution-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

/* サービス詳細 */
.roadmap {
    background-color: #ecf0f1;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #bdc3c7;
}

.tab-link {
    padding: 15px 30px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #7f8c8d;
    font-size: 18px;
    position: relative;
    transition: color 0.3s;
}

.tab-link.active {
    color: #3498db;
    font-weight: bold;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3498db;
}

.tab-content {
    display: none;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #bdc3c7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

.tab-content h4 {
    font-size: 24px;
    color: #e67e22;
    margin-top: 0;
    margin-bottom: 30px;
}

.phase {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #bdc3c7;
}

.phase:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.phase h5 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 料金 */
.pricing {
    background-color: #ecf0f1;
}

.pricing-flow-content {
    display: flex;
    gap: 50px;
}

.pricing-plans, .flow {
    flex: 1;
}

.pricing-plans h4, .flow h4 {
    font-size: 24px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.plan {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #bdc3c7;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.plan h5 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: #e67e22;
    margin: 0 0 10px;
}

.price span {
    font-size: 16px;
    font-weight: normal;
    color: #7f8c8d;
    margin-left: 10px;
}

.description {
    font-size: 16px;
    color: #7f8c8d;
}

/* 特別オファー */
.special-offer {
    border: 2px solid #e67e22 !important;
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #fdf2e9 100%) !important;
}

.special-offer::before {
    content: "特別限定オファー";
    position: absolute;
    top: -1px;
    right: -1px;
    background-color: #e67e22;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0 8px 0 8px;
}

.offer-text {
    background-color: rgba(230, 126, 34, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #e67e22;
}

.offer-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e50;
}

.pricing-offer {
    text-align: center;
    margin: 20px 0;
}

.original-price {
    font-size: 18px;
    color: #7f8c8d;
    margin: 0 0 5px 0;
}

.original-price del {
    text-decoration: line-through;
}

.arrow {
    font-size: 24px;
    font-weight: bold;
    color: #e67e22;
    margin: 5px 0;
}

.special-price {
    font-size: 36px;
    font-weight: bold;
    color: #e67e22;
    margin: 5px 0 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.special-price span {
    font-size: 16px;
    font-weight: normal;
    color: #7f8c8d;
    margin-left: 10px;
}

.flow ol {
    list-style: none;
    padding: 0;
    counter-reset: flow-counter;
}

.flow li {
    position: relative;
    padding: 20px 0 20px 50px;
    font-size: 18px;
    border-bottom: 1px solid #bdc3c7;
}

.flow li:first-child {
    padding-top: 0;
}

.flow li:last-child {
    border-bottom: none;
}

.flow li::before {
    counter-increment: flow-counter;
    content: counter(flow-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.flow li span {
    font-weight: bold;
    color: #3498db;
    margin-right: 10px;
}

/* 最終CTA */
.final-cta {
    background-color: #2c3e50;
    text-align: center;
}

.final-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ecf0f1;
}

/* フッター */
.footer {
    background-color: #2c3e50;
    color: #95a5a6;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #34495e;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    color: #ecf0f1;
}

.footer-links a {
    margin-left: 20px;
    color: #95a5a6;
}

.copyright {
    font-size: 14px;
    margin: 0;
}

/* フォームスタイル */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ecf0f1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    border: 1px solid #34495e;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    color: #2c3e50;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
    .pc-only {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header nav {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header nav a {
        margin-left: 10px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
    
    /* プロフィールのモバイル対応 */
    .profile-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .profile-image img {
        width: 180px;
        height: 180px;
    }
    
    .story-content {
        padding: 25px 20px;
    }
    
    .story-content h3 {
        font-size: 24px;
    }
    
    .story-content p {
        font-size: 16px;
    }
    
    .credentials-list {
        grid-template-columns: 1fr;
    }
    
    .value-formula {
        font-size: 20px;
    }
    
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .solution-comparison {
        flex-direction: column;
    }
    
    .solution-arrow {
        transform: rotate(90deg);
    }
    
    .pricing-flow-content {
        flex-direction: column;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 特別オファーのモバイル対応 */
    .special-offer::before {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .offer-text {
        padding: 10px;
    }
    
    .offer-text p {
        font-size: 14px;
    }
    
    .special-price {
        font-size: 28px;
    }
    
    .arrow {
        font-size: 20px;
    }
}