/*
Theme Name: 税理士事務所テーマ
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: 税理士事務所向けカスタムテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tax-office
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
    background-image: url('images/back-ground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* コンテンツを背景パターンの上に表示 */
.site-header,
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

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

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

/* ヘッダー */
.site-header {
    background-color: #fff;
    background-image: url('images/back-ground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 上段: ロゴと電話番号エリア */
.header-top {
    border-bottom: 1px solid #e5e7eb;
}

.header-top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴのスタイル - PC表示 */
.site-logo {
    flex-basis: auto;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
}

/* 電話番号エリア - PC表示 */
.phone-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: #fff;
    flex-basis: auto;
    margin-left: auto;
}

.phone-label div {
    color: #ef4444;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.3;
}

.phone-number a {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.phone-hours div {
    color: #4b5563;
    font-size: 0.65rem;
    line-height: 1.3;
    white-space: nowrap;
}

/* 下段: ナビゲーション */
.header-nav {
    background-color: #f9fafb;
    border-bottom: 2px solid #2563eb;
}

.header-nav .main-navigation {
    width: 100%;
    padding: 0;
}

.site-logo a {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1e40af 100%);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.site-logo a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.site-logo a:hover::before {
    left: 100%;
}

.site-logo a ruby {
    ruby-position: over;
}

.site-logo a rt {
    font-size: 0.5rem;
    font-weight: 600;
    color: #dbeafe;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.site-logo a:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1e3a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.site-logo a:hover rt {
    color: #fff;
}

/* ナビゲーション */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.main-navigation li {
    flex: 1;
    border-right: 1px solid #d1d5db;
}

.main-navigation li:last-child {
    border-right: none;
}

.main-navigation a {
    display: block;
    color: #4b5563;
    font-weight: 500;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

/* ナビゲーションアイコン */
.nav-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.1em;
    vertical-align: middle;
}

.main-navigation a:hover {
    color: #2563eb;
    background-color: #eff6ff;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.nav-contact-btn {
    color: #2563eb !important;
    font-weight: 600;
}

.nav-contact-btn:hover {
    color: #1e40af !important;
    background-color: #eff6ff;
}

/* モバイルメニュー - PC では完全に非表示 */
.mobile-menu-toggle {
    display: none !important;
    background: #1e293b;
    border: none;
    cursor: pointer;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 5px;
}

.menu-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

/* ハンバーガーアイコンのアニメーション */
.mobile-menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* タブレット〜小さめPC: 1100px以下でハンバーガーに */
@media (max-width: 1100px) {
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 10;
        width: 50px;
        height: 50px;
        order: 3;
        flex-shrink: 0;
    }

    /* 上段の調整 - Grid レイアウトに変更 */
    .header-top-container {
        display: grid !important;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    /* 電話番号エリアを上に */
    .phone-area {
        padding: 0.5rem 0.75rem;
        gap: 0.25rem;
        justify-content: flex-start;
        font-size: 0.85rem;
        margin-left: 0;
    }

    /* 電話番号エリア: 1行目全体 */
    .phone-area {
        grid-column: 1;
        grid-row: 1;
    }

    /* ロゴ: 2行目左側 */
    .site-logo {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        align-items: center;
    }

    /* ハンバーガーメニュー: 2行目右側 */
    .mobile-menu-toggle {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
        align-self: center;
    }

    .phone-label {
        text-align: left;
        flex-shrink: 0;
        flex-basis: auto;
        min-width: 0;
        padding-right: 0.5rem;
    }

    .phone-label div {
        font-size: 0.75rem;
        line-height: 1.3;
        white-space: nowrap;
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    }

    .phone-number {
        text-align: left;
        flex-shrink: 0;
        flex-basis: auto;
        min-width: 0;
        padding-right: 0.5rem;
    }

    .phone-number a {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .phone-hours {
        text-align: left;
        flex-shrink: 0;
        flex-basis: auto;
        min-width: 0;
    }

    .phone-hours div {
        font-size: 0.75rem;
        line-height: 1.3;
        white-space: nowrap;
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    }

    /* ナビゲーションをモバイル用に */
    .header-nav {
        position: relative;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .main-navigation.active {
        max-height: 500px;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .main-navigation li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 1rem;
        text-align: left;
    }

    .main-navigation li {
        flex: none;
    }
    
    /* モバイルメニューのお問い合わせボタンをシンプルに */
    .nav-contact-btn {
        background: none !important;
        color: #2563eb !important;
        padding: 1rem !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-weight: 600;
    }
    
    .nav-contact-btn:hover {
        background-color: #f1f5f9 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* ロゴを少し小さく */
    .site-logo a {
        font-size: 1.2rem;
        padding: 0.6rem 1.25rem;
        margin-left: 0;
    }
    
    .site-logo a rt {
        font-size: 0.45rem;
    }
}

/* 小さいスマホ: さらにコンパクトに */
@media (max-width: 480px) {
    /* より小さいフォントサイズに調整 */
    .phone-label div {
        font-size: 0.6rem !important;
    }

    .phone-number a {
        font-size: 1.1rem !important;
    }

    .phone-hours div {
        font-size: 0.6rem !important;
    }
    
    .site-logo a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        margin-left: 0;
    }
    
    .site-logo a rt {
        font-size: 0.4rem;
    }
}

/* メインコンテンツ */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 300px);
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
    color: #fff;
    padding: 8rem 2rem;
    text-align: center;
    margin: 0 0 3rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* セクション */
.content-section {
    background-color: #fff;
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563eb 0%, #3b82f6 100%);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2563eb;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2563eb;
    font-weight: 600;
}

/* 特徴カード */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15), 0 16px 48px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
}

/* ニュース */
.news-list {
    background-color: #f8fafc;
    padding: 0;
    border-radius: 12px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 2rem 2rem 1.5rem;
}

.news-header .section-subtitle {
    margin-bottom: 0;
}

.news-item {
    background-color: #fff;
    padding: 1rem 2rem;
    margin-bottom: 0;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    border-bottom: 2px solid #e5e7eb;
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    transition: width 0.3s ease;
    pointer-events: none;
}

.news-item:first-child {
    border-radius: 8px 8px 0 0;
}

.news-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.news-item:hover {
    border-left-color: #2563eb;
    background-color: #f8fafc;
    transform: translateX(4px);
}

.news-item:hover::before {
    width: 100%;
}

.news-date {
    color: #64748b;
    font-size: 0.9rem;
    margin-right: 1.5rem;
}

.news-title {
    color: #1e293b;
    font-weight: 500;
}

.news-item:hover .news-title {
    color: #2563eb;
}

/* 会社概要 */
.profile-grid {
    display: grid;
    gap: 1rem;
}

.profile-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.profile-label {
    font-weight: 600;
    color: #1e293b;
}

.profile-value {
    color: #64748b;
}

/* 地図 */
.map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 料金表 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
}

