/* ==========================================================================
   MOMO ESTATE - Sub-page common styles
   ========================================================================== */

/* Page hero (common across all sub-pages) -------------------------------- */
.page-hero {
    position: relative;

    height: 600px;
    overflow: hidden;
    background: transparent;
}
.page-hero--adminbar{height:calc(600px - 32px);}
.page-hero--adminbar .page-hero__img{top:calc(var(--header-h) - 32px);}

.page-hero--case .page-hero__img {
    background: url("../assets/case-hero-bg.jpg") center/cover no-repeat;
}
.page-hero--sell .page-hero__img {
    background: url("../assets/sell-hero-bg.jpg") center/cover no-repeat;
}
.page-hero--company .page-hero__img {
    background: url("../assets/company-hero-bg.jpg") center/cover no-repeat;
}
.page-hero--service .page-hero__img {
    background: url("../assets/service-hero-bg.jpg") center/cover no-repeat;
}
.page-hero__img {
    position: absolute;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 10%;
    background: url("../assets/wide-bg-1.png") center/cover no-repeat;
    opacity: 1;
}
.page-hero__plate {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(71.82deg, #010e28 0%, #0b2753 100%);
    color: #fff;
    width: 600px;
    height: 220px;
    padding: 0 64px 0 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.page-hero__plate .eyebrow {
    font-family: 'Cinzel', serif;
    color: #a2956f;
    font-size: 24px;
    letter-spacing: .08em;
    display: block;
    font-weight: 400;
}
.page-hero__plate h1 {
    font-family: var(--font-mincho);
    font-size: 56px;
    letter-spacing: .04em;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

/* Section head (sub-page large center title) ------------------------------ */
.subhead { text-align: center; padding: 80px 0 40px; }
.subhead .eyebrow {
    font-family: var(--font-en);
    color: var(--color-brown-soft);
    font-size: 20px;
    letter-spacing: .18em;
    display: block;
    margin-bottom: 8px;
}
.subhead h2 {
    font-family: var(--font-mincho);
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 500;
    letter-spacing: .08em;
}
.subhead .lead {
    margin-top: 16px;
    font-family: var(--font-mincho);
    font-size: 22px;
    color: var(--color-text-soft);
    letter-spacing: .04em;
}

/* Breadcrumb -------------------------------------------------------------- */
.breadcrumb {
    max-width: var(--container);
    margin: 16px auto 0;
    padding-inline: 24px;
    font-size: 12px;
    color: var(--color-text-gray);
    font-family: var(--font-gothic);
}
.breadcrumb a { color: inherit; }
.breadcrumb li { display: inline-block; }
.breadcrumb li::after { content: "›"; margin: 0 8px; color: #bbb; }
.breadcrumb li:last-child::after { content: ""; }

/* Message intro block (会社案内 ご挨拶) ----------------------------------- */
.greet {
    max-width: var(--container);
    margin: 0 auto 120px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 260px minmax(0,1fr);
    gap: 60px;
}
.greet__photo {
    width: 260px;
    aspect-ratio: 336/400;
    background: #d9d9d9 url("../assets/company-portrait.png") center/cover no-repeat;
}
.greet__name {
    font-family: var(--font-mincho);
    font-size: 32px;
    letter-spacing: .12em;
    margin-top: 8px;
}
.greet__role { font-family: var(--font-mincho); font-size: 16px; color: var(--color-text-gray); margin-bottom: 16px; }
.greet__title {
    font-family: var(--font-mincho);
    font-size: clamp(24px, 2.4vw, 32px);
    letter-spacing: .04em;
    margin-bottom: 32px;
    font-weight: 500;
}
.greet__body {
    font-family: var(--font-gothic);
    font-size: 16px;
    line-height: 2.1;
}

/* Definition table (会社概要 / 物件詳細など) ----------------------------- */
.dl-table {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--color-line);
}
.dl-table .row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--color-line);
}
.dl-table dt {
    padding: 22px 16px;
    background: #faf8f3;
    font-family: var(--font-gothic);
    font-size: 16px;
    color: var(--color-text);
}
.dl-table dd {
    margin: 0;
    padding: 22px 24px;
    font-family: var(--font-gothic);
    font-size: 16px;
    color: var(--color-text-soft);
}

/* History (沿革) ---------------------------------------------------------- */
.history {
    max-width: 1000px;
    margin: 0 auto;
}
.history .row {
    display: grid;
    grid-template-columns: 100px 50px 1fr;
    padding: 22px 0;
    border-bottom: 1px solid var(--color-line);
    font-family: var(--font-gothic);
    font-size: 16px;
}
.history .y { color: var(--color-text); font-weight: 500; }
.history .m { color: var(--color-text-gray); }

/* ===== 会社案内 (co-*) ================================================== */
.co-divider { border:none; border-top:1px solid #d9d9d9; margin:0; }

/* MESSAGE ご挨拶 */
.co-greet { display:grid; grid-template-columns:336px 1fr; gap:80px; align-items:start; padding:0 0 80px; }
.co-greet__photo { width:336px; aspect-ratio:336/400; background:#d9d9d9 url("../assets/company-portrait.png") center/cover no-repeat; }
.co-greet__role { font-family:var(--font-gothic); font-size:16px; color:var(--color-text-gray); margin-top:20px; }
.co-greet__name { font-family:var(--font-mincho); font-size:32px; font-weight:500; margin-top:8px; letter-spacing:.06em; }
.co-greet__subtitle { font-family:var(--font-mincho); font-size:32px; font-weight:500; line-height:1.5; margin-bottom:24px; }
.co-greet__body { font-family:var(--font-gothic); font-size:18px; line-height:40px; }

/* Outline 会社概要 */
.co-outline { padding:0 0 80px; }
.co-outline__row { display:flex; align-items:flex-start; border-bottom:1px solid #d9d9d9; padding:16px 0; font-family:var(--font-gothic); font-size:18px; line-height:40px; color:#000; }
.co-outline__label { width:300px; font-weight:700; flex-shrink:0; }
.co-outline__val { flex:1; }

/* HISTORY 沿革 */
.co-history { padding:0 0 80px; }
.co-history__block { display:flex; align-items:flex-start; border-bottom:1px solid #d9d9d9; padding-bottom:32px; margin-bottom:0; font-family:var(--font-gothic); font-size:18px; color:#000; }
.co-history__year { width:100px; flex-shrink:0; line-height:30px; padding-top:2px; }
.co-history__months { flex:1; }
.co-history__row { display:flex; margin-bottom:12px; }
.co-history__row:last-child { margin-bottom:0; }
.co-history__m { width:80px; flex-shrink:0; line-height:30px; }
.co-history__text { flex:1; line-height:30px; }

/* AREA 主な取引実績エリア */
.co-area { padding:0 0 80px; }
.co-area__head { margin-bottom:56px; }
.co-area__eyebrow { font-family:'Cinzel',serif; font-size:24px; color:#a2956f; display:block; margin-bottom:8px; font-weight:400; }
.co-area__title { font-family:var(--font-mincho); font-size:48px; font-weight:500; color:#000; margin:0 0 56px; }
.co-area__row { display:flex; align-items:center; gap:40px; margin-bottom:24px; }
.co-area__name { width:360px; flex-shrink:0; font-family:var(--font-gothic); font-size:32px; font-weight:700; color:#000; }
.co-area__card { flex:1; background:#fff; border:1px solid #d9d9d9; border-radius:16px; padding:16px 32px; display:flex; align-items:center; justify-content:space-between; min-height:107px; }
.co-area__card-info { flex:1; }
.co-area__cities { font-family:var(--font-gothic); font-size:16px; font-weight:700; color:#000; display:block; margin-bottom:4px; }
.co-area__types { font-family:var(--font-gothic); font-size:20px; color:#000; display:block; }
.co-area__count { font-family:var(--font-gothic); font-size:24px; font-weight:700; color:#000; flex-shrink:0; padding-left:24px; }

/* ===== 会社案内 レスポンシブ ============================================ */
@media (max-width: 781px) {
    .co-greet { grid-template-columns:1fr; gap:32px; }
    .co-greet__photo { width:100%; max-width:280px; margin:0 auto; }
    .co-greet__subtitle { font-size:22px; }
    .co-greet__body { font-size:15px; line-height:1.9; }
    .co-outline__row { font-size:15px; flex-direction:column; gap:4px; }
    .co-outline__label { width:100%; }
    .co-history__block { font-size:15px; flex-direction:column; gap:8px; }
    .co-history__year { width:100%; }
    .co-area__row { flex-direction:column; align-items:flex-start; gap:12px; }
    .co-area__name { width:100%; font-size:22px; }
    .co-area__card { min-height:auto; flex-direction:column; align-items:flex-start; gap:8px; }
    .co-area__count { padding-left:0; }
    .co-area__title { font-size:32px; margin-bottom:32px; }
}
@media (max-width: 480px) {
    .co-greet__subtitle { font-size:18px; }
    .co-area__types { font-size:16px; }
}

/* Outside Okinawa - Solutions ------------------------------------------- */
.solutions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.solution {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.solution--reverse { grid-template-columns: 1fr 1.1fr; }
.solution--reverse .solution__img { order: 2; }
.solution__img {
    aspect-ratio: 800/500;
    overflow: hidden;
    background: #d9d9d9;
}
.solution__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.solution__num {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 18px;
}
.solution__num strong {
    font-family: var(--font-en);
    font-size: 64px;
    line-height: 1;
    color: var(--color-brown);
    font-weight: 400;
}
.solution__num span {
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: .2em;
    color: var(--color-brown-soft);
}
.solution__title {
    font-family: var(--font-mincho);
    font-size: clamp(22px, 2.2vw, 30px);
    letter-spacing: .04em;
    line-height: 1.5;
    margin-bottom: 18px;
    font-weight: 500;
}
.solution__text {
    font-family: var(--font-gothic);
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-soft);
}
@media (max-width: 900px) {
    .solution, .solution--reverse { grid-template-columns: 1fr; gap: 24px; }
    .solution--reverse .solution__img { order: 0; }
}

/* Outside Okinawa - custom hero ----------------------------------------- */
.outside-hero {
    position: relative;

}
.outside-hero__img {
    width: 100%;
    aspect-ratio: 1920/600;
    overflow: hidden;
    background: #e8e8e8;
}
.outside-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.outside-hero__center {
    position: absolute;
    left: 0; right: 0;
    bottom: -28px;
    display: flex;
    justify-content: center;
}
.outside-hero__plate {
    background: #243c4f;
    color: #fff;
    padding: 18px 56px;
    font-family: var(--font-mincho);
    font-size: clamp(18px, 2vw, 26px);
    letter-spacing: .12em;
    font-weight: 500;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.outside-intro {
    max-width: 900px;
    margin: 80px auto 100px;
    padding: 0 24px;
    text-align: center;
}
.outside-intro h1 {
    font-family: var(--font-mincho);
    font-size: clamp(28px, 3.5vw, 48px);
    letter-spacing: .08em;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 50px;
}
.outside-intro__catch {
    font-family: var(--font-mincho);
    font-size: 18px;
    color: var(--color-brown-soft);
    letter-spacing: .14em;
    margin-bottom: 28px;
}
.outside-intro__subhead {
    font-family: var(--font-mincho);
    font-size: clamp(22px, 2vw, 30px);
    letter-spacing: .06em;
    font-weight: 500;
    margin-bottom: 40px;
}
.outside-intro__body {
    font-family: var(--font-gothic);
    font-size: 15px;
    line-height: 2.2;
    color: var(--color-text-soft);
}
.outside-intro__body p { margin: 0; }

/* Philosophy rows (沖縄県外向け詳細) ------------------------------------ */
.philos { display: flex; flex-direction: column; gap: 80px; }
.philos__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}
.philos__num {
    font-family: var(--font-en);
    font-size: 120px;
    line-height: 1;
    color: var(--color-brown-soft);
    opacity: .5;
    font-weight: 400;
}
.philos__title {
    font-family: var(--font-mincho);
    font-size: 26px;
    letter-spacing: .04em;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.5;
}
.philos__body {
    font-family: var(--font-gothic);
    font-size: 15px;
    line-height: 2;
}
.philos__list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: var(--font-gothic);
    font-size: 14px;
    line-height: 1.9;
}
@media (max-width: 768px) {
    .philos__row { grid-template-columns: 1fr; gap: 16px; }
    .philos__num { font-size: 80px; }
}

/* Business cards (事業案内 - MOMOエステートの事業) ----------------------- */
.biz-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.biz-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: center;
}
.biz-card:nth-child(even) {
    grid-template-columns: 1fr 420px;
}
.biz-card:nth-child(even) .biz-card__body { order: -1; }
.biz-card__img {
    aspect-ratio: 420/280;
    background: #d9d9d9 url("../assets/service-img.png") center/cover no-repeat;
}
.biz-card__img--2 { background-image: url("../assets/wide-bg-1.png"); }
.biz-card__img--3 { background-image: url("../assets/service-large.png"); }
.biz-card__title {
    font-family: var(--font-mincho);
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: .04em;
}
.biz-card__text {
    font-family: var(--font-gothic);
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-soft);
}
@media (max-width: 768px) {
    .biz-card, .biz-card:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
    .biz-card:nth-child(even) .biz-card__body { order: 0; }
}

/* Reason / Strength cards (事業案内) -------------------------------------- */
.reason-list { max-width: 1000px; margin: 0 auto; }
.reason {
    padding: 50px 0;
    border-top: 1px solid var(--color-line);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
}
.reason:last-child { border-bottom: 1px solid var(--color-line); }
.reason__num {
    font-family: var(--font-en);
    color: var(--color-brown-soft);
    font-size: 24px;
    letter-spacing: .12em;
}
.reason__num strong {
    display: block;
    font-size: 56px;
    color: var(--color-brown);
    font-weight: 400;
    line-height: 1;
}
.reason__title {
    font-family: var(--font-mincho);
    font-size: 28px;
    letter-spacing: .04em;
    margin-bottom: 10px;
}
.reason__sub {
    font-family: var(--font-en);
    font-size: 14px;
    color: var(--color-brown-soft);
    letter-spacing: .12em;
    margin-bottom: 16px;
    display: block;
}
.reason__body {
    font-family: var(--font-gothic);
    font-size: 16px;
    line-height: 2;
}

/* News list (お知らせ一覧) ------------------------------------------------ */
.archive-news {
    max-width: 1000px;
    margin: 0 auto 60px;
    border-top: 1px solid var(--color-line);
}

/* Column grid (sub-page archive) ----------------------------------------- */
.archive-col {
    max-width: var(--container);
    margin: 0 auto 40px;
    padding-inline: 24px;
}

/* Pagination ------------------------------------------------------------ */
.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 100px;
}
.pager a, .pager span {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    font-family: var(--font-gothic);
    font-size: 14px;
    color: var(--color-text-soft);
}
.pager .current { background: var(--color-brown); color: #fff; border-color: var(--color-brown); }

/* Property card (archive) ------------------------------------------------ */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: var(--container);
    margin: 0 auto 60px;
    padding-inline: 24px;
}

/* Forms ----------------------------------------------------------------- */
.form-block {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 24px;
}
.form-block__lead {
    font-family: var(--font-gothic);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
    text-align: center;
}
.form-sec-title {
    font-family: var(--font-mincho);
    font-size: 24px;
    letter-spacing: .04em;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
    margin-bottom: 24px;
    font-weight: 500;
}
.form-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 18px 0;
    align-items: start;
}
.form-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-gothic);
    font-size: 16px;
    padding-top: 8px;
}
.tag-required, .tag-optional {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: .08em;
}
.tag-required { background: #c14b4b; }
.tag-optional { background: #9e9e9e; }
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    border: 1px solid #d6d6d6;
    background: #f7f7f7;
    padding: 14px 18px;
    font-family: var(--font-gothic);
    font-size: 16px;
    color: var(--color-text);
    border-radius: 0;
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-row .horizontal { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row .horizontal .form-input { width: auto; min-width: 0; }
.form-checks { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 10px; }
.form-checks label { font-size: 15px; gap: 8px; }
.form-checks input { width: 18px; height: 18px; }
.form-consent {
    text-align: center;
    padding: 32px 0 20px;
}
.btn-submit {
    display: block;
    width: 320px;
    margin: 24px auto 0;
    padding: 20px 0;
    background: var(--color-brown);
    color: #fff;
    border: 0;
    font-family: var(--font-mincho);
    font-size: 18px;
    letter-spacing: .12em;
    cursor: pointer;
}
.btn-submit:hover { opacity: .92; }

/* Property overview (詳細ページ) ----------------------------------------- */
.prop-overview {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.prop-overview__table { margin: 0; }
.prop-overview__floorplan {
    aspect-ratio: 1/1;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #898989;
    font-family: var(--font-gothic);
    font-size: 16px;
}
@media (max-width: 768px) {
    .prop-overview { grid-template-columns: 1fr; }
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.feature-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #faf8f3;
    border: 1px solid #e7e0c9;
    color: var(--color-text-soft);
    font-family: var(--font-gothic);
    letter-spacing: .04em;
}

.prop-map {
    width: 100%;
    aspect-ratio: 16/6;
    background: #e3e3e3;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, #d0d0d0 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, #d0d0d0 40px);
}

.agent {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: start;
    background: #faf8f3;
    padding: 24px;
}
.agent__photo {
    width: 100px; height: 100px;
    background: #d9d9d9 url("../assets/service-img.png") center/cover no-repeat;
    border-radius: 50%;
}
.agent__body p {
    font-family: var(--font-gothic);
    font-size: 14px;
    line-height: 2;
    margin: 0;
    color: var(--color-text-soft);
}
.agent__name {
    margin-top: 0;
    font-family: var(--font-mincho);
    font-size: 18px;
    color: var(--color-text);
}

/* Property detail (詳細) ------------------------------------------------- */
.prop-detail-head {
    max-width: var(--container);
    margin: 0 auto 60px;
    padding: 60px 24px 0;
}
.prop-detail-head h1 {
    font-family: var(--font-mincho);
    font-size: clamp(24px, 2.6vw, 32px);
    letter-spacing: .04em;
    margin-bottom: 16px;
}
.prop-detail-head__meta {
    font-family: var(--font-mincho);
    font-size: 20px;
    color: var(--color-text-soft);
    margin-bottom: 16px;
}
.prop-detail-head__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.prop-detail-head__price .num {
    font-family: var(--font-mincho);
    color: var(--color-brown-soft);
    font-size: 32px;
    letter-spacing: .04em;
}

/* Gallery --------------------------------------------------------------- */
.gallery {
    max-width: var(--container);
    margin: 0 auto 80px;
    padding: 0 24px;
}
.gallery h2 {
    font-family: var(--font-mincho);
    font-size: 20px;
    border-left: 4px solid var(--color-brown);
    padding-left: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}
.gallery__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
.gallery__grid .item {
    background: #e3e3e3 url("../assets/placeholder-thumb.png") center/cover no-repeat;
    aspect-ratio: 4/3;
}
.gallery__grid .item:first-child {
    grid-row: 1 / span 2;
    aspect-ratio: auto;
}
.gallery__caption {
    font-family: var(--font-gothic);
    font-size: 14px;
    color: var(--color-text-soft);
    margin-top: 14px;
    line-height: 1.9;
}

/* Sales achievement (販売実績) ------------------------------------------- */
.sales-block { max-width: 1248px; margin: 0 auto; padding: 0 24px 80px; }
.sales-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .sales-twocol { grid-template-columns: 1fr; } }
.sales-block-note { text-align: right; font-size: 12px; color: var(--color-text-gray); margin-bottom: 24px; }
.sales-area-title {
    font-family: var(--font-mincho);
    font-size: 32px;
    font-weight: 500;
    color: #222;
    text-align: center;
    margin: 56px 0 24px;
}
.sales-area-title:first-child { margin-top: 0; }
.sales-area-title small {
    display: block;
    font-size: 14px;
    color: var(--color-text-gray);
    margin-top: 8px;
    letter-spacing: .04em;
}
.sales-tabs {
    display: block;
    margin-bottom: 0;
}
.sales-tabs span {
    display: block;
    padding: 10px 16px;
    background: #ddd;
    color: #222;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
.sales-table {
    max-width: 100%;
    margin: 0 0 40px;
    border-collapse: collapse;
    width: 100%;
}
.sales-table th, .sales-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #b2b2b2;
    font-family: var(--font-gothic);
    font-size: 14px;
    text-align: left;
    color: #000;
    vertical-align: top;
}
.sales-table th {
    background: #f5f5f5;
    color: #000;
    font-weight: bold;
}
.sales-table td {
    font-weight: normal;
}

/* Case detail (ケーススタディ詳細) ---------------------------------------- */
.case-detail {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.case-detail__tag {
    display: inline-block;
    background: var(--color-brown-soft);
    color: #fff;
    padding: 4px 18px;
    font-family: var(--font-gothic);
    font-size: 14px;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.case-detail h1 {
    font-family: var(--font-mincho);
    font-size: 28px;
    margin-bottom: 8px;
    letter-spacing: .04em;
}
.case-detail__location {
    font-family: var(--font-gothic);
    font-size: 14px;
    color: var(--color-text-gray);
    margin-bottom: 28px;
}
.case-detail__hero {
    width: 100%;
    aspect-ratio: 1400/500;
    background: #d9d9d9 url("../assets/placeholder-thumb.png") center/cover no-repeat;
    margin-bottom: 40px;
}
.case-detail__lead {
    font-family: var(--font-gothic);
    font-size: 16px;
    line-height: 2.1;
    margin-bottom: 48px;
}
.case-section {
    padding: 28px 0;
    border-top: 1px solid var(--color-line);
}
.case-section:last-of-type { border-bottom: 1px solid var(--color-line); }
.case-section h2 {
    font-family: var(--font-mincho);
    font-size: 20px;
    color: var(--color-brown);
    margin-bottom: 12px;
    font-weight: 500;
}
.case-section p {
    font-family: var(--font-gothic);
    font-size: 16px;
    line-height: 2;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    font-family: var(--font-mincho);
    font-size: 18px;
    color: var(--color-brown-soft);
    letter-spacing: .14em;
}
.back-link::before { content: "‹"; font-size: 22px; }

/* Privacy --------------------------------------------------------------- */
.privacy-body {
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 24px;
    font-family: var(--font-gothic);
    font-size: 15px;
    line-height: 2;
}
.privacy-body h2 {
    font-family: var(--font-mincho);
    font-size: 20px;
    margin: 32px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--color-brown);
    font-weight: 500;
}
.privacy-body p { margin-bottom: 16px; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
    .greet { grid-template-columns: 1fr; gap: 30px; }
    .greet__photo { margin: 0 auto; }
    .property-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .page-hero { height: 300px; }
    .page-hero--adminbar { height: calc(300px - 32px); }
    .page-hero__img { top: 0; left: 0; }
    .page-hero__plate { width: 100%; height: auto; padding: 12px 20px 14px 24px; gap: 8px; }
    .page-hero__plate .eyebrow { font-size: 14px; }
    .page-hero__plate h1 { font-size: 28px; }
    .dl-table .row, .form-row { grid-template-columns: 1fr; gap: 8px; }
    .dl-table dt, .form-row label { padding: 14px 8px; }
    .reason { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
    .history .row { grid-template-columns: 80px 40px 1fr; }
    .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery__grid .item:first-child { grid-column: 1 / span 2; grid-row: auto; }
    .property-grid { grid-template-columns: 1fr; }
    .btn-submit { width: 100%; }
    .sales-table { font-size: 12px; }
    .sales-table th, .sales-table td { padding: 8px 6px; }
}
@media (max-width: 480px) {
    .page-hero { height: 300px; }
    .page-hero__plate { padding: 12px 16px; gap: 8px; }
    .page-hero__plate .eyebrow { font-size: 12px; }
    .page-hero__plate h1 { font-size: 22px; }
}

/* ===== 事業案内 (biz-reason-* / biz-svc-*) ============================== */

/* 3つの強み pre-kicker */
.biz-kicker { font-family:var(--font-mincho); font-size:28px; color:#707070; margin:0 0 8px; }

/* Reason blocks */
.biz-reasons { padding:0 0 80px; }
.biz-reason { text-align:center; padding:64px 0; }
.biz-reason__eyebrow { font-family:'Cinzel',serif; font-size:24px; color:#a2956f; display:block; margin-bottom:16px; font-weight:400; }
.biz-reason__title-wrap { display:flex; align-items:center; justify-content:center; gap:24px; margin-bottom:16px; }
.biz-reason__line { flex:0 0 280px; height:1px; background:#b2b2b2; }
.biz-reason__title { font-family:var(--font-mincho); font-size:32px; font-weight:500; color:#0b2753; margin:0; white-space:nowrap; }
.biz-reason__sub { font-family:'Cinzel',serif; font-size:14px; color:#b2b2b2; letter-spacing:.08em; display:block; margin-bottom:28px; }
.biz-reason__body { font-family:var(--font-gothic); font-size:18px; line-height:40px; max-width:800px; margin:0 auto; color:#000; text-align:left; }

/* Services grid */
.biz-services { padding:0 0 120px; }
.biz-svc { display:grid; grid-template-columns:54fr 46fr; gap:56px; align-items:start; margin-bottom:56px; }
.biz-svc--rev { grid-template-columns:46fr 54fr; }
.biz-svc--rev .biz-svc__img { order:2; }
.biz-svc--rev .biz-svc__body { order:1; }
.biz-svc__img { aspect-ratio:650/400; overflow:hidden; background:#d9d9d9 url("../assets/biz-img-1.jpg") center/cover no-repeat; }
.biz-svc__img--2 { background-image:url("../assets/biz-img-2.jpg"); }
.biz-svc__img--3 { background-image:url("../assets/biz-img-3.jpg"); }
.biz-svc__body { display:flex; flex-direction:column; justify-content:center; height:100%; }
.biz-svc__title { font-family:var(--font-mincho); font-size:24px; font-weight:500; line-height:40px; margin-bottom:20px; color:#000; }
.biz-svc__text { font-family:var(--font-gothic); font-size:16px; line-height:30px; color:#000; }

@media (max-width:781px) {
    .biz-kicker { font-size:20px; }
    .biz-reason { padding:40px 0; }
    .biz-reason__title { font-size:22px; white-space:normal; }
    .biz-reason__body { font-size:15px; line-height:1.9; }
    .biz-svc, .biz-svc--rev { grid-template-columns:1fr; gap:20px; }
    .biz-svc--rev .biz-svc__img { order:0; }
    .biz-svc--rev .biz-svc__body { order:0; }
    .biz-svc__img { aspect-ratio:16/9; }
    .biz-svc__title { font-size:20px; }
}
@media (max-width:480px) {
    .biz-reason__eyebrow { font-size:18px; }
    .biz-reason__title { font-size:18px; }
    .biz-reason__line { display:none; }
    .biz-reason__sub { font-size:12px; }
    .biz-reason__body { font-size:14px; line-height:1.8; }
}

/* ===== Form Pages (お問い合わせ / 物件探し / 査定依頼) =================== */

/* Page heading – replaces hero block */
.form-page-heading {
    text-align: center;
    padding: 100px 24px 60px;
    background: #fff;
}
.form-page-heading .eyebrow {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--color-brown);
    letter-spacing: .1em;
    margin-bottom: 12px;
}
.form-page-heading h1 {
    font-family: var(--font-mincho);
    font-size: 56px;
    font-weight: 500;
    color: #000;
    letter-spacing: .02em;
    line-height: 1.2;
}

/* Form page intro paragraph */
.form-page-intro {
    font-family: var(--font-gothic);
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 48px;
    color: #000;
}

/* Wide form block */
.form-block {
    max-width: 1248px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

/* CF7 wrapper: kill all p/br noise from wpautop */
.form-block .wpcf7 { margin: 0; }
.form-block .wpcf7 p { display: contents; }
.form-block .wpcf7 br { display: none; }
.form-block .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 20px;
    font-size: 14px;
}

/* ─── Form sections ──────────────────────────────────────────── */
.form-section { margin-bottom: 0; }

.form-section-heading {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 500;
    color: #000;
    padding: 20px 0 18px;
    border-bottom: 2px solid #c8c8c8;
    margin-bottom: 0;
    position: relative;
}
.form-section-heading::before {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: var(--color-brown);
    position: absolute;
    bottom: -2px;
    left: 0;
}

/* ─── Form rows ──────────────────────────────────────────────── */
.form-block .form-row {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 0;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}
/* first row after section heading gets a top border too */
.form-section-heading + .form-row {
    border-top: 1px solid #e0e0e0;
}
/* first row in a form with no section heading */
.wpcf7-form > .form-section > .form-row:first-of-type,
.wpcf7-form > .form-row:first-of-type {
    border-top: 1px solid #e0e0e0;
}

/* ─── Labels ─────────────────────────────────────────────────── */
.form-block .form-row .form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: bold;
    color: #000;
    padding: 10px 28px 0 0;
}
.form-block .form-label .tag-required,
.form-block .form-label .tag-optional {
    flex-shrink: 0;
    margin-left: 8px;
}

/* ─── Badges ─────────────────────────────────────────────────── */
.tag-required, .tag-optional {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-gothic);
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    padding: 3px 10px;
    letter-spacing: .05em;
    white-space: nowrap;
}
.form-block .tag-required { background: #dc080c; }
.form-block .tag-optional { background: #999; }

/* ─── Field wrappers ─────────────────────────────────────────── */
.form-field { width: 100%; padding-top: 6px; }
.form-field > .wpcf7-form-control-wrap { display: block; }

/* ─── Base inputs ────────────────────────────────────────────── */
.form-block .form-input,
.form-block .form-textarea,
.form-block .form-select {
    display: block;
    background: #fff;
    border: 1px solid #a5a5a5;
    padding: 0 16px;
    font-family: var(--font-gothic);
    font-size: 16px;
    color: var(--color-text);
    height: 40px;
    line-height: 40px;
    border-radius: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
}
.form-block .form-textarea {
    height: 200px;
    min-height: 200px;
    line-height: 1.6;
    padding: 10px 16px;
    resize: vertical;
}
.form-block .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23333'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-block .form-input::placeholder,
.form-block .form-textarea::placeholder { color: #999; }
.form-block .wpcf7-form-control-wrap { display: block; }

/* ─── Input width variants ───────────────────────────────────── */
.form-input--name   { width: 200px; }
.form-input--zip    { width: 180px; }
.form-input--addr1  { flex: 1; min-width: 0; }
.form-input--addr2  { width: 140px; }
.form-input--tel    { width: 80px; text-align: center; }
.form-select--sm    { width: 180px; }

/* Fix: CF7 wraps our custom-size inputs in wpcf7-form-control-wrap which is block */
.form-input--name   + .wpcf7-form-control-wrap,
.form-block .wpcf7-form-control-wrap:has(.form-input--name) { display: inline-block !important; }

/* ─── Address block ──────────────────────────────────────────── */
.form-field--address > * { display: block; }
.form-field--address .form-select { margin: 8px 0; width: 180px; }

.form-row-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.form-row-inline:last-child { margin-bottom: 0; }
.form-row-inline--addr { gap: 8px; }
.form-row-inline .wpcf7-form-control-wrap { display: inline-block; }

/* 住所自動入力 button */
.btn-zip-auto {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 24px;
    background: #484848;
    color: #fff;
    border: 0;
    font-family: var(--font-gothic);
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-zip-auto:hover { opacity: .85; }

/* ─── Tel field ──────────────────────────────────────────────── */
.form-field--tel {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: 6px;
}
.form-field--tel .wpcf7-form-control-wrap { display: inline-block; }
.tel-sep {
    padding: 0 6px;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
    line-height: 40px;
}

/* ─── Checkbox (物件探し 間取り) ────────────────────────────── */
.form-field--check .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    padding-top: 6px;
}
.form-field--check .wpcf7-list-item { margin: 0; }
.form-field--check .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-gothic);
    font-size: 15px;
    cursor: pointer;
}
.form-field--check .wpcf7-list-item input[type="checkbox"] {
    width: 16px; height: 16px; cursor: pointer; flex-shrink: 0;
}

/* ─── Radio (査定依頼 住所) ─────────────────────────────────── */
.form-radio-group { margin-bottom: 12px; }
.form-radio-group .wpcf7-radio { display: flex; gap: 24px; }
.form-radio-group .wpcf7-list-item { margin: 0; }
.form-radio-group .wpcf7-list-item label {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-gothic); font-size: 16px; cursor: pointer;
}
.form-radio-group .wpcf7-list-item input[type="radio"] {
    width: 14px; height: 14px; cursor: pointer; flex-shrink: 0;
}

/* ─── Validation ─────────────────────────────────────────────── */
.form-block .wpcf7-not-valid-tip {
    color: #dc080c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ─── Consent ────────────────────────────────────────────────── */
.form-block .form-consent {
    text-align: center;
    padding: 40px 0 20px;
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: bold;
    color: #000;
}
.form-block .form-consent .wpcf7-acceptance { display: inline-flex; align-items: center; gap: 8px; }
.form-block .form-consent .wpcf7-list-item { margin: 0; }
.form-block .form-consent input[type="checkbox"] {
    width: 14px; height: 14px;
    border: 1px solid #000;
    cursor: pointer;
    flex-shrink: 0;
}

/* ─── Submit button ──────────────────────────────────────────── */
.form-block .wpcf7-submit,
.form-block .btn-submit {
    display: block;
    width: 300px;
    margin: 24px auto 0;
    padding: 10px 0;
    background: var(--color-brown);
    color: #fff;
    border: 0;
    font-family: var(--font-gothic);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: .08em;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
}
.form-block .wpcf7-submit:hover,
.form-block .btn-submit:hover { opacity: .9; }

/* ─── Form note ──────────────────────────────────────────────── */
.form-note {
    font-family: var(--font-gothic);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: #666;
    margin-top: 32px;
}

/* ===== 個人情報保護方針 ================================================== */
.privacy-block { padding-bottom: 100px; }
.privacy-lead {
    font-family: var(--font-mincho);
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 48px;
}
.privacy-section { margin-bottom: 48px; }
.privacy-heading {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 600;
    color: #0b2753;
    margin-bottom: 16px;
}
.privacy-section p {
    font-family: var(--font-mincho);
    font-size: 16px;
    line-height: 30px;
}

/* ===== Responsive ======================================================== */
@media (max-width: 999px) {
    .form-page-heading { padding: 60px 24px 40px; }
    .form-page-heading h1 { font-size: 36px; }
    .form-page-heading .eyebrow { font-size: 16px; }
    .form-block .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .form-block .form-row .form-label { padding: 0; }
    .form-block .wpcf7-submit,
    .form-block .btn-submit { width: 100%; }
    .form-input--zip { width: 140px; }
    .form-row-inline--addr { flex-wrap: wrap; }
    .form-input--addr2 { width: 120px; }
}
@media (max-width: 640px) {
    .form-page-heading h1 { font-size: 28px; }
    .form-field--tel { flex-wrap: wrap; gap: 4px; }
}

/* CF7 control-wrap: inline for sized inputs */
.form-block .wpcf7-form-control-wrap:has(.form-input--name) { display: inline-block; }
.form-block .wpcf7-form-control-wrap:has(.form-input--zip)  { display: inline-block; }
.form-block .wpcf7-form-control-wrap:has(.form-input--addr2){ display: inline-block; }
.form-block .wpcf7-form-control-wrap:has(.form-input--tel)  { display: inline-block; }
.form-block .wpcf7-form-control-wrap:has(.form-select--sm)  { display: inline-block; }
.form-block .form-field--address .wpcf7-form-control-wrap   { display: block; }
.form-block .form-field--address .form-row-inline .wpcf7-form-control-wrap { display: inline-block; }
.form-block .form-field--address .form-row-inline--addr .wpcf7-form-control-wrap { display: inline-block; flex: 1; min-width: 0; }
.form-block .form-field--address .form-row-inline--addr .wpcf7-form-control-wrap:last-child { flex: none; }

/* Sales additional helpers */
.sales-twocol--mt { margin-top: 40px; }
.sales-builders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sales-builders li {
    font-family: var(--font-gothic);
    font-size: 14px;
    color: var(--color-text);
    padding: 10px 16px;
    border-bottom: 1px solid #b2b2b2;
}
@media (max-width: 640px) {
    .sales-builders { grid-template-columns: 1fr; }
}

/* ===== Outside-Okinawa 販売実績テーブル ======================================= */
.out-sales-note {
    text-align: right;
    font-family: var(--font-gothic);
    font-size: 12px;
    color: var(--color-text-gray);
    margin-bottom: 16px;
}
.out-sales-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    table-layout: fixed;
}
.out-sales-table colgroup col:nth-child(1) { width: 10%; }
.out-sales-table colgroup col:nth-child(2) { width: 13%; }
.out-sales-table colgroup col:nth-child(3) { width: 12%; }
.out-sales-table colgroup col:nth-child(4) { width: auto; }
.out-sales-table colgroup col:nth-child(5) { width: 12%; }
.out-sales-table th,
.out-sales-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #b2b2b2;
    font-family: var(--font-gothic);
    font-size: 14px;
    text-align: left;
    color: #000;
    vertical-align: middle;
    word-break: break-all;
}
.out-sales-table th { font-weight: bold; background: transparent; }
.out-sales-table td { font-weight: normal; }
@media (max-width: 768px) {
    .out-sales-table, .out-sales-table thead, .out-sales-table tbody,
    .out-sales-table th, .out-sales-table td, .out-sales-table tr { display: block; }
    .out-sales-table thead { display: none; }
    .out-sales-table td { padding: 6px 16px; font-size: 13px; }
    .out-sales-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 80px;
        color: #666;
    }
    .out-sales-table tr { border-bottom: 2px solid #b2b2b2; padding: 8px 0; }
}

/* ===== 販売実績 sales-card (outside-okinawa, no image) ==================== */
.sales-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sales-card {
    display: block;
    position: relative;
    background: #fff;
    padding: 20px 20px 24px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
}
.sales-card__meta {
    font-size: 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-gothic);
    color: #000;
    padding: 0;

}

.sales-card__meta-label {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--color-text-gray);
    width: 56px;
}
.sales-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 0;
}
.sales-card__price-num {
    font-family: var(--font-mincho);
    font-size: 22px;
    color: var(--color-brown-soft);
    letter-spacing: .04em;
}
.sales-card__price-label {
    font-family: var(--font-gothic);
    font-size: 13px;
    color: #000;
    margin-right: 4px;
}
.sales-card__price-unit {
    font-family: var(--font-gothic);
    color: #000;
}
.sales-card__badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #333;
    color: #fff;
    font-family: Hiragino Sans, var(--font-gothic);
    padding: 4px 14px;
    letter-spacing: .1em;
}
@media (max-width: 900px) {
    .sales-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sales-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .sales-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sales-card-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   サブページ レスポンシブ補完 (v1.2.79)
   ========================================================================== */

/* ── 1024px ── */
@media (max-width: 1024px) {
    /* Page hero plate: 幅を画面に合わせる */
    .page-hero__plate { width: 480px; padding: 0 40px 0 60px; }
    .page-hero__plate h1 { font-size: 44px; }

    /* Sales card grid: 2列 */
    .sales-card-grid { grid-template-columns: repeat(2, 1fr); }

    /* Subhead */
    .subhead { padding: 60px 24px 32px; }

    /* Out-posts head */
    .out-posts-head { flex-wrap: wrap; gap: 12px; }
}

/* ── 999px ── */
@media (max-width: 999px) {
    /* co-greet */
    .co-greet { grid-template-columns: 1fr; gap: 32px; }
    .co-greet__photo { width: 100%; max-width: 280px; margin: 0 auto; }

    /* biz-svc */
    .biz-svc, .biz-svc--rev { grid-template-columns: 1fr; gap: 24px; }
    .biz-svc--rev .biz-svc__img { order: 0; }
    .biz-svc--rev .biz-svc__body { order: 0; }
    .biz-svc__img { aspect-ratio: 16/9; }

    /* biz-reason */
    .biz-reason__line { flex: 0 0 160px; }
    .biz-reason__title { font-size: 24px; }
    .biz-reason__body { font-size: 16px; line-height: 2; }
}

/* ── 768px ── */
@media (max-width: 768px) {
    /* Page hero */
    .page-hero { height: 300px; }
    .page-hero--adminbar { height: calc(300px - 32px); }
    .page-hero__img { top: 0; left: 0; }
    .page-hero__plate { width: 100%; max-width: 100%; padding: 0 24px 0 32px; height: auto; min-height: auto; }
    .page-hero__plate h1 { font-size: 32px; }
    .page-hero__plate .eyebrow { font-size: 15px; }

    /* Subhead */
    .subhead h2 { font-size: 28px; }
    .subhead .lead { font-size: 17px; }

    /* co-outline 縦積み */
    .co-outline__row { font-size: 16px; flex-direction: column; gap: 4px; }
    .co-outline__label { width: 100%; }

    /* co-history 縦積み */
    .co-history__block { font-size: 16px; flex-direction: column; gap: 8px; }
    .co-history__year { width: 100%; }

    /* co-area */
    .co-area__row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .co-area__name { width: 100%; font-size: 24px; }
    .co-area__card { min-height: auto; flex-direction: column; align-items: flex-start; gap: 8px; }
    .co-area__title { font-size: 36px; margin-bottom: 40px; }
    .co-area__count { padding-left: 0; font-size: 20px; }

    /* Sales card grid */
    .sales-card-grid { grid-template-columns: repeat(2, 1fr); }

    /* Sales table: 横スクロール */
    .sales-block { padding: 0 16px 60px; }
    .sales-twocol { grid-template-columns: 1fr; }
    .sales-area-title { font-size: 24px; margin: 40px 0 16px; }

    /* Biz-reason lines 非表示 */
    .biz-reason__line { display: none; }
    .biz-reason__title { font-size: 22px; white-space: normal; }
    .biz-reason__body { font-size: 15px; line-height: 1.9; }
    .biz-kicker { font-size: 22px; }

    /* Form page heading */
    .form-page-heading { padding: 60px 24px 40px; }
    .form-page-heading h1 { font-size: 36px; }

    /* Privacy */
    .privacy-heading { font-size: 20px; }
    .privacy-lead { font-size: 15px; }

    /* Gallery */
    .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery__grid .item:first-child { grid-column: 1 / span 2; grid-row: auto; }

    /* Property grid */
    .property-grid { grid-template-columns: repeat(2, 1fr); }

    /* Prop overview */
    .prop-overview { grid-template-columns: 1fr; }

    /* Agent */
    .agent { grid-template-columns: 80px 1fr; }
    .agent__photo { width: 80px; height: 80px; }
}

/* ── 640px ── */
@media (max-width: 640px) {
    /* Page hero */
    .page-hero { height: 300px; }
    .page-hero--adminbar { height: calc(300px - 32px); }
    .page-hero__img { top: 0; left: 0; }
    .page-hero__plate { min-height: auto; padding: 12px 16px 14px 20px; gap: 6px; }
    .page-hero__plate h1 { font-size: 26px; }
    .page-hero__plate .eyebrow { font-size: 13px; }

    /* Subhead */
    .subhead { padding: 40px 20px 24px; }

    /* co-area */
    .co-area__title { font-size: 28px; }
    .co-area__name { font-size: 20px; }
    .co-area__types { font-size: 15px; }

    /* Sales card grid */
    .sales-card-grid { grid-template-columns: 1fr; }

    /* Sales table */
    .sales-table { font-size: 12px; }
    .sales-table th, .sales-table td { padding: 8px 6px; }

    /* Biz */
    .biz-reason { padding: 32px 0; }
    .biz-svc__title { font-size: 18px; }

    /* Form */
    .form-page-heading h1 { font-size: 26px; }
    .form-block .form-row { grid-template-columns: 1fr; gap: 6px; }
    .form-block .form-row .form-label { padding: 0; }
    .form-block .wpcf7-submit, .form-block .btn-submit { width: 100%; max-width: 100%; }
    .form-input--zip { width: 130px; }
    .form-row-inline--addr { flex-wrap: wrap; }

    /* Property grid */
    .property-grid { grid-template-columns: 1fr; }

    /* Reason */
    .reason { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }

    /* History */
    .history .row { grid-template-columns: 70px 36px 1fr; gap: 8px; }

    /* DL-table */
    .dl-table .row { grid-template-columns: 1fr; }

    /* Privacy */
    .privacy-body { font-size: 14px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
    .page-hero { height: 300px; }
    .page-hero__img { top: 0; left: 0; }
    .page-hero__plate h1 { font-size: 22px; }
    .page-hero__plate .eyebrow { font-size: 12px; }
    .subhead h2 { font-size: 24px; }
    .co-greet__subtitle { font-size: 18px; }
    .co-greet__name { font-size: 26px; }
    .co-area__title { font-size: 24px; }
    .biz-reason__eyebrow { font-size: 18px; }
    .form-page-heading h1 { font-size: 22px; }
    .sales-card-grid { grid-template-columns: 1fr; }
    .form-field--tel { flex-wrap: wrap; gap: 4px; }
}
