/* ========================================
   contact 固定ページ
======================================== */

.tc-contact-page {
    background: #fff;
}

.tc-contact-hero {
    background: #bfe9fb;
}

.tc-contact-form-section {
    padding: 72px 0 88px;
}

.tc-contact-container {
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto;
}

.tc-contact-lead {
    position: relative;
    margin: 72px 0 64px;
    padding: 78px 40px 40px;
    border: 3px solid #1fc329;
    border-radius: 12px;
    background: #fff;
    overflow: visible;
}

/* 上部の吹き出しラベル */
.tc-contact-lead__badge {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: min(520px, calc(100% - 60px));
    padding: 16px 32px;
    border-radius: 10px;
    background: #06c755;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    transform: translate(-50%, -50%);
}

.tc-contact-lead__badge::after {
    position: absolute;
    bottom: -14px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 15px solid #06c755;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    content: '';
    transform: translateX(-50%);
}

.tc-contact-lead__badge-icon {
    display: block;
    width: 40px;
    height: auto;
    flex: 0 0 auto;
}

/* 中央：ポイント / スマホ画像 / 手書き風メモ */
.tc-contact-lead__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px 48px;
}

.tc-contact-lead__points {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tc-contact-lead__points li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #333;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.tc-contact-lead__points li::before {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1fc329;
    color: #fff;
    content: '✓';
    font-size: 24px;
    font-weight: 900;
}

.tc-contact-lead__image {
    width: min(240px, 60vw);
    margin: 0;
}

.tc-contact-lead__image img {
    display: block;
    width: 100%;
    height: auto;
}

.tc-contact-lead__note {
    position: relative;
    margin: 0;
    color: #1d2088;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}

.tc-contact-lead__note::before,
.tc-contact-lead__note::after {
    position: absolute;
    width: 3px;
    height: 46px;
    background: #1d2088;
    border-radius: 2px;
    content: '';
}

.tc-contact-lead__note::before {
    top: -6px;
    left: -18px;
    transform: rotate(24deg);
}

.tc-contact-lead__note::after {
    right: -18px;
    bottom: -6px;
    transform: rotate(24deg);
}

/* 下部のCTAボタン */
.tc-contact-lead__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 640px;
    margin: 36px auto 0;
    padding: 18px 28px;
    border-radius: 10px;
    background: #06c755;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none;
    transition: filter var(--transition), box-shadow var(--transition), transform var(--transition);
}

.tc-contact-lead__cta:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
}

.tc-contact-lead__cta::after {
    content: '▶';
    font-size: 0.7em;
}

.tc-contact-lead__cta-icon {
    display: block;
    width: 38px;
    height: auto;
    flex: 0 0 auto;
}

.tc-contact-page .hs-form-frame .hs-form input.hs-input,
.tc-contact-page .hs-form-frame .hs-form textarea.hs-input,
.tc-contact-page .hs-form-frame .hs-form select.hs-input,
.tc-contact-page .hs-form-frame input,
.tc-contact-page .hs-form-frame textarea,
.tc-contact-page .hs-form-frame select {
    background: #fff !important;
    background-color: #fff !important;
}

.tc-contact-phone {
    position: relative;
    margin: 0 0 76px;
    padding-top: 52px;
}

.tc-contact-phone__banner {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(506px, calc(100% - 80px));
    height: 74px;
    border-radius: 10px;
    background: var(--color-navy);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    transform: translateX(-50%);
}

.tc-contact-phone__banner::after {
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 20px solid var(--color-navy);
    border-right: 13px solid transparent;
    border-left: 13px solid transparent;
    content: '';
    transform: translateX(-50%);
}

