/*
Theme Name: OLTANA-003 Child
Version: 1.0.0
Template: oltana-003
Author: CROOVER inc.
Author URI: https://croover.co.jp
*/

/* 募集要項セクションのスタイル調整 */
.recruit-requirements-section .recruit-section-header {
    padding-top: 20px;
    margin-bottom: 0;
}

.recruit-requirements-section .recruit-section-title {
    color: white;
}

.recruit-requirements-content {
    padding-top: 0 !important;
}

/* 下層ページ用: section要素のmargin-top調整 */
.page:not(.home) .ol-section {
    margin-top: 40px;
}

@media (max-width: 640px) {
    .page:not(.home) .ol-section {
        margin-top: 20px;
    }
}

/* 施工実績ギャラリー */
.portfolio-gallery {
    margin-top: 40px;
}

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

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: default;
    transition: transform 0.3s ease;
}

.portfolio-item.has-before-after {
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-item-image img {
    transform: scale(1.05);
}

.before-after-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
}

.portfolio-category,
.portfolio-location {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.no-portfolio {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 40px 0;
}

/* Before/After比較モーダル */
.before-after-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.before-after-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 20px;
    padding: 20px;
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
}

.before-after-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.before-after-images {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 20px;
}

.before-image,
.after-image {
    position: relative;
    width: 50%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.before-after-labels {
    display: flex;
    width: 100%;
    gap: 20px;
    margin-bottom: 10px;
}

.before-label,
.after-label {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    width: 50%;
}

.modal-info {
    padding: 20px;
    text-align: center;
}

.modal-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.modal-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* モーダルのレスポンシブ対応 */
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
        margin: 0 10px;
        padding: 15px;
    }

    .before-after-container {
        min-height: 600px;
        max-height: 800px;
    }

    .before-after-images {
        flex-direction: column;
        gap: 10px;
    }

    .before-image,
    .after-image {
        width: 100%;
        height: 50%;
        min-height: 250px;
        max-height: 350px;
    }

    .before-after-labels {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .before-label,
    .after-label {
        width: 100%;
        padding: 6px 10px;
        font-size: 12px;
    }

    .modal-info {
        padding: 15px;
    }

    .modal-info h3 {
        font-size: 18px;
    }
}

/* 代表メッセージセクション */
.president-message-section {
    text-align: center;
}

.president-message-container {
    max-width: 800px;
    margin: 0 auto;
}

.president-message-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.president-message-content {
    margin-bottom: 50px;
}

.president-message-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    text-align: left;
}

.president-signature {
    text-align: right;
}

.president-name {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    color: #333;
}

@media (max-width: 640px) {
    .president-message-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .president-message-content {
        margin-bottom: 40px;
    }

    .president-message-text {
        font-size: 1em;
        line-height: 1.7;
    }

    .president-signature {
        text-align: center;
        margin-top: 30px;
    }

    .president-name {
        font-size: 1.1em;
    }
}

/* お問い合わせページ */
.contact-section {
    background: #fafafa;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ページヘッダー */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-heading-sub {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-heading {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* フォーム */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3498db;
}

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

/* プライバシーポリシー */
.form-privacy {
    margin-bottom: 30px;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
}

.privacy-checkbox {
    margin-right: 10px;
    margin-top: 2px;
}

.privacy-text a {
    color: #3498db;
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
}

.submit-button {
    background: #3498db;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #2980b9;
}

