body.page-id-34 .entry-title,
body.page-id-34 .page-title,
body.page-id-34 .post-title,
body.page-id-34 h1.entry-title,
body.jimoto-zipcode-form-page .entry-title,
body.jimoto-zipcode-form-page .page-title,
body.jimoto-zipcode-form-page .post-title,
body.jimoto-zipcode-form-page h1.entry-title {
    display: none !important;
}

/* 郵便番号入力ページ専用：テーマ側の余白を調整 */
body.page-id-34 .site-content,
body.page-id-34 .content-area,
body.page-id-34 .site-main,
body.page-id-34 main,
body.jimoto-zipcode-form-page .site-content,
body.jimoto-zipcode-form-page .content-area,
body.jimoto-zipcode-form-page .site-main,
body.jimoto-zipcode-form-page main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-34 .entry-content,
body.page-id-34 .page-content,
body.jimoto-zipcode-form-page .entry-content,
body.jimoto-zipcode-form-page .page-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 郵便番号入力フォーム本体 */
.jimoto-zip-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 12px 26px;
    box-sizing: border-box;
}

.jimoto-zip-hero {
    margin: 0 0 12px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
    text-align: center;
}

.jimoto-zip-label {
    display: inline-block;
    margin: 0 0 7px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: #00377F;
    border-radius: 999px;
    line-height: 1.5;
}

.jimoto-zip-title {
    margin: 0 0 7px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
    color: #222222;
}

.jimoto-zip-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #555555;
}

.jimoto-last-area-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: #f7faff;
    border: 1px solid #d8e6fb;
    border-radius: 14px;
    box-sizing: border-box;
}

.jimoto-last-area-info {
    min-width: 0;
    flex: 1;
}

.jimoto-last-area-label {
    display: inline-block;
    margin: 0 0 5px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #00377F;
    background: #ffffff;
    border: 1px solid #d8e6fb;
    border-radius: 999px;
    line-height: 1.5;
}

.jimoto-last-area-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
}

.jimoto-last-area-zip {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #00377F;
    line-height: 1.6;
    white-space: nowrap;
}

.jimoto-last-area-name {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: #222222;
    line-height: 1.6;
    word-break: break-word;
}

.jimoto-open-my-area-button {
    width: auto;
    min-width: 170px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: #00377F;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1.5;
    white-space: nowrap;
    box-sizing: border-box;
}

.jimoto-open-my-area-button:hover {
    opacity: 0.9;
}

.jimoto-zip-card {
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
    box-sizing: border-box;
    text-align: center;
}

.jimoto-zip-card-head {
    margin-bottom: 14px;
}

.jimoto-zip-card-label {
    display: inline-block;
    margin: 0 0 5px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #00377F;
    background: #f0f5ff;
    border-radius: 999px;
    line-height: 1.5;
}

.jimoto-zip-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    line-height: 1.5;
}

.jimoto-zip-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
}

.jimoto-zip-box {
    width: 54px;
    height: 58px;
    padding: 0;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: #222222;
    background: #f9fbfe;
    border: 1px solid #cfd9e8;
    border-radius: 11px;
    box-sizing: border-box;
    line-height: 1;
}

.jimoto-zip-box:focus {
    border-color: #00377F;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 55, 127, 0.12);
}

.jimoto-zip-hyphen {
    font-size: 22px;
    font-weight: 700;
    color: #777777;
}

.jimoto-zip-button {
    width: 100%;
    max-width: 310px;
    padding: 13px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: #00377F;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1.5;
}

.jimoto-zip-button:hover {
    opacity: 0.9;
}

.jimoto-zip-help {
    margin: 11px 0 0;
    font-size: 12px;
    color: #666666;
    line-height: 1.7;
}

.jimoto-zip-storage-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 12px;
    color: #666666;
    background: #f8f8f8;
    border-radius: 8px;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    body.page-id-34 .site-content,
    body.page-id-34 .content-area,
    body.page-id-34 .site-main,
    body.page-id-34 main,
    body.page-id-34 .entry-content,
    body.page-id-34 .page-content,
    body.jimoto-zipcode-form-page .site-content,
    body.jimoto-zipcode-form-page .content-area,
    body.jimoto-zipcode-form-page .site-main,
    body.jimoto-zipcode-form-page main,
    body.jimoto-zipcode-form-page .entry-content,
    body.jimoto-zipcode-form-page .page-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .jimoto-zip-wrapper {
        padding: 0 10px 24px;
    }

    .jimoto-zip-hero {
        padding: 14px 14px;
        margin: 0 0 11px;
        border-radius: 15px;
        text-align: left;
    }

    .jimoto-zip-label {
        margin-bottom: 7px;
        font-size: 11px;
    }

    .jimoto-zip-title {
        font-size: 20px;
        line-height: 1.55;
        margin-bottom: 6px;
    }

    .jimoto-zip-lead {
        font-size: 13px;
        line-height: 1.7;
    }

    .jimoto-last-area-card {
        display: block;
        padding: 12px 14px;
        margin-bottom: 11px;
        border-radius: 14px;
    }

    .jimoto-last-area-label {
        margin-bottom: 5px;
    }

    .jimoto-last-area-main {
        display: block;
        margin-bottom: 9px;
    }

    .jimoto-last-area-zip {
        display: block;
        font-size: 14px;
        margin-bottom: 1px;
    }

    .jimoto-last-area-name {
        display: block;
        font-size: 16px;
    }

    .jimoto-open-my-area-button {
        width: 100%;
        min-width: 0;
        padding: 11px 14px;
        font-size: 15px;
    }

    .jimoto-zip-card {
        padding: 14px 12px;
        border-radius: 15px;
    }

    .jimoto-zip-card-head {
        margin-bottom: 13px;
    }

    .jimoto-zip-card-title {
        font-size: 19px;
    }

    .jimoto-zip-inputs {
        gap: 5px;
        margin-bottom: 14px;
    }

    .jimoto-zip-box {
        width: 38px;
        height: 50px;
        font-size: 24px;
        border-radius: 9px;
    }

    .jimoto-zip-hyphen {
        font-size: 18px;
    }

    .jimoto-zip-button {
        max-width: none;
        font-size: 16px;
        padding: 13px 14px;
    }

    .jimoto-zip-help {
        font-size: 12px;
    }

    .jimoto-zip-storage-note {
        margin-top: 12px;
        padding: 10px 11px;
    }
}

@media screen and (max-width: 360px) {
    .jimoto-zip-inputs {
        gap: 4px;
    }

    .jimoto-zip-box {
        width: 34px;
        height: 48px;
        font-size: 22px;
    }

    .jimoto-zip-hyphen {
        font-size: 16px;
    }
}