/* お問い合わせページ専用CSS */

/* ページヘッダー */
.page-header {
    position: relative;
    height: 300px;
    background: url('../images/page-header.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: #333;
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 0 60px;
}

.page-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    color: #333;
}

/* パンくずリスト */
.breadcrumb-section {
    background: #FAFAFA;
    padding: 20px 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #666;
}

.breadcrumb .current {
    color: #333;
}

/* ページ全体の背景 */
.contact-section {
    background: url('../images/haikei.webp') center/cover no-repeat fixed;
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,248,248,0.9) 100%);
    z-index: 1;
}

.contact-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

/* 注意文（一番上、背景なし） */
.contact-notice {
    padding: 0;
    margin-bottom: 40px;
    background: none;
    border-radius: 0;
}

.contact-notice p {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* 電話情報とフォームをまとめたグレー背景ボックス */
.contact-form-container {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 電話情報 */
.contact-phone {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    padding: 0;
    border-radius: 0;
    width: auto;
    justify-content: center;
}

.phone-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	margin-top: 12px;
}

.phone-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}
.phone-details{
	text-align: center;
}
.phone-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
	margin-left: -20px;
}

.phone-number {
    font-size: 40px;
    font-weight: 300;
    color: #333;
    margin-bottom: 2px;
}

.phone-hours {
    font-size: 0.8rem;
    color: #666;
	margin-left: -20px;
}

/* フォーム部分 */
.contact-form-wrapper {
    background: none;
    padding: 0;
    border-radius: 0;
}

/* ContactForm7全体の背景を透明にして親のグレー背景を表示 */
.wpcf7 {
    background: transparent;
}

.wpcf7-form {
    background: transparent;
}

.form-section {
    margin-bottom: 40px;
}

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

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.required-mark {
    color: #e74c3c;
    margin-left: 4px;
}

/* ContactForm7のフィールドスタイル */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text, 
.wpcf7-email, 
.wpcf7-tel, 
.wpcf7-textarea, 
.wpcf7-select, 
.wpcf7-date {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Shippori Mincho', serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-text:focus, 
.wpcf7-email:focus, 
.wpcf7-tel:focus, 
.wpcf7-textarea:focus, 
.wpcf7-select:focus, 
.wpcf7-date:focus {
    outline: none;
    border-color: #333;
}

.wpcf7-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.optional-section-header {
    margin: 50px 0 30px 0;
    text-align: left;
}

.optional-text {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.optional-text .highlight {
    text-decoration: underline;
    font-weight: 500;
}

/* 面談候補日のスタイル */
.date-selection {
    display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 20px;
}

.date-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.date-label {
    font-weight: 500;
    color: #333;
    
    margin-bottom: 10px;
}
.date-inputs{
	display: flex;
	gap: 10px;
	align-items: flex-start;
	flex-direction: column;
}

.date-inputs p{
    display: flex;
	gap: 20px;
	align-items: center;
}


.date-inputs .wpcf7-date {
    width: 100%;
}

.date-inputs .wpcf7-select {
    width: 100%;
}

.time-label {
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

.privacy-section {
    margin: 40px 0;
    text-align: center;
}

.privacy-text {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.privacy-link {
    color: #333;
    text-decoration: underline;
}

.privacy-link:hover {
    text-decoration: none;
}

.submit-section {
    text-align: center;
    margin-bottom: 40px;
}

.wpcf7-submit {
    background: #333;
    color: white;
    padding: 15px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Shippori Mincho', serif;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpcf7-submit:hover {
    background: #555;
}

/* ContactForm7のバリデーションメッセージ */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

/* アクティブ状態のボタンスタイル */
.contact-btn.active, 
.mobile-contact-btn.active {
    background: #555 !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }

    .page-header-content {
        padding: 0 30px;
    }

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

    .breadcrumb-container {
        padding: 0 30px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb-separator {
        margin: 0 8px;
    }

    .contact-container {
        padding: 0 15px;
    }

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

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

    .phone-info {
        gap: 15px;
        flex-direction: column;
        text-align: center;
    }
	.phone-text{
		margin-left: 0;
	}
	.phone-hours{
		margin-left: 0;
	}
    .phone-number {
        font-size: 32px;
    }

    .contact-notice {
        margin-bottom: 30px;
    }

    .date-selection {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wpcf7-submit {
        padding: 24px 40px;
        font-size: 1rem;
		width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 160px;
    }

    .page-header-content {
        padding: 0 20px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .breadcrumb-container {
        padding: 0 20px;
    }

    .breadcrumb {
        font-size: 11px;
    }

    .contact-title {
        font-size: 1.7rem;
    }

    .contact-form-container {
        padding: 20px;
    }

    .phone-info {
        gap: 10px;
    }

    .phone-number {
        font-size: 28px;
    }

    .wpcf7-text, 
    .wpcf7-email, 
    .wpcf7-tel, 
    .wpcf7-textarea, 
    .wpcf7-select, 
    .wpcf7-date {
        padding: 10px 12px;
    }

    .date-selection {
        
    }
}