.pricing-type {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-note {
    color: #64748b;
    font-size: 0.9rem;
}

/* フォーム */
.contact-form {
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-input:hover,
.form-textarea:hover {
    border-color: #cbd5e1;
}

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

.form-note {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background-color: #64748b;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #475569;
}

.btn-block {
    width: 100%;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.button-group > * {
    flex: 1;
}

.button-group form {
    margin: 0;
    display: flex;
}

.button-group form button {
    width: 100%;
}

.button-group > button {
    width: 100%;
    display: block;
}

/* 確認画面 */
.confirm-table {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.confirm-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #e5e7eb;
}

.confirm-row:last-child {
    border-bottom: none;
}

.confirm-label {
    padding: 1.5rem;
    background-color: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.confirm-value {
    padding: 1.5rem;
    color: #64748b;
}

/* 完了画面 */
.complete-message {
    text-align: center;
    padding: 4rem 2rem;
}

.complete-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 2rem;
}

.complete-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
}

.complete-text {
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* フッター */
.site-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #cbd5e1;
    padding: 3rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links a {
    color: #cbd5e1;
    margin-right: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* レスポンシブ */
@media (max-width: 768px) {
    /* ヘッダーの電話番号エリアとロゴの左端を揃える */
    .site-header > div:first-child {
        padding: 0.25rem 1rem 0 !important;
    }

    .site-header > div:first-child > div {
        justify-content: flex-start !important;
    }

    .header-container {
        padding: 0.5rem 1rem !important;
    }

    /* ニュースヘッダーのパディング調整 */
    .news-header {
        padding: 2rem 1rem 1.5rem !important;
        align-items: baseline !important;
    }

    .news-item {
        padding: 1rem 1rem !important;
    }

    .news-header .section-subtitle {
        font-size: 1.25rem !important;
        line-height: 1.5 !important;
    }

    .news-link {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    /* News詳細ページのナビゲーション */
    .news-navigation {
        flex-direction: column !important;
    }

    .nav-item {
        flex: none !important;
    }

    /* 料金体系ページのパディング調整 */
    .pricing-content {
        padding-left: 1rem !important;
        margin-left: 13px !important;
    }

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

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

    .hero-section {
        padding: 4rem 1rem;
    }

    .site-main {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 1.5rem 1rem;
    }
    
    .profile-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .confirm-row {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    /* 料金体系ページのモバイル調整 */
    .price-notice {
        padding: 1rem !important;
    }
    
    .price-notice p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .content-section > div[style*="display: flex"] {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .content-section > div[style*="display: flex"] > div:first-child {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        flex-shrink: 0 !important;
    }
    
    .content-section > div[style*="display: flex"] > h2 {
        font-size: 1.25rem !important;
        margin: 0 !important;
    }
    
    .content-section > div > div[style*="padding-left: 2rem"] {
        padding-left: 0.5rem !important;
        border-left-width: 3px !important;
        margin-left: 17.5px !important;
        margin-top: 0 !important;
    }
    
    /* お問い合わせフォームのモバイル調整 */
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.625rem 0.75rem;
    }
    
    .form-textarea {
        min-height: 120px;
    }
    
    .form-label {
        text-align: left;
        margin-bottom: 0.5rem;
    }
}

/* ユーティリティ */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}