/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}

/* ヘッダー */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.header-contact {
    text-align: right;
}

.header-tel {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
    margin: 0;
}

.header-hours {
    font-size: 12px;
    margin: 0;
}

/* メインビジュアル */
.hero {
    background-image: url('https://storage.googleapis.com/gemini-prod-us-west1-assets/original_images/V2_20240819_163435_00_generated.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-text {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero-subtitle {
    font-size: 18px;
    margin: 0 0 10px;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.4;
}

.hero-description {
    font-size: 16px;
    margin: 0 0 30px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, #f09819, #ff5858);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #0056b3;
}

.bg-light {
    background-color: #f8f9fa;
}

/* お悩みセクション */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.problem-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid #d9534f;
    padding: 20px;
    border-radius: 4px;
}

.problem-lead {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

/* 解決策セクション */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.solution-item-title {
    font-size: 20px;
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 15px;
}

/* 解決までの流れ */
.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.flow-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #ccc;
    z-index: -1;
}

.flow-step {
    width: 22%;
    text-align: center;
}

.flow-step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #0056b3;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 20px;
}

.flow-step-title {
    font-size: 18px;
    margin-bottom: 10px;
}

/* 弁護士紹介 */
.attorney-profile {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.attorney-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.attorney-info {
    flex: 1;
}
.attorney-title {
    margin: 0;
    font-size: 16px;
}
.attorney-name {
    font-size: 28px;
    margin: 0;
}
.attorney-bar {
    margin: 0 0 20px;
    color: #666;
}
.attorney-message {
    margin: 0;
}

/* お問い合わせフォーム */
.contact-lead {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group .required {
    background-color: #d9534f;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-privacy {
    text-align: center;
    margin-bottom: 30px;
}

.form-privacy label {
    cursor: pointer;
}

.form-submit {
    text-align: center;
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    text-align: center;
}
.footer-info p {
    margin: 5px 0;
    font-size: 14px;
}
.footer-logo {
    font-size: 20px;
    margin: 0 0 20px;
}
.footer a {
    color: #fff;
}
.copyright {
    margin-top: 30px;
    font-size: 12px;
    color: #aaa;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    .header-contact {
        text-align: center;
    }

    .hero {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
        gap: 30px;
    }
    .flow-steps::before {
        display: none;
    }
    .flow-step {
        width: 100%;
    }

    .attorney-profile {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 20px;
    }
}
