/* ============================================
   FPオフィス「ライフデザイン」LP
   カラー: ネイビー(#1a3a52), ホワイト(#ffffff), ゴールド(#d4af37)
   ============================================ */

/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #1a3a52;
    --primary-white: #ffffff;
    --primary-gold: #d4af37;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 15px rgba(26, 58, 82, 0.1);
    --shadow-hover: 0 8px 25px rgba(26, 58, 82, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--primary-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-navy));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ヘッダー */
.header {
    background-color: var(--primary-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-weight: bold;
    font-size: 1.2rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: var(--primary-navy);
    font-weight: 500;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.header-cta {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--primary-white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ヒーロー */
.hero {
    background: linear-gradient(rgba(26, 58, 82, 0.7), rgba(26, 58, 82, 0.7)),
                url('../images/hero.jpg') center/cover no-repeat;
    color: var(--primary-white);
    padding: 180px 0 120px;
    margin-top: 80px;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--primary-white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--primary-white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-white);
    transform: translateY(-3px);
}

/* お悩みセクション */
.problems {
    background-color: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.problem-card {
    background-color: var(--primary-white);
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-gold);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.problem-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.problem-card h3 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-weight: 600;
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* サービス内容 */
.services {
    background-color: var(--primary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    color: var(--primary-white);
    padding: 40px;
    text-align: center;
    font-size: 3.5rem;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* メリット */
.merits {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a4a62 100%);
    color: var(--primary-white);
}

.merits .section-title h2 {
    color: var(--primary-white);
}

.merits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.merit-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.merit-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.merit-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--primary-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.merit-card p {
    opacity: 0.9;
    line-height: 1.7;
}

/* FP紹介 */
.fp-profile {
    background-color: var(--bg-light);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.profile-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.profile-image img {
    width: 100%;
    object-fit: cover;
}

.profile-details h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-title {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.profile-details p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.credentials {
    background-color: var(--primary-white);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
    margin-top: 25px;
}

.credentials h4 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.credentials li::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 相談の流れ */
.flow {
    background-color: var(--primary-white);
}

.flow-steps {
    max-width: 900px;
    margin: 40px auto 0;
}

.flow-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.step-content {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 料金プラン */
.pricing {
    background-color: var(--bg-light);
}

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

.pricing-card {
    background-color: var(--primary-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border-color: var(--primary-gold);
    transform: scale(1.05);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-navy), #2a4a62);
    color: var(--primary-white);
    padding: 30px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-unit {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
    color: var(--text-light);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.pricing-btn {
    width: 100%;
    text-align: center;
}

/* お客様の声 */
.testimonials {
    background-color: var(--primary-white);
}

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

.testimonial-card {
    background-color: var(--bg-light);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stars {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

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

.faq-item {
    background-color: var(--primary-white);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background-color: var(--primary-white);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 会社情報 */
.company {
    background-color: var(--primary-white);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.company-info table {
    width: 100%;
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.company-info tr {
    border-bottom: 1px solid #e0e0e0;
}

.company-info tr:last-child {
    border-bottom: none;
}

.company-info th,
.company-info td {
    padding: 20px;
    text-align: left;
}

.company-info th {
    background-color: var(--primary-navy);
    color: var(--primary-white);
    font-weight: 600;
    width: 150px;
}

.company-info td {
    color: var(--text-light);
}

.company-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/office.jpg');
    background-size: cover;
    background-position: center;
}

/* お問い合わせ */
.contact {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2a4a62 100%);
    color: var(--primary-white);
}

.contact .section-title h2,
.contact .section-title p {
    color: var(--primary-white);
}

.contact-content {
    max-width: 700px;
    margin: 40px auto 0;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    background-color: var(--primary-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--primary-white);
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* フッター */
.footer {
    background-color: var(--primary-navy);
    color: var(--primary-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 968px) {
    .header-content {
        padding: 15px 0;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav a {
        display: block;
        padding: 20px 30px;
    }

    .hamburger {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .flow-step {
        grid-template-columns: 80px 1fr;
        gap: 20px;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロールアニメーション用 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}
