@charset "utf-8";
/* CSS Document */

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

/* 基本要素 */
body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Meiryo', 'メイリオ', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ヘッダー・フッター統合用スタイル */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
            line-height: 1.6;
            color: #333;
        }
        
        /* ヘッダースタイル */
        .site-header {
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-top {
            background: #1e3c72;
            color: white;
            padding: 10px 0;
            font-size: 14px;
        }
        
        .header-top-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .header-notice {
            flex: 1;
        }
        
        .header-contact {
            display: flex;
            gap: 30px;
        }
        
        .header-phone {
            color: #ffeb3b;
            text-decoration: none;
            font-weight: bold;
        }
        
        .header-main {
            padding: 15px 0;
        }
        
        .header-main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .site-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #1e3c72;
        }
        
        .logo-text {
            font-size: 1.8em;
            font-weight: bold;
            margin-left: 10px;
        }
        
        .logo-sub {
            font-size: 0.9em;
            color: #666;
            margin-left: 5px;
        }
        
        .main-nav {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        
        .main-nav a {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            padding: 10px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .main-nav a:hover,
        .main-nav a.current {
            background: #1e3c72;
            color: white;
        }
        
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5em;
            color: #1e3c72;
            cursor: pointer;
        }
        
        /* フッタースタイル */
        .site-footer {
            background: #2c3e50;
            color: white;
            margin-top: 50px;
        }
        
        .footer-main {
            padding: 50px 0;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 40px;
        }
        
        .footer-section h3 {
            color: #ecf0f1;
            margin-bottom: 20px;
            font-size: 1.2em;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }
        
        .footer-section p,
        .footer-section li {
            color: #bdc3c7;
            line-height: 1.8;
            margin-bottom: 8px;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section a {
            color: #bdc3c7;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-section a:hover {
            color: #3498db;
        }
        
        .office-list {
            margin-bottom: 15px;
        }
        
        .office-item {
            margin-bottom: 15px;
            padding: 15px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 5px;
        }
        
        .office-name {
            font-weight: bold;
            color: #3498db;
            margin-bottom: 5px;
        }
        
        .office-phone {
            color: #ffeb3b;
            font-weight: bold;
        }
        
        .footer-bottom {
            background: #1a252f;
            padding: 20px 0;
            text-align: center;
        }
        
        .footer-bottom-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .footer-links {
            display: flex;
            gap: 20px;
            list-style: none;
        }
        
        .footer-links a {
            color: #95a5a6;
            text-decoration: none;
            font-size: 14px;
        }
        
        .footer-links a:hover {
            color: #3498db;
        }

/* 見出し */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* テキスト */
p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* リンク */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 通常（PC） */
.funabashi-page {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 1000px; /* PC幅の最大値 */
    margin: 0 auto;
    padding: 0 20px;
}
        
        /* ヒーローセクション */
        .funabashi-hero {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            padding: 60px 0;
            text-align: center;
            margin-bottom: 50px;
        }
        
        .funabashi-hero h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .funabashi-hero .subtitle {
            font-size: 1.2em;
            opacity: 0.9;
            margin-bottom: 30px;
        }
        
        .funabashi-contact-info {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .contact-item {
            background: rgba(255,255,255,0.1);
            padding: 15px 25px;
            border-radius: 8px;
            backdrop-filter: blur(10px);
        }
        
        .contact-item strong {
            display: block;
            font-size: 1.1em;
            margin-bottom: 5px;
        }
        
        .phone-link {
            color: #ffeb3b;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2em;
        }
        
        .phone-link:hover {
            color: #fff;
        }
        
        /* コンテナ */
        .funabashi-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* セクション */
        .funabashi-section {
            margin-bottom: 60px;
        }
        
        .section-title {
            font-size: 2.2em;
            color: #1e3c72;
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #1e3c72, #2a5298);
        }
        
        /* サービス一覧 */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .service-card {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(30, 60, 114, 0.15);
            border-color: #1e3c72;
        }
        
        .service-icon {
            font-size: 3em;
            margin-bottom: 20px;
            color: #1e3c72;
        }
        
        .service-card h3 {
            color: #1e3c72;
            font-size: 1.4em;
            margin-bottom: 15px;
        }
        
        .service-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .service-card ul {
            text-align: left;
            color: #555;
            margin-bottom: 20px;
        }
        
        .service-card li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 15px;
        }
        
        .service-card li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #1e3c72;
            font-weight: bold;
        }
        
        /* 選ばれる理由 */
        .reasons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .reason-item {
            text-align: center;
            padding: 30px;
        }
        
        .reason-number {
            display: inline-block;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #1e3c72, #2a5298);
            color: white;
            border-radius: 50%;
            font-size: 1.5em;
            font-weight: bold;
            line-height: 60px;
            margin-bottom: 20px;
        }
        
        .reason-item h3 {
            color: #1e3c72;
            margin-bottom: 15px;
            font-size: 1.3em;
        }
        
        /* 司法書士紹介 */
        .lawyer-intro {
            background: #f8f9fa;
            padding: 50px;
            border-radius: 15px;
            margin-bottom: 50px;
        }
        
        .lawyer-content {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 40px;
            align-items: center;
        }
        
        .lawyer-photo {
            width: 180px;
            height: 240px;
            background: #ddd;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            font-size: 14px;
        }
        
        .lawyer-info h3 {
            color: #1e3c72;
            font-size: 1.8em;
            margin-bottom: 15px;
        }
        
        .lawyer-info .title {
            color: #666;
            font-size: 1.1em;
            margin-bottom: 20px;
        }
        
        /* アクセス情報 */
        .access-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .access-info h3 {
            color: #1e3c72;
            margin-bottom: 20px;
            font-size: 1.4em;
        }
        
        .access-details {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 10px;
        }
        
        .access-item {
            display: flex;
            margin-bottom: 15px;
            align-items: flex-start;
        }
        
        .access-label {
            font-weight: bold;
            color: #1e3c72;
            min-width: 80px;
            margin-right: 15px;
        }
        
        .map-container {
            background: #e9ecef;
            height: 300px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
        }
        
        /* お問い合わせフォーム */
        .contact-form-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 50px;
            border-radius: 15px;
            margin-bottom: 50px;
        }
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            font-weight: bold;
            color: #1e3c72;
            margin-bottom: 8px;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #1e3c72;
            box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
        }
        
        .form-group textarea {
            height: 120px;
            resize: vertical;
        }
        
        .required {
            color: #e74c3c;
            font-size: 0.9em;
        }
        
        /* ボタン */
        .btn {
            display: inline-block;
            padding: 15px 30px;
            background: linear-gradient(135deg, #1e3c72, #2a5298);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: bold;
            font-size: 1.1em;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .btn:hover {
            background: linear-gradient(135deg, #163052, #1e3c72);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
        }
        
        .btn-large {
            width: 100%;
            font-size: 1.2em;
            padding: 18px;
        }
        
        .btn-call {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            margin-right: 15px;
        }
        
        .btn-call:hover {
            background: linear-gradient(135deg, #1e8449, #27ae60);
        }
        
        /* CTA セクション */
        .cta-section {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            padding: 50px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 50px;
        }
        
        .cta-section h2 {
            font-size: 2em;
            margin-bottom: 15px;
        }
        
        .cta-section p {
            font-size: 1.2em;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
		
		/* スマホ用 */
@media screen and (max-width: 768px) {
    .funabashi-page {
        max-width: 100%;       /* 幅を画面いっぱいに */
        padding: 10px;         /* 内側余白を狭く */
        font-size: 14px;       /* 文字を少し小さく */
        line-height: 1.5;      /* 行間を少し詰める */
    }

    /* もしセクションや画像などもあるなら個別調整 */
    .funabashi-section {
        flex-direction: column; /* 横並びを縦並びに */
    }
}
		
		/* ヘッダー・フッター レスポンシブ */
        @media (max-width: 768px) {
            .header-top-content {
                flex-direction: column;
                gap: 10px;
            }
            
            .header-contact {
                gap: 20px;
            }
            
            .header-main-content {
                flex-direction: column;
                gap: 15px;
            }
            
            .main-nav {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: white;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                padding: 20px;
                gap: 0;
            }
            
            .main-nav.active {
                display: flex;
            }
            
            .main-nav a {
                padding: 15px;
                border-bottom: 1px solid #eee;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .footer-bottom-content {
                flex-direction: column;
                gap: 15px;
            }
            
            .footer-links {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        /* メインコンテンツレスポンシブデザイン */
        @media (max-width: 768px) {
            .funabashi-hero h1 {
                font-size: 2em;
            }
            
            .funabashi-contact-info {
                flex-direction: column;
                gap: 15px;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .reasons-grid {
                grid-template-columns: 1fr;
            }
            
            .lawyer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .lawyer-photo {
                margin: 0 auto;
            }
            
            .access-grid {
                grid-template-columns: 1fr;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 300px;
            }
            
            .funabashi-container {
                padding: 0 15px;
            }
            
            .funabashi-hero,
            .contact-form-section,
            .cta-section {
                padding: 30px 20px;
            }
        }
        
        /* WordPress テーマとの調和用 */
        .funabashi-page * {
            box-sizing: border-box;
        }
        
        .funabashi-page img {
            max-width: 100%;
            height: auto;
        }
        
        /* アクセシビリティ */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }