* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #ffffff;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    background: transparent;
}

/* SP専用改行ユーティリティ */
.sp-only {
    display: none;
}

@media (max-width: 767px) {
    .sp-only {
        display: block;
    }
}

/* ============================================================
   Contact Page
   https://ic-lab.net/contact/ のコンテンツを移植・再現
   ============================================================ */
.contact-section {
    padding: 100px 20px 80px;
    background: #ffffff;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 160px 40px 120px;
    }
}

.contact-inner {
    max-width: 700px;
    margin: 0 auto;
}

/* ---- 見出し ---- */
.contact-title {
    text-align: center;
    margin-bottom: 32px;
}

.contact-title-jp {
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 6vw, 34px);
    color: #231815;
    border-bottom: 1px solid #231815;
    padding-bottom: 12px;
    letter-spacing: 0.08em;
}

.contact-title-en {
    display: block;
    margin-top: 10px;
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.35em;
    color: #231815;
}

@media (min-width: 768px) {
    .contact-title-en {
        font-size: 13px;
    }
}

/* ---- リード文 ---- */
.contact-intro {
    text-align: center;
    font-size: 14px;
    line-height: 1.9;
    color: #231815;
    letter-spacing: 0.03em;
    margin-bottom: 56px;
}

@media (min-width: 768px) {
    .contact-intro {
        font-size: 15px;
        margin-bottom: 72px;
    }
}

/* ---- フォーム ---- */
.contact-form {
    display: block;
}

.hidden-fields-container {
    border: none;
    padding: 0;
    margin: 0;
}

.form-row {
    margin-bottom: 22px;
}

.form-group .form-row {
    margin-bottom: 22px;
}

.form-head {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #231815;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.text-required {
    color: #ff0000;
    font-weight: 500;
    font-size: 12px;
    margin-left: 4px;
}

@media (min-width: 768px) {
    .form-row {
        display: flex;
        align-items: flex-start;
        gap: 24px;
    }
    .form-row.is-modify {
        align-items: center;
    }
    .form-head {
        flex: 0 0 190px;
        margin-bottom: 0;
        padding-top: 10px;
    }
    .form-row.is-modify .form-head {
        padding-top: 0;
    }
    .form-content {
        flex: 1;
        min-width: 0;
    }
}

.form-content input[type="text"],
.form-content input[type="email"],
.form-content input[type="tel"],
.form-content textarea {
    display: block;
    width: 100%;
    border: 1px solid #231815;
    border-radius: 4px;
    padding: 12px 14px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #231815;
    background: #fff;
}

.form-content input::placeholder,
.form-content textarea::placeholder {
    color: #9a9a9a;
}

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

/* ラジオ・チェックボックス */
.wpcf7-form-control.wpcf7-radio,
.wpcf7-form-control.wpcf7-acceptance,
.wpcf7-form-control.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #231815;
}

.wpcf7-list-item input[type="radio"],
.wpcf7-list-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #01375a;
    cursor: pointer;
    flex-shrink: 0;
}

/* ---- プライバシーポリシー同意エリア ---- */
.form-agree {
    text-align: center;
    margin: 40px 0 48px;
}

.text-agree {
    display: block;
    font-size: 12px;
    color: #231815;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.text-agree a {
    color: #231815;
}

.form-agree .wpcf7-form-control.wpcf7-acceptance {
    justify-content: center;
}

.form-agree .wpcf7-list-item-label {
    color: #ff0000;
    font-weight: 500;
}

.form-agree .wpcf7-list-item input[type="checkbox"] {
    accent-color: #ff0000;
}

/* ---- 送信ボタン ---- */
.form-button {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.form-button p {
    margin: 0;
    line-height: 0;
}

.form-button .wpcf7-submit {
    display: inline-block;
    min-width: 220px;
    padding: 18px 60px;
    background: #01375a;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.form-button .wpcf7-submit:hover {
    opacity: 0.85;
}

.form-button::after {
    content: '⟶';
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 16px;
    pointer-events: none;
}
