/* ========================================
   ページテンプレート専用スタイル
   ======================================== */

/* ページヘッダー */
.page-header {
    border-bottom: 1px solid var(--border-light);
}

.page-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ページコンテンツ */
.page-content {
    /* HTMLブロック用のコンテンツエリア */
    /* 基本的にはスタイルを適用せず、HTMLブロック内で柔軟なシステムを使用 */
}

/* HTMLブロック内で使用する基本スタイル */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.page-content h1:first-child,
.page-content h2:first-child,
.page-content h3:first-child {
    margin-top: 0;
}

.page-content p {
    margin-bottom: var(--space-md);
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.page-content ul,
.page-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.page-content li {
    margin-bottom: var(--space-xs);
}

.page-content blockquote {
    background: var(--bg-sage);
    border-left: 4px solid var(--primary);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
    background: var(--bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.page-content th,
.page-content td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.page-content th {
    background: var(--bg-sage);
    font-weight: 600;
    color: var(--text);
}

/* ページネーション */
.page-links {
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.page-links p {
    margin: 0;
    color: var(--text-light);
}

.page-links a {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    margin: 0 var(--space-xs);
    background: var(--bg-soft);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: var(--primary);
    color: white;
}

/* コメントセクション */
.comments-section {
    border-top: 1px solid var(--border-light);
    background: var(--bg-soft);
}

.comments-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   HTMLブロック運用のためのヘルパークラス
   ======================================== */

/* セクション間の余白調整 */
.page-content .section:first-child {
    padding-top: 0;
}

.page-content .section:last-child {
    padding-bottom: 0;
}

/* HTMLブロック内でのカード調整 */
.page-content .card {
    margin-bottom: 0; /* グリッドシステムに任せる */
}

/* HTMLブロック内でのボタン調整 */
.page-content .btn {
    margin-bottom: var(--space-sm);
}

/* HTMLブロック内でのテキスト調整 */
.page-content .text-center h1,
.page-content .text-center h2,
.page-content .text-center h3 {
    margin-top: 0;
}

/* ========================================
   Aboutページ専用スタイル
   ======================================== */

/* ストーリーセクション */
.story-content .lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.story-text p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
    font-size: 1.1rem;
}

.story-quote {
    background: linear-gradient(135deg, var(--bg-sage), var(--bg-cream));
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
    text-align: center;
    border-left: 4px solid var(--primary);
}

.story-quote .quote-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.story-quote em {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    display: block;
    margin-bottom: var(--space-sm);
}

.story-quote .quote-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* 特徴カードスタイル */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.feature-botanical-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    overflow: hidden;
    border-radius: 0 var(--radius-lg) 0 50px;
}

.feature-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.feature-details {
    margin-top: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.detail-tag {
    background: var(--bg-sage);
    color: var(--primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* こだわりセクション */
.commitment-grid {
    display: grid;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.commitment-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.commitment-item:hover {
    background: var(--bg);
    box-shadow: var(--shadow-soft);
    transform: translateX(5px);
}

.commitment-number {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.commitment-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary);
    font-size: 1.3rem;
}

.commitment-content p {
    line-height: 1.7;
    color: var(--text);
}

/* 変化セクション */
.transformation-before-after {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-lg);
}

.before-after-item h4 {
    text-align: center;
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
}

.before-after-item:first-child h4 {
    background: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
}

.before-after-item:last-child h4 {
    background: rgba(76, 175, 80, 0.1);
    color: #388e3c;
}

.before-after-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.before-after-item li {
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
}

.arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

.transformation-quote {
    background: var(--bg-sage);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    margin-top: var(--space-lg);
}

.transformation-quote p {
    font-style: italic;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: right;
    display: block;
}

/* 統計データ */
.transformation-stats h4 {
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.transformation-benefits h4 {
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.transformation-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transformation-benefits li {
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
}

/* オーナーメッセージ */
.owner-image-container {
    position: relative;
    display: inline-block;
}

.owner-img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.owner-botanical-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    opacity: 0.8;
}

.frame-botanical {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.owner-message .lead-text {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.owner-message p {
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
}

.owner-signature {
    background: linear-gradient(135deg, var(--bg-sage), var(--bg-cream));
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
    text-align: center;
}

.signature-text {
    font-style: italic;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.signature-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: var(--space-md);
    display: block;
}

.signature-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
}

.credential {
    background: var(--bg);
    color: var(--primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* CTAセクション */
.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    margin: var(--space-xl) 0;
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-special-offer {
    margin-top: var(--space-2xl);
}

.offer-box {
    background: linear-gradient(135deg, var(--bg-sage), var(--bg-cream));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.offer-box h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--primary);
    font-size: 1.5rem;
}

.offer-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md) 0;
}

.offer-box li {
    padding: var(--space-sm) 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(143, 188, 143, 0.2);
}

.offer-box li:last-child {
    border-bottom: none;
}

.price-through {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: var(--space-sm);
}

.price-free {
    color: #d32f2f;
    font-weight: bold;
    font-size: 1.2rem;
}

.offer-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .page-content table {
        font-size: 0.9rem;
    }
    
    .page-content th,
    .page-content td {
        padding: var(--space-sm);
    }
    
    .transformation-before-after {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .arrow {
        transform: rotate(90deg);
        margin: var(--space-md) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .commitment-number {
        align-self: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .signature-credentials {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-content {
        font-size: 0.95rem;
    }
    
    .page-content blockquote {
        padding: var(--space-md);
        margin: var(--space-lg) 0;
    }
    
    .story-text,
    .owner-message {
        font-size: 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .commitment-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .offer-box {
        padding: var(--space-lg);
    }
    
    .offer-box li {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
}

/* ========================================
   Staffページ専用スタイル
   ======================================== */

/* スタッフカード */
.staff-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.staff-image-wrapper {
    position: relative;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.staff-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-sage);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.staff-card:hover .staff-image {
    transform: scale(1.05);
    border-color: var(--primary);
}

.staff-role-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.staff-name {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    text-align: center;
}

.staff-title {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    text-align: center;
    font-style: italic;
}

.staff-bio {
    margin-bottom: var(--space-lg);
}

.staff-bio .staff-highlight {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.staff-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    margin-top: var(--space-md);
}

.credential-badge {
    background: var(--bg-sage);
    color: var(--primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(143, 188, 143, 0.3);
    transition: all 0.3s ease;
}

.credential-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* 専門分野カード */
.expertise-card {
    background: linear-gradient(135deg, var(--bg), var(--bg-soft));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-left: 4px solid var(--primary);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.expertise-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-left-width: 6px;
}

.expertise-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: var(--shadow-soft);
}

.expertise-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    margin-top: var(--space-sm);
}

.expertise-description {
    line-height: 1.7;
    color: var(--text);
    font-size: 1.05rem;
}

/* お客様の声カード */
.customer-review-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.customer-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.customer-review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    line-height: 1;
    font-family: serif;
    opacity: 0.3;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--text);
    font-size: 1.05rem;
    padding-top: var(--space-md);
}

.review-author {
    text-align: right;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

.review-author::before {
    content: '—';
    margin-right: var(--space-xs);
}

/* スタッフ統計カード */
.staff-stats-container {
    background: linear-gradient(135deg, var(--bg-sage), var(--bg-cream));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.stats-title {
    text-align: center;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.staff-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.staff-stat-item {
    background: var(--bg);
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.staff-stat-item:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.stat-number-large {
    display: block;
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label-large {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.staff-qualifications {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
}

.qualifications-title {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-align: center;
}

.qualifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualifications-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: var(--space-lg);
    font-size: 0.95rem;
}

.qualifications-list li:last-child {
    border-bottom: none;
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .staff-card {
        padding: var(--space-lg);
    }
    
    .staff-image {
        width: 150px;
        height: 150px;
    }
    
    .staff-name {
        font-size: 1.3rem;
    }
    
    .expertise-card {
        padding: var(--space-lg);
        margin-top: var(--space-lg);
    }
    
    .expertise-number {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto var(--space-md) auto;
    }
    
    .staff-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number-large {
        font-size: 2.3rem;
    }
}

@media (max-width: 480px) {
    .staff-image {
        width: 120px;
        height: 120px;
    }
    
    .staff-name {
        font-size: 1.2rem;
    }
    
    .expertise-title {
        font-size: 1.2rem;
    }
    
    .customer-review-card {
        padding: var(--space-md);
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .staff-stats-container {
        padding: var(--space-lg);
    }
}

/* ========================================
   Contactページ専用スタイル
   ======================================== */

/* お問い合わせ方法カード */
.contact-method-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-light);
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-method-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, var(--bg), var(--bg-sage));
}

.contact-method-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-method-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.contact-method-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg) auto;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-soft);
}

.contact-method-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.contact-method-description {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.contact-method-info {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-soft);
    border-radius: var(--radius-md);
}

.contact-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Form 7 スタイリング */
.contact-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.contact-form-wrapper {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

/* Contact Form 7 基本スタイル */
.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin-bottom: var(--space-lg);
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
}

.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.wpcf7-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Contact Form 7 送信ボタン */
.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Contact Form 7 必須マーク */
.wpcf7-form .required {
    color: #e53e3e;
    margin-left: 4px;
}

/* Contact Form 7 エラー・成功メッセージ */
.wpcf7-response-output {
    margin: var(--space-lg) 0 0 0;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background: #f0f9f0;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background: #fff5f5;
    border: 1px solid #f44336;
    color: #c62828;
}

.wpcf7-spam-blocked {
    background: #fffbf0;
    border: 1px solid #ff9800;
    color: #f57c00;
}

/* Contact Form 7 スピナー */
.wpcf7-spinner {
    margin-left: var(--space-sm);
}

/* フォーム情報カード */
.contact-form-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.contact-info-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.contact-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-card li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    position: relative;
    padding-left: var(--space-lg);
}

.contact-info-card li:last-child {
    border-bottom: none;
}

.contact-info-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* アクセス情報カード */
.access-info-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.access-info-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.access-details {
    margin-bottom: var(--space-xl);
}

.access-item {
    display: flex;
    margin-bottom: var(--space-md);
    align-items: flex-start;
}

.access-label {
    font-weight: 600;
    color: var(--text);
    min-width: 80px;
    margin-right: var(--space-md);
}

.access-value {
    color: var(--text-light);
    line-height: 1.6;
}

.access-directions h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.access-directions ol {
    padding-left: var(--space-lg);
    margin: 0;
}

.access-directions li {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* マップコンテナ */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    height: 400px;
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-placeholder-content h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.map-placeholder-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .contact-method-title {
        font-size: 1.2rem;
    }
    
    .access-item {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .access-label {
        min-width: auto;
        margin-right: 0;
        font-weight: 600;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-method-card {
        padding: var(--space-lg);
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
    
    .access-info-card {
        padding: var(--space-lg);
    }
    
    .contact-method-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 250px;
    }
} 