/* 連絡先情報 */
.contact-info-wrapper {
    display: flex;
    gap: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-section {
    flex: 1;
}

.contact-info-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.contact-phone-info {
    text-align: center;
}

.phone-number {
    font-size: 1.5em;
    color: #3498db;
    margin-bottom: 5px;
}

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

.service-area p {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

/* レスポンシブ */
@media (max-width: 640px) {
    .contact-heading {
        font-size: 2em;
    }

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

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-info-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    .phone-number {
        font-size: 1.3em;
    }
}

/* プライバシーポリシーページ */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.privacy-heading {
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.privacy-updated {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.privacy-content {
    line-height: 1.8;
}

.privacy-section-item {
    margin-bottom: 30px;
}

.privacy-section-item h2 {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.privacy-section-item p {
    color: #555;
    margin-bottom: 15px;
}

.privacy-section-item ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section-item li {
    color: #555;
    margin-bottom: 8px;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info strong {
    color: #333;
}

@media (max-width: 640px) {
    .privacy-container {
        padding: 20px;
    }

    .privacy-heading {
        font-size: 1.8em;
    }

    .privacy-section-item h2 {
        font-size: 1.2em;
    }
}

/* 採用情報ページ */
.recruit-header-section {
    background: #002d5e;
    color: white;
    text-align: center;
    position: relative;
}

.recruit-header {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.recruit-header-cta {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* セクション間マージン調整 */
.recruit-work-section,
.recruit-philosophy-section,
.recruit-ideal-section,
.recruit-interview-section,
.recruit-requirements-section {
    margin-top: 40px;
}

.recruit-heading-sub {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 300;
}

.recruit-heading {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recruit-description {
    font-size: 1.3em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
}

/* セクション共通 */
.recruit-section-container {
    max-width: 800px;
    margin: 0 auto;
}

.recruit-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.recruit-section-title {
    font-size: 2.4em;
    font-weight: bold;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.recruit-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #002d5e;
    border-radius: 2px;
}

.recruit-section-title-centered {
    font-size: 2.4em;
    font-weight: bold;
    color: #002d5e;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    display: block;
}

.recruit-section-title-centered::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #002d5e;
    border-radius: 2px;
}

.recruit-section-subtitle {
    color: #666;
    font-size: 1.1em;
    margin: 0;
}

.recruit-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.recruit-text-centered {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

/* 企業理念セクション */
.recruit-philosophy-section {
    background: #f8f9fa;
    position: relative;
}

/* 求めている人材セクション */
.recruit-ideal-layout {
    max-width: 900px;
    margin: 0 auto;
}

.ideal-header {
    text-align: center;
    margin-bottom: 50px;
}

.ideal-subtitle {
    font-size: 1.2em;
    color: #1760A0;
    margin-top: 10px;
    font-weight: 500;
}

.ideal-grid {
    margin-bottom: 40px;
}

/* 2カラムグリッド（4つまで） */
.ideal-cards.ideal-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* 3カラムグリッド（3つの場合） */
.ideal-cards.ideal-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ideal-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ideal-card:hover {
    border-color: #1760A0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(23, 96, 160, 0.1);
}

.ideal-card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    font-weight: 500;
}

.ideal-footer {
    text-align: center;
    background: rgba(0, 45, 94, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

/* 社員インタビューセクション（縦レイアウト） */
.recruit-interview-list {
    margin-top: 40px;
}

.interview-item {
    margin-bottom: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.interview-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 45, 94, 0.15);
}

.interview-item:last-child {
    margin-bottom: 0;
}

.interview-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.interview-layout {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.interview-photo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    color: #999;
    font-size: 12px;
}

.interview-content {
    flex: 1;
}

.interview-message {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
    position: relative;
}

.interview-message::before {
    content: '"';
    font-size: 1.5em;
    color: #1760A0;
    position: absolute;
    top: -5px;
    left: -15px;
    font-family: serif;
}

.interview-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.interview-position {
    font-size: 12px;
    color: #1760A0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    background: rgba(23, 96, 160, 0.1);
    border-radius: 4px;
}

.interview-name {
    font-size: 16px;
    font-weight: bold;
    color: #002d5e;
}

/* 募集要項セクション */
.recruit-requirements-section {
    background: #002d5e;
    color: white;
}

.recruit-requirements-content {
    text-align: center;
    padding: 60px 0;
}

.recruit-requirements-content .recruit-section-title {
    color: white;
}

.recruit-requirements-content .recruit-section-title::after {
    background: white;
}

.recruit-requirements-content .recruit-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    text-align: center;
}

.recruit-cta {
    margin-top: 40px;
}

.recruit-cta-button {
    display: inline-block;
    background: white;
    color: #002d5e;
    padding: 18px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.recruit-cta-button:hover {
    background: #f8f9fa;
    color: #002d5e;
    transform: translateY(-2px);
}

.recruit-cta-button-secondary {
    display: inline-block;
    background: white;
    color: #002d5e;
    padding: 18px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.recruit-cta-button-secondary:hover {
    background: #f8f9fa;
    color: #002d5e;
    transform: translateY(-2px);
}

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

    .recruit-heading {
        font-size: 2.2em;
    }

    .recruit-description {
        font-size: 1em;
    }

    .recruit-section-title {
        font-size: 1.8em;
    }

    .recruit-work-section,
    .recruit-philosophy-section,
    .recruit-ideal-section,
    .recruit-interview-section,
    .recruit-requirements-section {
        margin-top: 20px;
    }

    .ideal-cards.ideal-grid-2,
    .ideal-cards.ideal-grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .interview-layout {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .interview-photo {
        width: 100px;
        height: 100px;
    }

    .interview-info {
        flex-direction: column;
        gap: 8px;
    }

    .recruit-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

/* インタビューページのスタイル */
.interview-header {
    text-align: center;
    padding: 40px 0;
}

.interview-heading-sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.interview-heading {
    font-size: 32px;
    margin-bottom: 20px;
}

.interview-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.interview-profile {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 40px 0;
}

.interview-profile-photo {
    flex-shrink: 0;
    width: 200px;
}

.interview-profile-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.interview-profile-info {
    flex: 1;
}

.interview-profile-name {
    font-size: 24px;
    margin-bottom: 8px;
}

.interview-profile-position {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
}

.interview-profile-description {
    font-size: 14px;
    line-height: 1.6;
}

.interview-qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.interview-qa-item {
    margin-bottom: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.interview-qa-item.qa-layout-right {
    flex-direction: row-reverse;
}

.qa-photo {
    flex-shrink: 0;
    width: 200px;
}

.qa-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.qa-content {
    flex: 1;
}

.interview-question,
.interview-answer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.interview-answer {
    margin-bottom: 0;
}

.qa-label {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.qa-question-label {
    background-color: #56894b;
}

.qa-answer-label {
    background-color: #4f4116;
}

.qa-text {
    flex: 1;
    line-height: 1.6;
    margin: 0;
}

.interview-message {
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.interview-message-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.interview-message-text {
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .interview-profile {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .interview-profile-photo {
        width: 150px;
        margin: 0 auto;
    }

    .interview-qa-item {
        padding: 20px;
        flex-direction: column !important;
        gap: 20px;
    }

    .qa-photo {
        width: 150px;
        margin: 0 auto;
    }

    .interview-message {
        padding: 20px;
    }
}

.interview-header-section {
    margin-bottom: 0 !important;
}

.interview-profile-section {
    margin-bottom: 0 !important;
}

/* 募集要項ページのスタイル */
.requirements-header-section {
    margin-bottom: 0 !important;
}

/* 募集要項の各セクションの間隔を調整 */
.requirements-job-section,
.requirements-qualifications-section,
.requirements-employment-section,
.requirements-salary-section,
.requirements-salary-examples-section,
.requirements-hours-section,
.requirements-location-section,
.requirements-transport-section,
.requirements-holidays-section,
.requirements-benefits-section,
.requirements-support-section {
    margin-bottom: 20px !important;
}

.requirements-page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.requirements-page-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.requirements-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.requirements-section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007cba;
}

.requirements-section-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.requirements-contact-section {
    margin-bottom: 0 !important;
    margin-top: 20px !important;
}

.requirements-contact-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.requirements-contact-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.requirements-contact-buttons {
    margin-top: 30px;
}

.requirements-contact-button {
    display: inline-block;
    background-color: #007cba;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.requirements-contact-button:hover {
    background-color: #005a87;
    color: white;
    text-decoration: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .requirements-page-title {
        font-size: 2rem;
    }

    .requirements-page-description {
        font-size: 1rem;
    }

    .requirements-section {
        padding: 20px 15px;
    }

    .requirements-section-title {
        font-size: 1.5rem;
    }

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

    .requirements-contact-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ===========================
   Contact Form 7 カスタムスタイル
   =========================== */

/* Contact Form 7のデフォルトスタイルをリセット */
.wpcf7 {
    margin: 0;
}

.wpcf7-form {
    margin: 0;
}

/* フォーム内のpタグの余白をリセット */
.contact-form-wrapper .wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    max-width: 100% !important;
}

/* 2カラムレイアウトの維持 */
.contact-form-wrapper .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

/* フォームグループ */
.contact-form-wrapper .form-group {
    display: flex;
    flex-direction: column;
}

/* 1カラムのフォームグループ */
.contact-form-wrapper .wpcf7-form > .form-group {
    margin-bottom: 1.2rem;
}

/* ラベルスタイル */
.contact-form-wrapper .form-label,
.contact-form-wrapper .form-group > label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #333;
}

/* 必須マーク */
.contact-form-wrapper .required {
    color: #dc3545;
    margin-left: 0.25rem;
}

/* 入力フィールド共通スタイル */
.contact-form-wrapper .form-input,
.contact-form-wrapper .wpcf7-form-control.wpcf7-text,
.contact-form-wrapper .wpcf7-form-control.wpcf7-email,
.contact-form-wrapper .wpcf7-form-control.wpcf7-tel {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form-wrapper .form-input:focus,
.contact-form-wrapper .wpcf7-form-control:focus {
    outline: none;
    border-color: #4CAF50;
}

/* セレクトボックス */
.contact-form-wrapper .form-select,
.contact-form-wrapper .wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

/* テキストエリア */
.contact-form-wrapper .form-textarea,
.contact-form-wrapper .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
}

/* プライバシーポリシー */
.contact-form-wrapper .form-privacy {
    margin: 1.2rem 0;
}

.contact-form-wrapper .privacy-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* チェックボックスの配置を修正 */
.contact-form-wrapper .wpcf7-list-item {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.contact-form-wrapper .wpcf7-list-item-label {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-wrapper .privacy-checkbox,
.contact-form-wrapper .wpcf7-form-control.wpcf7-acceptance {
    margin: 0 0.5rem 0 0 !important;
    padding: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
    width: auto !important;
    height: auto !important;
    vertical-align: middle;
}

.contact-form-wrapper .privacy-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    display: inline;
}

.contact-form-wrapper .privacy-text a {
    color: #4CAF50;
    text-decoration: underline;
}

/* 送信ボタン */
.contact-form-wrapper .form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-form-wrapper .submit-button,
.contact-form-wrapper .wpcf7-form-control.wpcf7-submit {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
}

.contact-form-wrapper .submit-button:hover,
.contact-form-wrapper .wpcf7-form-control.wpcf7-submit:hover {
    background-color: #1976D2;
}

/* Contact Form 7のエラーメッセージ */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.contact-form-wrapper .wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545;
}

/* 送信完了・エラーメッセージ */
.contact-form-wrapper .wpcf7-response-output {
    border: 2px solid #4CAF50;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    background-color: #f0f9f0;
}

.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-mail-sent-ng {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    border-color: #4CAF50;
    background-color: #f0f9f0;
}

/* Contact Form 7のスピナー非表示（オプション） */
.wpcf7-spinner {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form-wrapper .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===========================
   サンクスページ
   =========================== */

.thanks-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.thanks-container {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-content {
    background: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* チェックマークアイコン */
.thanks-icon {
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 見出し */
.thanks-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* メッセージ */
.thanks-message {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.thanks-message p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.thanks-message p:last-child {
    margin-bottom: 0;
}

.thanks-note {
    font-size: 0.9rem;
    color: #999;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-top: 2rem !important;
}

/* 連絡先情報 */
.thanks-contact-info {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.thanks-contact-box {
    text-align: center;
}

.thanks-contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.thanks-phone {
    font-size: 1.8rem;
    color: #2196F3;
    margin-bottom: 0.5rem;
}

.thanks-phone strong {
    font-weight: 700;
}

.thanks-hours {
    font-size: 0.95rem;
    color: #666;
}

/* ボタン */
.thanks-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.thanks-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.thanks-button-primary {
    background-color: #2196F3;
    color: white;
}

.thanks-button-primary:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.thanks-button-secondary {
    background-color: white;
    color: #2196F3;
    border: 2px solid #2196F3;
}

.thanks-button-secondary:hover {
    background-color: #2196F3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .thanks-section {
        padding: 2rem 0;
    }

    .thanks-content {
        padding: 2rem 1.5rem;
    }

    .thanks-heading {
        font-size: 1.5rem;
    }

    .thanks-phone {
        font-size: 1.5rem;
    }

    .thanks-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .thanks-button {
        min-width: auto;
        width: 100%;
    }
}