.tc-contact-phone__icon {
    display: inline-block;
    color: currentColor;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.tc-contact-phone__box {
    position: relative;
    min-height: 172px;
    padding: 60px 100px 24px;
    border: 3px solid var(--color-navy);
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.tc-contact-phone__hours {
    display: table;
    position: relative;
    margin: -2px auto 22px;
    padding: 0 54px;
    color: var(--color-navy);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
}

.tc-contact-phone__hours::before,
.tc-contact-phone__hours::after {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 3px;
    background: var(--color-navy);
    content: '';
}

.tc-contact-phone__hours::before {
    left: 0;
    transform: rotate(48deg);
}

.tc-contact-phone__hours::after {
    right: 0;
    transform: rotate(-48deg);
}

.tc-contact-phone__number {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--color-navy);
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.tc-contact-phone__number:hover {
    color: #2f35b0;
}

.tc-contact-phone__number .tc-contact-phone__icon {
    font-size: 42px;
}

.tc-contact-phone__note {
    margin: 22px 0 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.tc-contact-phone__character {
position: absolute;
    right: 114px;
    bottom: -34px;
    width: 172px;
    height: auto;
}

.tc-contact-form-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
}

.tc-contact-form-heading__banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: min(506px, calc(100% - 80px));
    height: 74px;
    margin: 0 auto 66px;
    border-radius: 10px;
    background: #42bfe5;
    color: #fff;
}

.tc-contact-form-heading__banner::after {
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 20px solid #42bfe5;
    border-right: 13px solid transparent;
    border-left: 13px solid transparent;
    content: '';
    transform: translateX(-50%);
}

.tc-contact-form-heading__icon {
    display: block;
    width: 38px;
    height: auto;
}

.tc-contact-form-heading__copy {
    display: grid;
    gap: 12px;
    margin: 0 auto 34px;
    color: #333;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.tc-contact-form-heading__copy p {
    margin: 0;
}

.tc-contact-form-heading {
    margin: 0 auto;
    text-align: center;
}

.hs-form-frame {
    min-height: 520px;
    padding: 28px;
    border: 2px solid #42c5cf;
    border-radius: 8px;
    background: #effcff;
}

@media (max-width: 768px) {
    .tc-contact-form-section {
        padding: 48px 0 64px;
    }

    .tc-contact-container {
        width: calc(100% - 28px);
    }

    .tc-contact-lead {
        margin-top: 52px;
        margin-bottom: 44px;
        padding: 58px 16px 28px;
    }

    .tc-contact-lead__badge {
        min-width: calc(100% - 24px);
        padding: 12px 16px;
        gap: 8px;
        font-size: 16px;
    }

    .tc-contact-lead__badge::after {
        bottom: -11px;
        border-top-width: 12px;
        border-right-width: 10px;
        border-left-width: 10px;
    }

    .tc-contact-lead__badge-icon {
        width: 28px;
    }

    .tc-contact-lead__body {
        gap: 20px 24px;
    }

    .tc-contact-lead__points {
        gap: 14px;
    }

    .tc-contact-lead__points li {
        gap: 10px;
        font-size: 17px;
    }

    .tc-contact-lead__points li::before {
        width: 26px;
        height: 26px;
        font-size: 17px;
    }

    .tc-contact-lead__image {
        width: min(200px, 62vw);
    }

    .tc-contact-lead__note {
        font-size: 15px;
    }

    .tc-contact-lead__note::before,
    .tc-contact-lead__note::after {
        height: 34px;
    }

    .tc-contact-lead__cta {
        margin-top: 26px;
        padding: 14px 18px;
        gap: 10px;
        font-size: 16px;
    }

    .tc-contact-lead__cta-icon {
        width: 30px;
    }

    .tc-contact-phone {
        margin-bottom: 56px;
        padding-top: 42px;
    }

    .tc-contact-phone__banner {
        width: calc(100% - 28px);
        height: 58px;
        gap: 10px;
        font-size: 16px;
    }

    .tc-contact-phone__icon {
        font-size: 25px;
    }

    .tc-contact-phone__box {
        min-height: 210px;
        padding: 45px 14px 20px;
    }

    .tc-contact-phone__hours {
        margin-bottom: 18px;
        padding: 0 34px;
        font-size: 20px;
    }

    .tc-contact-phone__hours::before,
    .tc-contact-phone__hours::after {
        width: 24px;
    }

    .tc-contact-phone__number {
        gap: 8px;
        font-size: clamp(30px, 9vw, 44px);
    }

    .tc-contact-phone__number .tc-contact-phone__icon {
        font-size: 32px;
    }

    .tc-contact-phone__note {
        max-width: 300px;
        margin: 18px auto 0;
        font-size: 12px;
        text-align: left;
    }

    .tc-contact-phone__character {
right: -22px;
        bottom: -40px;
        width: 85px;
    }

    .tc-contact-form-heading {
        margin: 0 auto;
    }

    .tc-contact-form-heading__banner {
        width: calc(100% - 28px);
        height: 58px;
        gap: 10px;
        margin-bottom: 50px;
    }

    .tc-contact-form-heading h2 {
        font-size: 16px;
    }

    .tc-contact-form-heading__icon {
        width: 30px;
    }

    .tc-contact-form-heading__copy {
        gap: 8px;
        margin-bottom: 26px;
        font-size: 13px;
    }

    .hs-form-frame {
        min-height: 560px;
        padding: 16px;
    }
}
