:root {
    --primary-color: #ffd700; /* 事務所カラーのイエロー */
    --primary-dark: #ccac00;
    --secondary-color: #004d40; /* 信頼感のあるダークグリーン */
    --accent-color: #e67e22; /* CTA用のオレンジ */
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --container-width: 1100px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: "Noto Serif JP", "Shippori Mincho", serif;
    font-weight: 700;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--secondary-color);
}

.logo-text {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.header-cta {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
}

.header-cta:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('./images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 130px;
}

.hero-content {
    max-width: 650px;
    margin-top: 60px;
}

.hero-tagline {
    display: inline-block;
    background: var(--primary-color);
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.hero h1 span {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.hero-features {
    margin-bottom: 40px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-features li::before {
    content: '✔';
    color: var(--accent-color);
    font-weight: bold;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn-main {
    background: var(--accent-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-sub {
    background: #fff;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Pain Points */
.pain-points {
    background: var(--bg-light);
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
}

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

.pain-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 5px solid #bdc3c7;
}

.pain-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Solutions / Why Lawyers */
.why-lawyers {
    background: var(--secondary-color);
    color: #fff;
}

.why-lawyers .section-title h2 {
    color: var(--primary-color);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.solution-content {
    counter-reset: solution-counter;
}

.solution-item {
    margin-bottom: 30px;
}

.solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-item h3::before {
    counter-increment: solution-counter;
    content: '0' counter(solution-counter);
    color: var(--primary-color);
    font-size: 0.8em;
}

/* Pricing */
.pricing {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.pricing-box {
    background: #fff;
    border: none;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.pricing-box::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin: 10px 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.price span {
    font-size: 1.2rem;
    margin-left: 5px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.btn-main {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

/* Comparison Table */
.comparison {
    background: var(--bg-white);
}

.comparison-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

th, td {
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

th {
    background: var(--bg-light);
    color: var(--secondary-color);
    font-weight: bold;
}

.col-feature {
    width: 30%;
    text-align: left;
    background: var(--bg-light);
    font-weight: bold;
}

.col-lawyer {
    width: 35%;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary-color);
    position: relative;
}

.col-private {
    width: 35%;
    color: var(--text-light);
}

.check-ok {
    color: #e67e22;
    font-size: 1.5rem;
    font-weight: bold;
}

.check-ng {
    color: #95a5a6;
    font-size: 1.2rem;
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.faq-q {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    transition: margin-bottom 0.3s ease;
}

.faq-q::before {
    content: 'Q';
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 900;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-light);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* 横線 */
.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

/* 縦線 */
.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    transform: rotate(180deg);
    background: var(--accent-color);
}

.faq-item.active .faq-q {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.faq-a {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
    color: var(--text-color);
    line-height: 1.8;
}

.faq-a p {
    display: flex;
    gap: 15px;
    margin: 0;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.faq-a p::before {
    content: 'A';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.faq-item.active .faq-a {
    max-height: 500px;
    opacity: 1;
}

/* Profile Section */
.profile {
    background: var(--bg-light);
}

.profile-card {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    display: flex;
    gap: 40px;
    align-items: center;
    border-top: 5px solid var(--primary-color);
}

.profile-image {
    flex: 1;
    min-width: 240px;
    text-align: center;
}

.profile-image img {
    width: 100%;
    max-width: 260px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.profile-details {
    flex: 2;
}

.profile-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50px;
    margin-bottom: 15px;
}

.profile-name {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.profile-name span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
    margin-left: 10px;
}

.profile-bio {
    line-height: 1.8;
    margin-bottom: 20px;
}

.profile-link {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.profile-link:hover {
    text-decoration: underline;
}

/* Access Section */
.access {
    background: var(--bg-white);
}

.access-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.access-info {
    padding: 40px;
}

.access-info h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.access-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0;
}

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

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .cta-group { flex-direction: column; }
    .solution-grid { grid-template-columns: 1fr; }
    header .header-cta { display: none; }
    .profile-card { flex-direction: column; padding: 30px; text-align: center; }
}

/* Flow Section */
.flow {
    background: var(--bg-white);
}

.flow-steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: #f0f0f0;
    z-index: 1;
}

.flow-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.flow-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.flow-text {
    flex-grow: 1;
}

.flow-text h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-family: 'Noto Serif JP', serif;
}

.flow-text p {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 576px) {
    .flow-steps::before {
        left: 20px;
    }
    .flow-step {
        gap: 15px;
        padding: 20px;
    }
    .flow-num {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

/* LINE Button Styles */
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #06C755;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 10px;
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.btn-line::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fff"><path d="M24 10.304c0-5.369-5.383-9.738-12-9.738-6.616 0-12 4.369-12 9.738 0 4.814 4.269 8.846 10.036 9.608.391.084.922.258 1.057.592.122.302.079.758.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.967 1.739-1.907 2.548-3.882 2.548-5.978zm-14.887 2.37h-3.419c-.318 0-.575-.257-.575-.576V6.634c0-.319.257-.576.575-.576.319 0 .576.257.576.576v4.889h2.843c.319 0 .576.257.576.576s-.257.575-.576.575zm1.75-1.151h-1.151V6.634c0-.319.257-.576.575-.576.319 0 .576.257.576.576v4.889c0 .319-.257.576-.576.576zm3.328 0h-1.151c-.318 0-.575-.257-.575-.576V6.634c0-.319.257-.576.575-.576.319 0 .576.257.576.576v4.889c0 .319-.257.576-.576.576zm5.127-4.889v4.889c0 .319-.257.576-.576.576h-1.151c-.318 0-.575-.257-.575-.576v-3.082l-2.029 3.513c-.092.164-.265.263-.454.263-.031 0-.063-.003-.094-.009-.208-.039-.36-.217-.36-.431V6.634c0-.319.257-.576.575-.576h1.151c.318 0 .575.257.575.576v3.08l2.029-3.511c.092-.164.265-.264.454-.264h.094c.208.038.36.216.36.43z"/></svg>') no-repeat center;
    background-size: contain;
}

/* Shine Animation */
.btn-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Floating Banner */
.floating-line-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: fadeIn 0.5s ease-out;
    display: flex;
    gap: 10px;
}

.floating-line-banner .btn-line,
.floating-line-banner .btn-mail {
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-mail {
    display: none;
}

@media (max-width: 768px) {
    .floating-line-banner {
        bottom: 0;
        right: 0;
        width: 100%;
        text-align: center;
        gap: 0;
    }
    .floating-line-banner .btn-line {
        flex: 1;
        width: auto;
        border-radius: 0;
        padding: 15px 5px;
        font-size: 1.1rem;
    }
    .btn-mail {
        display: inline-flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        background: var(--accent-color);
        color: #fff;
        padding: 15px 5px;
        font-weight: bold;
        font-size: 1.1rem;
        position: relative;
        overflow: hidden;
        text-decoration: none;
        border-radius: 0;
        gap: 5px;
    }
    .btn-mail::before {
        content: '✉';
        font-size: 1.3rem;
    }
    .btn-mail::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-20deg);
        animation: shine 3s infinite;
        animation-delay: 1.5s;
    }
}


