/* 基本設定 */
:root {
    --primary-color: #003366; /* 濃い青 */
    --secondary-color: #005A9C; /* やや明るい青 */
    --accent-color: #E6A23C; /* アクセントのゴールド/オレンジ */
    --bg-color: #F8F9FA; /* 背景色 */
    --text-color: #333333;
    --white-color: #FFFFFF;
    --font-family: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

.sp-only {
    display: none;
}

/* ヘッダー */
.header {
    background-color: var(--white-color);
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
}

.header h1 img {
    height: 40px;
    width: auto;
}

.header-contact {
    text-align: right;
}

.header-reception {
    font-size: 12px;
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.header-tel {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ファーストビュー */
.fv {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://placehold.co/1200x600/EBF5FF/FFFFFF?text=');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
}

.fv-content {
    max-width: 700px;
    margin: 0 auto;
}

.fv-sub-catch {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.fv-catch {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 0 0 20px 0;
}

.fv-catch span {
    color: var(--accent-color);
    border-bottom: 4px solid var(--accent-color);
}

.fv-description {
    font-size: 16px;
    margin-bottom: 30px;
}

.fv-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.fv-feature-item {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
}

.cta-area {
    margin-top: 20px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #f7b733);
    color: var(--white-color);
    font-size: 24px;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.cta-button span {
    display: block;
}

.cta-button small {
    font-size: 14px;
    font-weight: 400;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.section-title span {
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 5px;
}

/* 悩み */
.problems {
    background-color: var(--white-color);
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.problem-item {
    background-color: var(--bg-color);
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    font-weight: 700;
}

.solution-message {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 30px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
}

/* 解決策 */
.solution {
    background-color: var(--bg-color);
}

.solution-cases {
    display: flex;
    gap: 40px;
}

.solution-case {
    background-color: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.case-header {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 20px;
    text-align: center;
}

.case-label {
    font-size: 14px;
    font-weight: 700;
}

.case-header h4 {
    font-size: 22px;
    margin: 10px 0 0 0;
}

.case-body {
    padding: 30px;
}
.case-image{
    margin-bottom: 20px;
    border-radius: 5px;
}

/* 選ばれる理由 */
.reasons {
    background-color: var(--white-color);
}

.reason-list {
    display: flex;
    gap: 30px;
}

.reason-item {
    flex: 1;
    text-align: center;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
}

.reason-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.reason-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 弁護士紹介 */
.lawyer {
    background-color: var(--bg-color);
}

.lawyer-profile {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
}

.lawyer-photo img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.lawyer-info {
    flex: 1;
}

.lawyer-position {
    font-size: 14px;
    margin-bottom: 5px;
}

.lawyer-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}
.lawyer-bar{
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #666;
}
.lawyer-message {
    margin: 0;
}


/* 解決までの流れ */
.flow {
    background-color: var(--white-color);
}

.flow-list {
    position: relative;
}

.flow-list::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 40px;
    width: 2px;
    background-color: #ddd;
}

.flow-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.flow-item:last-child {
    margin-bottom: 0;
}

.flow-step {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    text-align: center;
    font-weight: 700;
    color: var(--secondary-color);
    background-color: var(--white-color);
}

.flow-step::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    background-color: var(--white-color);
}

.flow-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}


/* よくある質問 */
.faq {
    background-color: var(--bg-color);
}

.faq-item {
    background-color: var(--white-color);
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.faq-q {
    font-size: 18px;
    font-weight: 700;
    padding: 20px 50px 20px 20px;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.faq-q::before, .faq-q::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 15px;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}
.faq-q::after {
     transform: translateY(-50%) rotate(90deg);
}

.faq-a {
    padding: 0 20px 20px 20px;
    margin: 0;
}

/* お問い合わせフォーム */
.contact {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.contact .section-title{
    color: var(--white-color);
}
.contact .section-title span{
    border-bottom-color: var(--accent-color);
}
.contact-lead{
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}
.contact-privacy{
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-required, .form-optional {
    font-size: 12px;
    font-weight: 400;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
}
.form-required {
    background-color: #dc3545;
    color: var(--white-color);
}
.form-optional {
    background-color: #6c757d;
    color: var(--white-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea.form-control {
    resize: vertical;
}
.form-privacy{
    text-align: center;
    margin: 30px 0;
}
.form-privacy a{
    font-weight: 700;
    text-decoration: underline;
}
.form-submit {
    text-align: center;
}

.submit-button {
    background: linear-gradient(135deg, var(--accent-color), #f7b733);
    color: var(--white-color);
    font-size: 20px;
    font-weight: 700;
    padding: 15px 50px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.submit-button:hover {
    transform: translateY(-3px);
}

/* フッター */
.footer {
    background-color: var(--text-color);
    color: #ccc;
    padding: 40px 0;
    font-size: 14px;
    text-align: center;
}

.footer-info p {
    margin: 5px 0;
}

.footer-info a {
    color: var(--white-color);
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #aaa;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
    .pc-only {
        display: none;
    }
    .section-title{
        font-size: 24px;
    }

    /* ヘッダー */
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    .header h1 img {
        height: 30px;
    }
    .header-tel{
        font-size: 20px;
    }

    /* FV */
    .fv {
        padding: 40px 0;
    }
    .fv-catch {
        font-size: 28px;
    }
    .fv-sub-catch {
        font-size: 16px;
    }
    .fv-features {
        flex-direction: column;
    }
    .cta-button{
        font-size: 20px;
        padding: 15px 40px;
    }

    /* 悩み */
    .problem-list {
        grid-template-columns: 1fr;
    }
    
    /* 解決策 */
    .solution-cases {
        flex-direction: column;
    }
    .case-header h4{
        font-size: 20px;
    }
    
    /* 選ばれる理由 */
    .reason-list {
        flex-direction: column;
    }

    /* 弁護士紹介 */
    .lawyer-profile{
        flex-direction: column;
        padding: 20px;
    }
    .lawyer-photo img {
        width: 150px;
        height: 150px;
    }
    .lawyer-name{
        font-size: 24px;
    }

    /* 流れ */
    .flow-list::before{
        left: 15px;
    }
    .flow-item{
        padding-left: 40px;
    }
    .flow-step{
        width: 30px;
        font-size: 12px;
    }
    .flow-step::before{
        left: 5px;
        width: 20px;
        height: 20px;
    }

    /* フォーム */
    .form{
        padding: 20px;
    }
}

/* ... existing code ... -->
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
}

.header h1 a {
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.4;
}

.header h1 img {
    height: 50px;
    width: auto;
}

.header-contact {
    text-align: right;
}
/* ... existing code ... -->

