body{
    margin:0;
    padding:0;
}
a:focus {
  color: initial;
}
a:hover {
  color: #00A7DB;
}

.service-page{
    font-family: "Open Sans", "Noto Sans JP", sans-serif;

    color:#242424;
}

.container{
    width:1280px;
    max-width:92%;
    margin:0 auto;
}

/* =========================================
TOP SECTION
========================================= */

.expat-top-section{
    padding:40px 0 80px;
}

/* --------------------------------
LABEL
-------------------------------- */

.top-label{
    color:#00A7DB;
    font-weight:700;
    margin-bottom:10px;
    font-size:20px;
}

/* --------------------------------
MAIN TITLE
-------------------------------- */

.main-title{
    font-size:40px;
    line-height:1.41;
    margin-bottom:37px;
    font-weight:500;
    letter-spacing:0.01em;
}

/* --------------------------------
INTRO
-------------------------------- */

.intro-flex{
    display:flex;
    align-items:flex-start;
    gap:32px;
    margin-bottom:40px;
}

.pickup-button{
    background:#00A7DB;
    color:#fff;
    border-radius:999px;
    padding:16px 28px;
    font-size:22px;
    font-weight:700;
    white-space:nowrap;
    line-height:1;
}

.intro-text{
    font-size:16px;
    line-height:2;
    font-weight:700;
}

/* --------------------------------
STEP FLOW
-------------------------------- */

.step-flow{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
    margin-bottom:40px;
}

.step-item{
    text-align:center;
    font-size:22px;
    color:#c4e6f3;
    border-bottom:4px solid #c4e6f3;
    padding-bottom:14px;
    font-weight:700;
    line-height:1.2;
}

.step-item.active{
    color:#00A7DB;
    border-color:#00A7DB;
}

/* --------------------------------
MAIN CONTENT
-------------------------------- */

.pickup-content{
    display:flex;
    gap:50px;
    align-items:flex-start;
}

/* .pickup-image{
    width:46%;
    flex:none;
} */

/* .pickup-text{
    flex:1;
} */

/* --------------------------------
HERO IMAGE
-------------------------------- */

.pickup-image img{
    width:100%;
    aspect-ratio:0.9 / 1;
    object-fit:cover;
    object-position: top;
    display:block;
    border-radius:10px;
}

/* --------------------------------
TEXT AREA
-------------------------------- */

.pickup-text h2{
    font-size:42px;
    line-height:1.3;
    margin:0 0 20px;
    color:#00A7DB;
    font-weight:700;
}

.pickup-text h3{
    font-size:18px;
    line-height:1.8;
    margin:0 0 24px;
    font-weight:700;
}

.pickup-text p{
    font-size:13px;
    line-height:2;
    margin:0;
}

/* --------------------------------
SERVICE CARD
-------------------------------- */

.service-card{
    display:flex;
    margin-top:35px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    min-height:230px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.service-card-content{
    width:60%;
    padding:30px;
    box-sizing:border-box;
}

.service-card-content h4{
    color:#00A7DB;
    font-size:28px;
    margin:0 0 18px;
    line-height:1.5;
    font-weight:700;
}

.service-card-content p{
    font-size:13px;
    line-height:2;
}

.service-card-image{
    width:40%;
    min-height:230px;
}

.service-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    display:block;
}

/* --------------------------------
BUTTON
-------------------------------- */

.service-link{
    display:inline-block;
    margin-top:24px;
    border:2px solid #242424;
    border-radius:999px;
    padding:13px 24px;
    color:#242424;
    text-decoration:none;
    font-size:13px;
    transition:all .2s ease;
}

.service-link:hover{
    background:#242424;
    color:#fff;
}

/* =========================================
AREA PROPERTY SECTION
========================================= */

.area-property-section{
    padding:80px 0;
}

.area-intro-section{
    width:100%;
    margin-bottom:70px;
}

/* SNY: for-expatriates.php のように複数エリアをループで出力するページで、
   前のエリアの「もっと探す」ボタン直後に次のエリア見出しがくっつく問題を修正 */
.area-property-more-wrap + .area-intro-section{
    margin-top:80px;
}

/* -----------------------------------------
LAYOUT
----------------------------------------- */

.area-intro{
    display:grid;
    grid-template-columns:
        minmax(0, 1fr)
        420px;
    gap:60px;
    align-items:start;
}

/* -----------------------------------------
LEFT
----------------------------------------- */

.area-intro-text{
    width:100%;
}

.area-intro-text h2{
    font-size:48px;
    line-height:1;
    margin:0 0 12px;
    font-weight:700;
    letter-spacing:0.02em;
}

.area-intro-text h3{
    font-size:28px;
    margin:0 0 24px;
    font-weight:700;
}

/* .area-intro-text p{
    font-size:15px;
    line-height:2;
    color:#242424;
    margin-bottom:30px;
    max-width:95%;
} */
 
.page-template-for-expatriates .service-page .area-intro-text p{
	font-size:15px;
	font-weight:500;
	line-height:28px;
	color:#242424;
	margin:0 0 30px;
}

.action_tag_wrapper {
background-color: #00A7DB;
border-radius: 4px;
box-shadow: none;
padding: 1px 5px 0;
}

/* -----------------------------------------
BUTTON
----------------------------------------- */

.area-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:170px;
    height:47px;
    border:2px solid #242424;
    border-radius:999px;
    text-decoration:none;
    color:#242424;
    font-size:14px;
    font-weight:500;
    transition:.2s ease;
}

.area-button:hover{
    background:#242424;
    color:#fff;
}

/* -----------------------------------------
RIGHT IMAGE
----------------------------------------- */

.area-intro-image{
    width:100%;
}

.area-intro-image img{
    width:100%;
    aspect-ratio:1.35 / 1;
    object-fit:cover;
    border-radius:12px;
    display:block;
}

/* =========================================
PROPERTY SECTION
========================================= */

.area-property-title{
    font-size:28px;
    margin-bottom:36px;
    font-weight:700;
}

.custom-property-grid{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:30px;
}

/* -----------------------------------------
CARD
----------------------------------------- */

.custom-property-card{
    background:#F2F2F2;
    border-radius:8px;
    overflow:hidden;
    box-shadow:
        0 1px 4px rgba(0,0,0,0.08);
    transition:.2s ease;
    display:flex;
    flex-direction:column;
}

/* SNY: share/compareアイコン行をカード下端に固定表示するため、
   カードをflex column化し、アイコン行にmargin-top:autoで余白を吸収させる。
   また、flex columnの子要素はデフォルトで幅いっぱいに引き伸ばされ、
   アイコン間(share/compare)が離れすぎてしまうため、align-self:flex-endで
   本来の幅(コンパクト)のままカード右下に寄せる */
.custom-property-card .listing_actions{
    margin-top:auto;
    justify-content:flex-end;
    border-top:1px solid #ebebeb;
    padding:12px 18px 18px;
}

/* SNY: shareポップアップ(share_unit)がアイコンの真上に出るよう、
   デフォルトのleft:-2px(カード左端基準)ではなく、
   share_listアイコンの右端基準(right)で位置合わせする */
.custom-property-card .share_unit{
    left:auto !important;
    right:53px !important;
}

/* SNY: shareポップアップ表示中のみカードのoverflow:hiddenを解除し、
   ポップアップ上部が切れないようにする(画像角丸はoverflow:hiddenのまま維持) */
.custom-property-card:has(.share_unit[style*="display: block"]){
    overflow:visible !important;
}

/* SNY: buy-propertyページのshareポップアップ(share_unit)もアイコンの真上に出るよう、
   デフォルトのleft:-2pxではなく、share_listアイコンの右端基準(right)で位置合わせする */
.buyprop-pcard-actions .share_unit{
    left:auto !important;
    right:35px !important;
}

.custom-property-card:hover{
    transform:translateY(-3px);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.08);
}

.listing_actions .share_unit {
padding: 10px 0;
top: -120px;
}

/* -----------------------------------------
IMAGE
----------------------------------------- */

.custom-property-image{
    position:relative;
}

.custom-property-image img{
    width:100%;
    aspect-ratio:1.45 / 1;
    object-fit:cover;
    display:block;
}

/* -----------------------------------------
TAGS
----------------------------------------- */

.custom-property-tags{
    position:absolute;
    top:14px;
    right:14px;
    display:flex;
    gap:6px;
}

.tag-blue{
    background:#00A7DB;
    color:#fff;
    font-size:10px;
    padding:5px 8px;
    border-radius:4px;
    font-weight:700;
}

/* -----------------------------------------
CONTENT
----------------------------------------- */

.custom-property-content{
    padding:18px;
}

.custom-property-content h3{
    font-size:18px;
    line-height:1.5;
    margin:0 0 12px;
    font-weight:700;
}

.custom-property-price{
    color:#00A7DB;
    font-size:20px;
    font-weight:700;
    margin-bottom:14px;
    min-height:24px;
}

.custom-property-excerpt{
    font-size:13px;
    line-height:1.9;
    color:#242424;
    margin-bottom:18px;
    display:-webkit-box;
    line-clamp:3;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:74px;
}

.custom-property-meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    font-size:12px;
    color:#444;
}

/* -----------------------------------------
MORE BUTTON
----------------------------------------- */

.area-property-more-wrap{
    margin-top:50px;
    text-align:center;
}

.area-property-more-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:0 30px;
    height:47px;
    border:1.5px solid #242424;
    border-radius:999px;
    text-decoration:none;
    color:#242424;
    font-size:14px;
    font-weight:500;
    transition:all .2s ease-in-out;
}

.area-property-more-btn:hover{
    background:#242424;
    color:#fff;
    opacity: .7;
}

.area-property-more-btn span{
    font-size:16px;
    line-height:1;
}

/* =========================================
NEWS SECTION
========================================= */
.news-section{
    padding:30px 0 100px;
}

/* -----------------------------------------
HEADER
----------------------------------------- */

.news-section-header{
    text-align:center;
    margin-bottom:50px;
    font-size:20px;
}

.news-section-subtitle{
    color:#00A7DB;
    font-size:20px;
    font-weight:700;
}

/* -----------------------------------------
GRID
----------------------------------------- */

.news-grid{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:36px;
}

/* -----------------------------------------
CARD
----------------------------------------- */

.news-card a{
    text-decoration:none;
    color:#242424;
    display:block;
}

.news-image{
    overflow:hidden;
    margin-bottom:26px;
    border-radius:10px;
    aspect-ratio:76 / 51;
}
.news-image img{
    object-fit:cover;
    display:block;
    height: 100%;
    width: auto;
    transition:transform .3s ease;
}

.news-card:hover .news-image img{
    transform:scale(1.03);
}

/* -----------------------------------------
META
----------------------------------------- */

.news-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #242424;
  font-size: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid #707070;
}

/* -----------------------------------------
TITLE
----------------------------------------- */

.news-title{
    font-size:20px;
    line-height:1.5;
    margin:15px 0 5px;
    font-weight:700;
}
.news-title a {
    transition: all .2s ease-in-out;
}
.news-title a:hover {
    color: #00A7DB;
}

/* -----------------------------------------
EXCERPT
----------------------------------------- */

.news-excerpt{
    font-size:15px;
    line-height:1.6em;
    margin-bottom:10px;
    min-height: 72px;
}

/* -----------------------------------------
READMORE
----------------------------------------- */

.news-card > a:nth-child(5) {
font-size: 14px;
}
.news-card > a:nth-child(5):hover {
  color: #00A7DB;
}
.news-card > a:nth-child(5) {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #242424;
  text-decoration: none;
}
.news-card > a:nth-child(5):hover span {
  margin-left: 7px;
}
.news-card > a:nth-child(5) span {
  margin-left: 4px;
  transition: margin-left 0.15s ease;
}

/* -----------------------------------------
MORE BUTTON
----------------------------------------- */

.news-more-wrap{
    text-align:center;
    margin-top:60px;
}

.news-more-btn{
  position: relative;
  background-color: initial;
  display: inline-flex;
  align-items: center;
  padding: 11px 50px 12px 40px;
  border: 1.5px solid #242424;
  border-radius: 30px;
  text-decoration: none;
  color: #242424;
  font-size: 16px;
  transition: .2s ease;
}

.news-more-btn::after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  font-size: 1rem;
  margin-left: 0.85rem;
  position: absolute;
  right: 1.5rem;
}

.news-more-btn:hover{
    background:#242424;
    color:#fff;
    opacity:.7;
}

/* =========================================
BOTTOM CONTACT SECTION
========================================= */

.bottom-contact-section{
    background:#f5f1ea;
    padding:34px 40px;
    margin-top:100px;
}

.bottom-contact-inner{
    max-width:1100px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
}

/* -----------------------------------------
TEXT
----------------------------------------- */

.bottom-contact-text{
    color:#00A7DB;
    font-size:24px;
    font-weight:700;
    line-height:1.5;
    text-align:center;
}

/* -----------------------------------------
BUTTON
----------------------------------------- */

.bottom-contact-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:220px;
    height:58px;
    padding:0 36px;
    background:#00A7DB;
    color:#fff;
    text-decoration:none;
    border-radius:999px;
    font-size:16px;
    font-weight:700;
    transition:.2s ease;
}

.bottom-contact-button:hover{
    opacity:.85;
    color:#fff;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1024px){

    .main-title{
        font-size:34px;
    }

    .pickup-text h2{
        font-size:34px;
    }

    .area-intro{
        grid-template-columns:1fr;
    }

    .custom-property-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .news-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

@media(max-width:768px){

    .main-title{
        font-size:28px;
        line-height:1.5;
    }

    .intro-flex,
    .pickup-content,
    .service-card{
        flex-direction:column;
    }

    /* .pickup-image{
        width:100%;
    }

    .pickup-text{
        width:100%;
    } */

    .step-flow{
        grid-template-columns:1fr;
        gap:12px;
    }

    .step-item{
        font-size:18px;
    }

    .pickup-button{
        font-size:18px;
        padding:14px 22px;
    }

    .intro-text{
        font-size:15px;
    }

    .pickup-text h2{
        font-size:30px;
    }

    .pickup-text h3{
        font-size:18px;
    }

    .service-card-content{
        width:100%;
    }

    .service-card-image{
        width:100%;
        height:260px;
    }

    .custom-property-grid,
    .news-grid{
        grid-template-columns:repeat(1,minmax(0,1fr));
    }

    .area-intro-text h2{
        font-size:38px;
    }

    .area-intro-text h3{
        font-size:22px;
    }

    .bottom-contact-inner{
        flex-direction:column;
        gap:24px;
    }

    .bottom-contact-text{
        font-size:20px;
    }

    .bottom-contact-button{
        width:100%;
    }
}

/* =========================================
POPULAR AREA HEADING
========================================= */

.popular-area-heading{
    text-align:center;
    font-size:40px;
    line-height:1.4;
    font-weight:800;
    margin:0 0 70px;
    color:#242424;
    letter-spacing:0.02em;
}


/* =========================================
RENTAL GUIDE HERO (new-york-rental-guide.php)
========================================= */

.rental-hero{
    display:flex;
    align-items:center;
    gap:60px;
}

.rental-hero-text{
    flex:1;
}

.rental-hero-desc{
    font-size:14px;
    line-height:2;
    color:#242424;
    margin-top:20px;
}

.rental-hero-image{
    width:44%;
    flex:none;
}

.rental-hero-image img{
    width:100%;
    aspect-ratio:1.32 / 1;
    object-fit:cover;
    display:block;
    border-radius:12px;
}

/* =========================================
PROPERTY TYPE GRID (new-york-rental-guide.php)
========================================= */

.property-type-section{
    padding:20px 0 60px;
}

.property-type-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:40px;
}

.property-type-head{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
}

.property-type-icon{
    flex:none;
    width:40px;
    height:40px;
    color:#00A7DB;
}

.property-type-icon svg{
    width:100%;
    height:100%;
}

.property-type-heading h3{
    margin:0 0 4px;
    font-size:19px;
    font-weight:700;
    color:#242424;
}

.property-type-sub{
    font-size:12px;
    color:#888;
}

.property-type-card p{
    font-size:13px;
    line-height:2;
    color:#444;
    margin:0;
}

/* =========================================
RENTAL INFO SECTION (new-york-rental-guide.php)
========================================= */

.rental-info-section{
    padding:20px 0 80px;
}

.rental-info-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:70px;
    align-items:start;
}

.rental-info-heading{
    color:#00A7DB;
    font-size:21px;
    font-weight:700;
    margin:0 0 18px;
}

.rental-info-lead{
    font-size:13px;
    line-height:1.9;
    color:#444;
    margin:0 0 24px;
}

.rental-info-table{
    border-top:1px solid #ddd;
}

.rental-info-row{
    display:flex;
    gap:24px;
    padding:9px 0;
    border-bottom:1px solid #ddd;
}

.rental-info-label{
    flex:none;
    width:110px;
    font-size:14px;
    font-weight:700;
    color:#242424;
}

.rental-info-value{
    flex:1;
    font-size:13px;
    line-height:1.5;
    color:#444;
}

.rental-feature-text{
    font-size:13px;
    line-height:2;
    color:#444;
    margin:0 0 24px;
}

.rental-feature-image img{
    width:85%;
    max-width:430px;
    aspect-ratio:2.1 / 1;
    object-fit:cover;
    display:block;
    border-radius:10px;
}

/* =========================================
PROMO CARD GRID (new-york-rental-guide.php)
========================================= */

.promo-card-section{
    padding:0 0 40px;
}

.promo-card-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
}

.promo-card-grid .service-card{
    margin-top:0;
}

.service-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.service-card-label{
    display:block;
    font-size:12px;
    color:#888;
    font-weight:700;
    margin-bottom:10px;
}

/* =========================================
RESPONSIVE (new-york-rental-guide.php additions)
========================================= */

@media(max-width:1024px){

    .rental-hero{
        flex-direction:column;
        gap:30px;
    }

    .rental-hero-image{
        width:100%;
    }

    .property-type-grid{
        grid-template-columns:1fr;
        gap:36px;
    }

    .rental-info-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .promo-card-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .promo-card-grid .service-card{
        flex-direction:column;
    }

    .promo-card-grid .service-card-content,
    .promo-card-grid .service-card-image{
        width:100%;
    }

    .promo-card-grid .service-card-image{
        min-height:220px;
    }

}

@media(max-width:640px){

    .rental-hero-desc{
        font-size:13px;
    }

    .property-type-head{
        align-items:flex-start;
    }

    .rental-info-row{
        flex-direction:column;
        gap:6px;
        padding:14px 0;
    }

    .rental-info-label{
        width:100%;
    }

    .rental-feature-image img{
        aspect-ratio:1.6 / 1;
    }

}



/* =========================================
STEP BLOCK (for-expatriates.php)
========================================= */

.step-block{
    padding:40px 0;
    border-bottom:1px solid #e5e5e5;
}

.step-block-last{
    border-bottom:none;
}

.step-badge-row{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:20px;
}

.step-badge{
    flex:none;
    background:#00A7DB;
    color:#fff;
    font-size:13px;
    font-weight:700;
    padding:6px 16px;
    border-radius:999px;
    white-space:nowrap;
}

.step-badge-row h2{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#242424;
}

.step-lead{
    font-size:16px;
    font-weight:700;
    margin:0 0 14px;
    color:#242424;
}

.step-desc{
    font-size:13px;
    line-height:2;
    color:#444;
    margin:0 0 24px;
}

.step-media{
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.step-media-main{
    flex:none;
    width:220px;
}

.step-media-main img{
    width:100%;
    aspect-ratio:0.85 / 1;
    object-fit:cover;
    display:block;
    border-radius:10px;
}

.step-media-thumbs{
    display:flex;
    gap:12px;
    flex:1;
    align-items:flex-start;
}

.step-media-thumbs img{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    display:block;
    border-radius:8px;
}

.step-cta-wrap{
    margin-top:24px;
    text-align:right;
}

/* the very first step-block (step1) already has its own heading
   spacing via .step-badge-row, remove default section top padding
   so it sits closer to the step-flow bar above it */
.step-flow + .step-block{
    padding-top:30px;
}

/* =========================================
RESPONSIVE (for-expatriates.php additions)
========================================= */

@media(max-width:1024px){

    .step-media{
        flex-direction:column;
    }

    .step-media-main{
        width:100%;
    }

    .step-media-main img{
        aspect-ratio:1.6 / 1;
    }

    .step-media-thumbs{
        width:100%;
    }

    .step-cta-wrap{
        text-align:left;
    }

}

@media(max-width:640px){

    .step-badge-row h2{
        font-size:19px;
    }

    .step-media-thumbs{
        gap:8px;
    }

    .step-block{
        padding:28px 0;
    }

}


.step-media-thumbs img{
    flex:1 1 0;
    min-width:0;
}


/* =========================================
STEP ROW (for-expatriates.php) - left image / right text+thumbs layout
========================================= */

.step-row{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.step-image{
    flex:none;
    /* width:270px; */
}

.step-image img{
    width:100%;
    /* height:340px; */
    object-fit:cover;
    object-position: top;
    display:block;
    border-radius:10px;
}

.step-content{
    flex:1;
    min-width:0;
}

.step-thumbs-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:16px;
}

.step-thumb{
    flex:none;
    height:140px;
    object-fit:cover;
    border-radius:8px;
    display:block;
}
.step-cta{
    margin-left:auto;
    white-space:nowrap;
}

@media(max-width:1024px){

    .step-row{
        flex-direction:column;
        gap:24px;
    }
    .step-thumb{
        width: calc(33% - 10px) !important;
        max-width:140px !important;
    }
    .area-intro-image img {
    aspect-ratio: 16 / 9 !important;
    }
    /* .step-image{
        width:100%;
    } */

    /* .step-image img{
        height:auto;
        aspect-ratio:270 / 340;
    } */

}

@media(max-width:640px){

    .step-thumb{
        flex:1 1 0;
        min-width:0;
        width:auto;
        height:auto;
        aspect-ratio:1 / 1;
    }

    .step-cta{
        margin-left:0;
        margin-top:12px;
        width:100%;
        text-align:center;
    }

    .step-thumbs-row{
        gap:10px;
    }

}

/* 駐在員の方へ: モック(XD)の画像サイズに合わせる。
   大きい画像はピタット1〜5すべて 297x418、小さい画像は 180x180、角丸16px。
   .pickup-* は new-york-area-guide.php でも使うため、このページだけに限定する */
.page-template-for-expatriates .pickup-image img,
.page-template-for-expatriates .step-image img{
    height:100%;
    /* aspect-ratio:297 / 418; */
    border-radius:16px;
    min-height: 418px;
}

.page-template-for-expatriates .step-thumb{
    border-radius:16px;
}

/* スマホではサービスアパートメントのカードが縦並びになるが、functions.php の
   共通CSS(.service-card-content 68% / .service-card-image 32% / .service-link 380px、
   いずれも !important)が残って幅が潰れるため、このページだけ全幅に戻す */
@media(max-width:768px){

    .page-template-for-expatriates .service-card-content{
        width:100% !important;
    }

    .page-template-for-expatriates .service-card-image{
        width:100% !important;
        height:220px;
        min-height:220px;
    }

    .page-template-for-expatriates .service-link{
        width:100% !important;
        white-space:normal !important;
    }

}

@media(min-width:1025px){

    .page-template-for-expatriates .pickup-content,
    .page-template-for-expatriates .step-row{
        gap:30px;
    }

    .page-template-for-expatriates .step-thumb{
        width:180px;
        height:180px;
    }

}


/* =========================================
SERVICED APARTMENT HERO (serviced-apartment.php)
========================================= */

.apartment-hero{
    display:flex;
    gap:50px;
    align-items:flex-start;
    margin-top:20px;
}

.apartment-hero-image{
    flex:none;
    width:46%;
}

.apartment-hero-image img{
    width:100%;
    aspect-ratio:700 / 520;
    object-fit:cover;
    border-radius:12px;
    display:block;
}

.apartment-hero-text{
    flex:1;
    padding-top:10px;
}

.apartment-hero-heading{
    color:#00A7DB;
    font-size:19px;
    font-weight:700;
    margin:0 0 20px;
}

.apartment-hero-text p{
    font-size:13px;
    line-height:2;
    color:#242424;
    margin:0 0 18px;
}

/* =========================================
FEATURE GRID (serviced-apartment.php)
========================================= */

.feature-grid-section{
    background:#fffaf2;
    padding:50px 0 70px;
    margin-top:20px;
}

.feature-grid-title{
    text-align:center;
    font-size:24px;
    font-weight:700;
    margin:0 0 40px;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

.feature-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
}

.feature-card-image{
    width:100%;
    aspect-ratio:400 / 260;
}

.feature-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.feature-card-head{
    display:flex;
    align-items:center;
    gap:10px;
    padding:16px 18px 6px;
}

.feature-icon{
    flex:none;
    width:22px;
    height:22px;
    color:#00A7DB;
}

.feature-icon svg{
    width:100%;
    height:100%;
}

.feature-card-head h3{
    margin:0;
    font-size:15px;
    font-weight:700;
    color:#242424;
}

.feature-card p{
    margin:0;
    padding:0 18px 20px;
    font-size:12px;
    line-height:1.9;
    color:#242424;
}

/* =========================================
POPULAR APARTMENTS (serviced-apartment.php)
========================================= */

.popular-apartments-section{
    padding:60px 0 20px;
}

.popular-apartments-note{
    font-size:12px;
    color:#888;
    text-align:center;
    margin:10px 0 30px;
}

/* =========================================
FURNITURE / EQUIPMENT (serviced-apartment.php)
========================================= */

.furniture-section{
    padding:60px 0 60px;
}

.furniture-title{
    font-size:24px;
    font-weight:700;
    margin:0 0 30px;
}

.furniture-category{
    padding:20px 0;
    border-bottom:1px solid #e5e5e5;
}

.furniture-category-heading{
    color:#00A7DB;
    font-size:16px;
    font-weight:700;
    margin:0 0 16px;
}

.furniture-list{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px 20px;
}

.furniture-item{
    position:relative;
    display:block;
    padding-left:16px;
    font-size:13px;
    color:#242424;
}

.furniture-item::before{
    content:"";
    position:absolute;
    left:0;
    top:5px;
    width:8px;
    height:8px;
    background:#00A7DB;
}

.furniture-note{
    font-size:12px;
    color:#888;
    margin:14px 0 0;
}

.furniture-more-wrap{
    text-align:center;
    padding:10px 0 30px;
}

.furniture-more-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border:1px solid #ccc;
    background:#fff;
    border-radius:999px;
    padding:8px 22px;
    font-size:13px;
    cursor:pointer;
    color:#242424;
}

.furniture-more-arrow{
    display:inline-block;
    transition:transform .2s ease;
}

.furniture-more-btn.is-open .furniture-more-arrow{
    transform:rotate(180deg);
}

.furniture-more-box{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
}

.furniture-more-box.is-open{
    max-height:5000px;
}

/* =========================================
TESTIMONIALS (serviced-apartment.php)
========================================= */

.testimonial-section{
    background:#eaf6fb;
    padding:60px 0;
}

.testimonial-title{
    text-align:center;
    font-size:24px;
    font-weight:700;
    margin:0 0 30px;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
}

.testimonial-card{
    background:#fff;
    border-radius:10px;
    padding:26px 28px;
    position:relative;
}

.testimonial-icon{
    display:block;
    position:absolute;
    top:26px;
    left:28px;
    width:46px;
    height:46px;
    color:#00A7DB;
    margin-bottom:0;
}

.testimonial-icon svg{
    width:100%;
    height:100%;
}

.testimonial-icon img{
    width:100%;
    height:100%;
    display:block;
}

.testimonial-quote{
    font-size:15px;
    font-weight:700;
    color:#00A7DB;
    margin:0 0 14px;
    line-height:1.6;
    padding-left:65px;
    min-height:46px;
}

.testimonial-body{
    font-size:13px;
    line-height:1.9;
    color:#444;
    margin:0 0 14px;
}

.testimonial-name{
    font-size:12px;
    color:#888;
}

/* =========================================
RESPONSIVE (serviced-apartment.php)
========================================= */

@media(max-width:1024px){

    .apartment-hero{
        flex-direction:column;
        gap:24px;
    }

    .apartment-hero-image{
        width:100%;
    }

    .feature-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .testimonial-grid{
        grid-template-columns:1fr;
    }

    .furniture-list{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media(max-width:640px){

    .feature-grid{
        grid-template-columns:1fr;
    }

    .furniture-list{
        grid-template-columns:1fr;
    }

    .popular-apartments-note{
        text-align:left;
    }

}


/* =========================================
BUY PROPERTY HERO (buy-property.php)
========================================= */

.buyprop-hero-section{
    background:#14181c;
    padding:50px 0 70px;
}

.buyprop-top-label{
    color:#00A7DB;
}

.buyprop-main-title{
    color:#fff;
}

.buyprop-hero-flex{
    display:flex;
    gap:50px;
    align-items:flex-start;
    margin-top:10px;
}

.buyprop-hero-image{
    flex:none;
    width:44%;
}

.buyprop-hero-image img{
    width:100%;
    aspect-ratio:620 / 440;
    object-fit:cover;
    border-radius:10px;
    display:block;
}

.buyprop-hero-text{
    flex:1;
    padding-top:6px;
}

.buyprop-hero-text p{
    color:#c7ccd1;
    font-size:13px;
    line-height:1.95;
    margin:0 0 16px;
}

.buyprop-tag-row{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:24px;
}

.buyprop-tag{
    border:1px solid #242424;
    color:#eee;
    border-radius:6px;
    padding:10px 18px;
    font-size:13px;
    white-space:nowrap;
}

/* =========================================
BUY PROPERTY WHY-STARTS 40 YEARS CARD
========================================= */

.buyprop-years-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:30px 18px;
}

.buyprop-years-number{
    color:#00A7DB;
    font-size:46px;
    font-weight:800;
    line-height:1;
    margin-bottom:10px;
}

.buyprop-years-number span{
    font-size:15px;
    font-weight:700;
    margin-left:4px;
}

.buyprop-years-card p{
    margin:0;
    font-size:14px;
    font-weight:700;
    color:#242424;
}

/* =========================================
BUY PROPERTY 5 REASONS SECTION
========================================= */

.buyprop-reasons-section{
    background:#14181c;
    padding:70px 0;
}

.buyprop-reasons-header{
    display:flex;
    gap:60px;
    align-items:flex-start;
    margin-bottom:50px;
    padding-bottom:40px;
    border-bottom:1px solid #242424;
}

.buyprop-reasons-header-left{
    flex:none;
    width:36%;
}

.buyprop-reasons-eyebrow{
    color:#c7ccd1;
    font-size:14px;
    margin-bottom:10px;
}

.buyprop-reasons-title{
    color:#fff;
    font-size:34px;
    font-weight:800;
    margin:0;
}

.buyprop-reasons-header-right{
    flex:1;
}

.buyprop-reasons-header-right p{
    color:#c7ccd1;
    font-size:13px;
    line-height:1.95;
    margin:0;
}

.buyprop-reason-block{
    display:flex;
    gap:26px;
    padding:36px 0;
    border-bottom:1px solid #2a2e33;
}

.buyprop-reason-block:last-child{
    border-bottom:none;
}

.buyprop-reason-num{
    flex:none;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#fff;
    color:#14181c;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:15px;
}

.buyprop-reason-body{
    flex:1;
    min-width:0;
}

.buyprop-reason-body h3{
    color:#fff;
    font-size:19px;
    font-weight:700;
    margin:2px 0 12px;
}

.buyprop-reason-body p{
    color:#c7ccd1;
    font-size:13px;
    line-height:1.9;
    margin:0 0 20px;
}

.buyprop-chart-wrap{
    background:#fff;
    border-radius:10px;
    padding:10px;
}

.buyprop-chart-wrap img{
    width:100%;
    display:block;
    border-radius:6px;
}

.buyprop-vacancy-flex{
    display:flex;
    gap:30px;
    align-items:stretch;
}

.buyprop-vacancy-stat{
    flex:none;
    width:220px;
    background:#fff;
    border-radius:10px;
    padding:26px 20px;
    text-align:center;
}

.buyprop-vacancy-label{
    color:#242424;
    font-size:13px;
    font-weight:700;
    margin-bottom:10px;
}

.buyprop-vacancy-number{
    color:#00A7DB;
    font-size:34px;
    font-weight:800;
    line-height:1;
}

.buyprop-vacancy-sub{
    color:#888;
    font-size:12px;
    margin-top:8px;
}

.buyprop-vacancy-table-wrap{
    flex:1;
    min-width:0;
    overflow-x:auto;
    background:#fff;
    border-radius:10px;
    padding:6px;
}

.buyprop-vacancy-table{
    width:100%;
    border-collapse:collapse;
    font-size:12px;
    white-space:nowrap;
}

.buyprop-vacancy-table th,
.buyprop-vacancy-table td{
    padding:10px 12px;
    text-align:right;
    border-bottom:1px solid #eee;
    color:#242424;
}

.buyprop-vacancy-table th:first-child,
.buyprop-vacancy-table td:first-child{
    text-align:left;
    color:#242424;
}

.buyprop-vacancy-table thead th{
    background:#F2F2F2;
    font-weight:700;
}

.buyprop-vacancy-total td{
    font-weight:800;
    color:#00A7DB;
}

/* =========================================
BUY PROPERTY AREA SECTION
========================================= */

.buyprop-area-section{
    padding:80px 0;
}

.buyprop-area-block:last-child{
    margin-bottom:0;
}

.buyprop-area-image{
    min-width:0;
    min-height:0;
    overflow:hidden;
    border-radius:16px;
}

.buyprop-area-right{
    flex:1;
    min-width:0;
    min-height:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:24px;
}
.buyprop-area-right > *:last-child{
    margin-bottom:0;
}

.buyprop-area-en{
    font-size:24px;
    font-weight:800;
    letter-spacing:.04em;
    color:#242424;
}

.buyprop-area-jp{
    font-size:13px;
    color:#888;
    margin:4px 0 14px;
}

.buyprop-area-desc{
    font-size:13px;
    line-height:1.9;
    color:#444;
    margin:0 0 20px;
}

.buyprop-property-card{
    max-width:520px;
}

/* =========================================
BUY PROPERTY RESPONSIVE
========================================= */

@media(max-width:1024px){

    .buyprop-hero-flex{
        flex-direction:column;
        gap:24px;
    }

    .buyprop-hero-image{
        width:100%;
    }

    .buyprop-reasons-header{
        flex-direction:column;
        gap:16px;
    }

    .buyprop-reasons-header-left{
        width:100%;
    }

    .buyprop-vacancy-flex{
        flex-direction:column;
    }

    .buyprop-vacancy-stat{
        width:100%;
    }

    .buyprop-area-block{
        grid-template-columns:1fr;
    }

    .buyprop-area-image{
        width:100%;
    }

    .buyprop-property-card{
        max-width:100%;
    }

}

@media(max-width:640px){

    .buyprop-tag-row{
        gap:10px;
    }

    .buyprop-tag{
        font-size:12px;
        padding:8px 14px;
    }

    .buyprop-reasons-title{
        font-size:26px;
    }

    .buyprop-reason-block{
        flex-direction:column;
        gap:12px;
    }

    .buyprop-vacancy-table{
        font-size:11px;
    }

}



/* =========================================
BUY PROPERTY FIX ROUND 2 (buy-property.php)
========================================= */

.buyprop-hero-lead{
    color:#00A7DB;
}

/* ---- Why STARTS section (dark, continuous with hero) ---- */

.buyprop-whystarts-section{
    background:#14181c;
    padding:50px 0 70px;
}

.buyprop-whystarts-title{
    color:#fff;
    font-size:28px;
    font-weight:700;
    text-align:left;
    margin:8px 0 32px;
}

.buyprop-feature-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.buyprop-feature-card{
    background:#f2f2f2;
    border-radius:8px;
    padding:26px 22px;
    text-align:center;
}

.buyprop-feature-card-years{
    text-align:left;
}

.buyprop-feature-number{
    color:#00A7DB;
    font-size:34px;
    font-weight:800;
    line-height:1;
    margin-bottom:10px;
}

.buyprop-feature-number span{
    font-size:13px;
    font-weight:700;
    margin-left:4px;
    text-decoration:underline;
}

.buyprop-feature-icon{
    width:38px;
    height:38px;
    color:#00A7DB;
    margin:0 auto 14px;
}

.buyprop-feature-card-years .buyprop-feature-icon{
    margin:0 0 14px;
}

.buyprop-feature-icon svg{
    width:100%;
    height:100%;
}

.buyprop-feature-card p{
    margin:0;
    font-size:13px;
    font-weight:700;
    color:#242424;
    line-height:1.6;
}

/* ---- 5 reasons header ---- */

.buyprop-reasons-eyebrow{
    color:#00A7DB;
    font-size:14px;
    margin-bottom:10px;
}

/* ---- reason blocks (override round 1) ---- */

.buyprop-reason-block{
    display:block;
    padding:36px 0;
    border-bottom:1px solid #2a2e33;
}

.buyprop-reason-block:last-child{
    border-bottom:none;
}

.buyprop-reason-head{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:14px;
}

.buyprop-reason-head .buyprop-reason-num{
    flex:none;
    width:32px;
    height:32px;
    border-radius:50%;
    background:#fff;
    color:#14181c;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:14px;
    margin:0;
}

.buyprop-reason-head h3{
    color:#fff;
    font-size:18px;
    font-weight:700;
    margin:0;
}

.buyprop-reason-desc{
    color:#c7ccd1;
    font-size:13px;
    line-height:1.9;
    margin:0 0 20px;
}

.buyprop-reason-desc-narrow{
    max-width:820px;
}

.buyprop-chart-wrap-narrow{
    max-width:820px;
}

.buyprop-chart-wrap-full{
    max-width:none;
}

.buyprop-reason-row-2col{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:60px;
    padding:36px 0;
    border-bottom:1px solid #2a2e33;
}

.buyprop-reason-row-2col .buyprop-reason-block{
    padding:0;
    border-bottom:none;
}

/* ---- area property card (now a real link/card) ---- */

a.buyprop-property-card{
    display:block;
    text-decoration:none;
    color:inherit;
}

/* ---- responsive ---- */

@media(max-width:1024px){

    .buyprop-feature-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .buyprop-reason-row-2col{
        grid-template-columns:1fr;
        gap:36px;
    }

}

@media(max-width:640px){

    .buyprop-feature-grid{
        grid-template-columns:1fr;
    }

    .buyprop-whystarts-title{
        font-size:22px;
    }

}



/* =========================================
BUY PROPERTY FIX ROUND 3 (buy-property.php)
========================================= */

.buyprop-hero-text p.buyprop-hero-lead{
    color:#00A7DB;
}

.buyprop-feature-card p{
    color:#00A7DB;
}

.buyprop-reasons-header-left{
    width:20%;
}

/* =========================================
BUY PROPERTY FIX ROUND 4 (buy-property.php)
========================================= */

.buyprop-area-heading-wrap{
    margin-bottom:40px;
}

.buyprop-area-eyebrow-label{
    color:#00A7DB;
    font-size:14px;
    font-weight:700;
    margin-bottom:8px;
}

h2.buyprop-area-heading{
    color:#242424;
    font-size:32px;
    font-weight:800;
    line-height:1.3;
    margin:0;
    text-align:left;
    letter-spacing:normal;
}

.buyprop-pcard-wrap{
    background:#fff;
    border-radius:12px;
    padding:12px;
    box-shadow:0 2px 14px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
}

.buyprop-pcard{
    display:flex;
    align-items:stretch;
    gap:16px;
    text-decoration:none;
    color:inherit;
}

.buyprop-pcard-image{
    position:relative;
    flex:none;
    width:38%;
    max-width:190px;
    border-radius:8px;
    overflow:hidden;
    background:#eee;
}

.buyprop-pcard-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.buyprop-pcard-tags{
    position:absolute;
    top:10px;
    right:10px;
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}

.buyprop-pcard-tag {
    font-size:11px;
    font-weight:500;
    padding:0px 5px 1px;
    border-radius:4px;
    white-space:nowrap;
    line-height:1.6;
}

.buyprop-pcard-tag-solid, .buyprop-pcard-tag-outline{
    background:#00A7DB;
    color:#fff;
}

/*.buyprop-pcard-tag-outline {
    background:#fff;
    color:#00A7DB;
    border:1px solid #00A7DB;
} */

.buyprop-pcard-location{
    position:absolute;
    left:10px;
    bottom:10px;
    background:rgba(255,255,255,.92);
    color:#242424;
    font-size:10px;
    font-weight:700;
    padding:4px 10px;
    border-radius:20px;
    display:flex;
    align-items:center;
    gap:4px;
    white-space:nowrap;
}

.buyprop-pcard-photocount{
    position:absolute;
    right:10px;
    bottom:10px;
    background:rgba(0,0,0,.5);
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:1px 10px 4px;
    border-radius:16px;
    display:flex;
    align-items:center;
    gap:4px;
}

.buyprop-pcard-content{
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    padding:4px 4px 4px 0;
}

.buyprop-pcard-title{
    font-size:15px;
    font-weight:700;
    color:#242424;
    margin:0 0 6px;
    line-height:1.4;
}

.buyprop-pcard-price{
    font-size:17px;
    font-weight:800;
    color:#00A7DB;
    margin:0 0 8px;
}

.buyprop-pcard-excerpt{
    font-size:12px;
    line-height:1.7;
    color:#777;
    margin:0 0 12px;
    display:-webkit-box;
    line-clamp:3;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.buyprop-pcard-meta{
    display:flex;
    gap:14px;
    margin-top:auto;
    font-size:11px;
    color:#888;
    flex-wrap:wrap;
}

@media(max-width:640px){

    a.buyprop-pcard{
        flex-direction:column;
    }

    .buyprop-pcard-image{
        width:100%;
        max-width:none;
        aspect-ratio:16/10;
    }

    h2.buyprop-area-heading{
        font-size:24px;
    }

}



/* =========================================
BUY PROPERTY FIX ROUND 5 (buy-property.php)
property card: flush image, wider proportion, unified rounded corners
========================================= */

a.buyprop-pcard{
    padding:0;
}

.buyprop-pcard-image{
    width:42%;
    max-width:220px;
    border-radius:0;
    background:#ddd;
}

.buyprop-pcard-content{
    padding:16px 18px;
}

@media(max-width:640px){

    a.buyprop-pcard{
        border-radius:14px;
    }

    .buyprop-pcard-image{
        width:100%;
        max-width:none;
        aspect-ratio:16/10;
    }

}



/* =========================================
BUY PROPERTY FIX ROUND 6 (buy-property.php)
square card corners + smaller "もっと詳しく" button
========================================= */

a.buyprop-pcard{
    border-radius:0;
}

.buyprop-pcard-image{
    border-radius:0;
}

a.buyprop-area-button.area-button{
    min-width:140px;
    height:38px;
    border:1px solid #242424;
    font-size:13px;
}



/* =========================================
SELL PROPERTY (sell-property.php)
========================================= */

.sellprop-hero-section{
    background:#fff;
    padding:50px 0 60px;
}

.sellprop-top-label{
    color:#00A7DB;
}

.sellprop-main-title{
    color:#242424;
}

.sellprop-hero-flex{
    display:grid;
    grid-template-columns:40% 1fr;
    gap:50px;
    margin-top:26px;
}
@media(max-width:767px){
    .sellprop-hero-flex{
        grid-template-columns:1fr;
        gap:24px;
    }
}

.sellprop-hero-image{
    min-width:0;
    min-height:0;
    overflow:hidden;
}

.sellprop-hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
    display:block;
}

.sellprop-hero-text{
    flex:1;
    min-width:0;
    min-height:0;
}

.sellprop-hero-subhead{
    color:#00A7DB;
    font-size:20px;
    font-weight:700;
    margin:0 0 14px;
}

.sellprop-hero-text > p{
    color:#242424;
    line-height:1.85 !important;
    margin:0 0 30px;
}

.sellprop-strength-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-top:1px solid #e6e6e6;
    border-left:1px solid #e6e6e6;
}
@media(max-width:767px){
    .sellprop-strength-grid{
        grid-template-columns:1fr;
    }
}

.sellprop-strength-item{
    padding:20px 22px;
    border-right:1px solid #e6e6e6;
    border-bottom:1px solid #e6e6e6;
}

.sellprop-strength-head{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.sellprop-strength-head h4{
    color:#00A7DB;
    font-size:18px;
    font-weight:700;
    margin:0;
}

.sellprop-strength-item p{
    color:#242424;
    line-height:1.8 !important;
    margin:0;
}

/* ---- process section ---- */

.sellprop-process-section{
    background:#fff;
    padding:70px 0;
}

.sellprop-process-title{
    color:#242424;
    font-size:40px;
    font-weight:500;
    margin-bottom: 3rem;
}

.sellprop-steps{
    margin-top:36px;
}

.sellprop-step{
    display:flex;
    gap:24px;
    padding-bottom:26px;
    margin-bottom:26px;
    border-bottom:1px solid #eee;
}

.sellprop-step:last-child{
    border-bottom:none;
    margin-bottom:0;
    padding-bottom:0;
}

.sellprop-step-left{
    flex:none;
    width:60px;
    text-align:center;
    position:relative;
}

.sellprop-step-label{
    color:#00A7DB;
    font-size:18px;
    font-weight:700;
}

.sellprop-step-num{
    width: 48px;
    height: 48px;
    font-weight: 600;
    font-size: 24px;
    font-family: "Open Sans", sans-serif;
    border-radius:50%;
    background:#00A7DB;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
    position:relative;
    z-index:1;
}

.sellprop-step-line{
    position:absolute;
    top:38px;
    bottom:-26px;
    width:1px;
    background:#707070;
    transform:translateX(-50%);
}

.sellprop-step-right{
    flex:1;
    min-width:0;
    padding-top:4px;
}

.sellprop-step-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.sellprop-step-head h3{
    color:#242424;
    font-size:24px;
    font-weight:700;
    margin:0;
}

.sellprop-step-chevron{
    width:18px;
    height:21px;
    color:#242424;
    flex:none;
}

.sellprop-step-chevron svg{
    width:100%;
    height:100%;
}

.sellprop-step-desc{
    color:#242424;
    font-size:16px !important;
    line-height:1.85 !important;
    margin:10px 0 0;
}

.sellprop-step-note{
    display:flex;
    align-items:center;
    gap:10px;
    background:#F2F2F2;
    border-radius:8px;
    padding:12px;
    margin-top:16px;
    color: #00A7DB;
    font-size: 16px;
    font-weight:700;
    border-left: 12px solid #00A7DB;
}

.sellprop-step-note svg{
    width:16px;
    height:16px;
    color:#00A7DB;
    flex:none;
}

/* ---- fee box ---- */

.sellprop-fee-box{
    margin-top:50px;
    background:#F2F2F2;
    border-radius:10px;
    padding:30px 60px 40px;
}

.sellprop-fee-title{
    color:#00A7DB;
    font-size:22px;
    font-weight:700;
    margin:0 0 20px;
}

.sellprop-fee-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid #707070;
}

.sellprop-fee-label{
    font-weight:700;
    font-size:19px;
}

.sellprop-fee-sub{
    font-size:16px;
    margin-top:4px;
}

.sellprop-fee-value{
    font-weight:700;
    font-size:19px;
    white-space:nowrap;
    text-align:right;
}

.sellprop-fee-note{
    font-size:15px !important;
    margin:16px 0 0;
}

/* ---- consult banner ---- */

.sellprop-consult-section{
    padding:0 0 70px;
}

.sellprop-consult-photo,.propmgmt-consult-photo{
    max-width: 863px;
    margin: auto;
}

.sellprop-consult-photo img,.propmgmt-consult-photo img{
    width:100%;
    display:block;
}

.sellprop-consult-bubble{
    position:absolute;
    background:#00A7DB;
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:8px 14px;
    border-radius:20px;
    white-space:nowrap;
}

.sellprop-bubble-1{
    top:14px;
    right:-6px;
}

.sellprop-bubble-2{
    top:-16px;
    right:-46px;
}

.sellprop-consult-text{
    flex:1;
    min-width:0;
}

.sellprop-consult-eyebrow{
    color:#00A7DB;
    font-size:13px;
    font-weight:700;
    margin-bottom:8px;
}

.sellprop-consult-text h3{
    color:#242424;
    font-size:22px;
    font-weight:800;
    margin:0 0 10px;
}

.sellprop-consult-text p{
    color:#242424;
    font-size:13px;
    margin:0 0 18px;
}

.sellprop-consult-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#242424;
    color:#fff;
    border-radius:999px;
    padding:12px 26px;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

/* ---- responsive ---- */

@media(max-width:1024px){

    .sellprop-hero-flex{
        flex-direction:column;
        gap:24px;
    }

    .sellprop-hero-image{
        width:100%;
    }

    .sellprop-strength-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:640px){

    .sellprop-process-title{
        font-size:22px;
    }

    .sellprop-step{
        gap:14px;
    }

    .sellprop-step-left{
        width:44px;
    }

    .sellprop-step-num{
        width:26px;
        height:26px;
        font-size:12px;
    }

    .sellprop-fee-box{
        padding:24px 20px;
    }

    .sellprop-fee-row{
        flex-direction:column;
        gap:4px;
    }

    .sellprop-fee-value{
        text-align:left;
    }

}



/* =========================================
SELL PROPERTY FIX (mobile CJK text collapse in flex rows)
========================================= */

.sellprop-step-note span{
    flex:1;
    min-width:0;
}

.sellprop-consult-btn{
    white-space:nowrap;
}

@media(max-width:1024px){

    .sellprop-consult-text{
        width:100%;
    }

}



/* =========================================
SELL PROPERTY FIX ROUND 2
gray strength cards / bigger icons / step line position /
accordion open-close / step label left of number / compact consult banner
========================================= */

.sellprop-strength-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    border-top:none;
    border-left:none;
}

@media(max-width:767px){
    .sellprop-strength-grid{
        grid-template-columns:1fr;
    }
}

.sellprop-strength-item{
    background:#f5f5f5;
    border-radius:10px;
    padding:22px 24px;
    border-right:none;
    border-bottom:none;
}

.sellprop-strength-head{
    gap:12px;
}

.sellprop-strength-icon{
    width:auto;
    height:auto;
}

.sellprop-step-left{
    width:auto;
    text-align:left;
}

.sellprop-step-circle-wrap{
    display:flex;
    align-items:center;
    gap:10px;
}

.sellprop-step-label{
    text-align:right;
}

.sellprop-step-line{
    top:60px;
    bottom:-60px;
    transform:none;
}

.sellprop-step-descd{
    cursor:pointer;
}

.sellprop-step-body{
    display:block;
}

.sellprop-step-chevron{
    transition:transform .2s ease;
}

.sellprop-step-head.sellprop-step-collapsed .sellprop-step-chevron{
    transform:rotate(-90deg);
}

.sellprop-consult-bubble{
    font-size:9px;
    padding:5px 10px;
}

.sellprop-bubble-1{
    top:8px;
    right:-4px;
}

.sellprop-bubble-2{
    top:-10px;
    right:-30px;
}

.sellprop-consult-eyebrow{
    font-size:11px;
    margin-bottom:4px;
}

.sellprop-consult-text h3{
    font-size:18px;
    margin:0 0 6px;
}

.sellprop-consult-text p{
    font-size:12px;
    margin:0 0 12px;
}

.sellprop-consult-btn{
    padding:9px 20px;
    font-size:12px;
}

@media(max-width:640px){

    .sellprop-step-label{
        width:26px;
        font-size:10px;
    }

    .sellprop-step-line{
        left:23px;
    }

}


/* SELL PROPERTY FIX: step label wraps to 2 lines, widen + nowrap */

.sellprop-step-label{
    white-space:nowrap;
}

.sellprop-step-line{
    left:48px;
}

@media(max-width:640px){

    .sellprop-step-label{
        width:40px;
    }

    .sellprop-step-line{
        left:40px;
    }

}


/* SELL PROPERTY FIX ROUND 3: line centered under circle, white section backgrounds, banner inset+resize */

.sellprop-step-line{
    left:auto !important;
    right:23px;
}

@media(max-width:640px){
    .sellprop-step-line{
        right:13px;
    }
}

.sellprop-consult-section{
    background:#fff;
}

.service-page .news-section{
    background:#fff;
}

.sellprop-consult-section .container{
    max-width:min(1080px, 92%);
}


/* SELL PROPERTY FIX ROUND 4: divider line moves from bottom of step block to below title row */

.sellprop-step{
    margin-bottom:24px;
    padding-bottom:3rem;
    border-bottom:none;
}

.sellprop-step-head{
  padding-bottom: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid #656565;
}


/* =========================================
PROPERTY MANAGEMENT (property-management.php)
========================================= */

.propmgmt-hero-section{
    background:#fff;
    padding:50px 0 60px;
}

.propmgmt-top-label{
    color:#00A7DB;
}

.propmgmt-main-title{
    color:#242424;
}

.propmgmt-hero-flex{
    display:flex;
    gap:50px;
    align-items:flex-start;
    margin-top:26px;
}

.propmgmt-hero-image{
    flex:none;
    width:42%;
}

.propmgmt-hero-image img{
    width:100%;
    aspect-ratio:600/400;
    object-fit:cover;
    border-radius:10px;
    display:block;
}

.propmgmt-hero-text{
    flex:1;
    min-width:0;
    padding-top:6px;
}

.propmgmt-hero-text > p{
    color:#242424;
    font-size:13px;
    line-height:1.95;
    margin:0 0 34px;
}

.propmgmt-stats-row{
    display:flex;
    flex-wrap: wrap;
    gap:2vw;
}

.propmgmt-stat-num{
    color:#00A7DB;
    font-size:26px;
    font-weight:800;
}

.propmgmt-stat-label{
    color:#242424;
    font-size:12px;
    margin-top:6px;
}

.propmgmt-services-section{
    background:#fff;
    padding:70px 0;
}

.propmgmt-services-title{
    color:#242424;
    font-size:28px;
    font-weight:800;
    margin:8px 0 0;
}

.propmgmt-services-grid{
    display:grid;
    grid-template-columns:160px 1fr;
    column-gap:40px;
    margin-top:36px;
}

.propmgmt-service-pill{
    grid-column:1;
    align-self:start;
    justify-self:start;
    margin-top:4px;
}

.propmgmt-pill-group1{
    grid-row:1/6;
}

.propmgmt-pill-group2{
    grid-row:6/8;
}

.propmgmt-pill-group3{
    grid-row:8/9;
}

.propmgmt-service-pill span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #00A7DB;
    color:#00A7DB;
    border-radius:999px;
    padding:8px 18px;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
}

.propmgmt-service-item{
    grid-column:2;
    display:flex;
    gap:14px;
    padding-bottom:20px;
    margin-bottom:20px;
}

.propmgmt-row-1{grid-row:1;}
.propmgmt-row-2{grid-row:2;}
.propmgmt-row-3{grid-row:3;}
.propmgmt-row-4{grid-row:4;}
.propmgmt-row-5{grid-row:5;}
.propmgmt-row-6{grid-row:6;}
.propmgmt-row-7{grid-row:7;}
.propmgmt-row-8{grid-row:8;}

.propmgmt-service-item:last-child{
    margin-bottom:0;
    padding-bottom:0;
}

.propmgmt-service-icon{
    flex:none;
    width:26px;
    height:26px;
    color:#00A7DB;
    margin-top:4px;
}

.propmgmt-service-icon svg{
    width:100%;
    height:100%;
}

.propmgmt-service-body{
    flex:1;
    min-width:0;
}

.propmgmt-service-head{
    display:flex;
    align-items:baseline;
    gap:10px;
    padding-bottom:12px;
    margin-bottom:10px;
    border-bottom:1px solid #eee;
}

.propmgmt-service-num{
    color:#242424;
    font-size:17px;
    font-weight:800;
    flex:none;
}

.propmgmt-service-head h4{
    color:#242424;
    font-size:16px;
    font-weight:700;
    margin:0;
}

.propmgmt-service-item p{
    color:#242424;
    font-size:13px;
    line-height:1.8;
    margin:0;
}

.propmgmt-report-section{
    background:#00A7DB;
    padding:60px 0;
}

.propmgmt-report-label{
    color:#fff;
    font-size:13px;
    font-weight:700;
    margin-bottom:8px;
}

.propmgmt-report-title{
    color:#FFD966;
    font-size:26px;
    font-weight:800;
    margin:0 0 16px;
}

.propmgmt-report-sub{
    color:#fff;
    font-size:14px;
    font-weight:700;
    margin:0 0 6px;
}

.propmgmt-report-note{
    color:rgba(255,255,255,.85);
    font-size:12px;
    margin:0 0 30px;
}

.propmgmt-report-cards{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.propmgmt-report-card{
    display:flex;
    gap:14px;
    align-items:flex-start;
    background:#fff;
    border-radius:10px;
    padding:20px 24px;
}

.propmgmt-report-icon{
    flex:none;
    width:34px;
    height:34px;
    border-radius:50%;
    border:1.5px solid #242424;
    color:#00A7DB;
    display:flex;
    align-items:center;
    justify-content:center;
}

.propmgmt-report-icon svg{
    width:18px;
    height:18px;
}

.propmgmt-report-body{
    flex:1;
    min-width:0;
}

.propmgmt-report-card h3{
    color:#00A7DB;
    font-size:14px;
    font-weight:700;
    margin:0 0 8px;
}

.propmgmt-report-card p{
    color:#242424;
    font-size:12px;
    line-height:1.8;
    margin:0;
}

.propmgmt-consult-section{
    background:#fff;
    padding:0 0 70px;
}

.propmgmt-consult-section .container{
    max-width:1080px;
}

/* SNY: 物件管理について、まずはご相談くださいセクションを画像バナー(bnr_cta_R.svg)に変更 */
.propmgmt-consult-banner-link{
    display:block;
}

.propmgmt-consult-banner-img{
    width:100%;
    height:auto;
    display:block;
    border-radius:12px;
}

.service-page .news-section{
    background:#fff;
}

@media(max-width:1024px){

    .propmgmt-hero-flex{
        flex-direction:column;
        gap:24px;
    }

    .propmgmt-hero-image{
        width:100%;
    }

    .propmgmt-services-grid{
        grid-template-columns:1fr;
    }

    .propmgmt-service-pill{
        grid-column:1;
        grid-row:auto !important;
        margin-top:0;
        margin-bottom:14px;
    }

    .propmgmt-service-item{
        grid-column:1;
        grid-row:auto !important;
    }

    .propmgmt-report-cards{
        grid-template-columns:1fr;
    }

}

@media(max-width:640px){

    .propmgmt-services-title{
        font-size:22px;
    }

    .propmgmt-stats-row{
        gap:24px;
        flex-wrap:wrap;
    }

    .propmgmt-stat-num{
        font-size:22px;
    }

    .propmgmt-report-title{
        font-size:21px;
    }

    .propmgmt-report-card{
        flex-direction:column;
    }

}

/* PROPERTY MANAGEMENT FIX ROUND 2: hero paragraph color, stat sizing, service icon size */
.propmgmt-hero-text > p{
    color:#242424;
    font-weight:700;
}

.propmgmt-stat-num{
    font-size:34px;
    line-height:1.2;
}

.propmgmt-stat-label{
    font-size:13px;
    margin-top:8px;
}

.propmgmt-service-item{
    align-items:center;
    gap:18px;
    max-width: 800px;
}

.propmgmt-service-icon{
    width:44px;
    height:44px;
    margin-top:0;
}

@media(max-width:640px){
    .propmgmt-stat-num{
        font-size:26px;
    }
}


/* PROPERTY MANAGEMENT FIX ROUND 3: pill labels equal width */

.propmgmt-service-pill span{
    display:flex;
    width:150px;
    box-sizing:border-box;
    padding:8px 12px;
    text-align:center;
}


/* PROPERTY MANAGEMENT FIX ROUND 4: add gap between report banner and consult banner */

.propmgmt-consult-section{
    padding:60px 0 70px;
}


/* PROPERTY MANAGEMENT FIX ROUND 5: tighten hero spacing/title size per mock */

.propmgmt-top-label{
    margin-bottom:6px;
}

.propmgmt-main-title{
    font-size:30px;
    line-height:1.4;
    margin-bottom:16px;
}

.propmgmt-hero-section{
    padding:36px 0 40px;
}


/* =========================================
COMMERCIAL PROPERTIES (commercial-properties.php)
========================================= */

.cre-hero-section{
    background:#fff;
    padding:50px 0 60px;
}

.cre-top-label{
    color:#00A7DB;
}

.cre-main-title{
    color:#242424;
}

.cre-hero-flex{
    display:flex;
    gap: 30px;
    align-items: center;
    margin-top: 25px;
}

.cre-hero-image{
    width:45%;
    overflow:hidden;
}

.cre-hero-image img{
    width:100%;
    aspect-ratio:336/237;
    object-fit:cover;
    border-radius:16px;
    display:block;
    height:auto;
}

.cre-hero-text{
    flex:1;
    min-width:0;
    padding-top:6px;
}

.cre-hero-subhead{
    color:#00A7DB;
    font-size:20px;
    font-weight:700;
    margin:0 0 16px;
}

.cre-hero-text > p{
    color:#242424;
    line-height: 1.7 !important;
    margin:0 0 22px;
}

.cre-hero-text > p:last-child{
    margin-bottom:0;
}

/* ---- staircase section ---- */

.cre-stair-title{
    color:#242424;
    font-size:40px;
    font-weight:500;
    margin:8px 0 0;
    line-height:1.4;
}

.cre-stair-list{
    display:flex;
    flex-direction:column-reverse;
    z-index: 1;
    position: relative;
}

.cre-stair-item{
    display:flex;
    align-items:center;
    gap:16px;
}

.cre-stair-badge{
    font-family: 'Open Sans', sans-serif;
    flex:none;
    display:flex;
    align-items:center;
    justify-content:center;
    background:url(/wp-content/themes/wpresidence-child/images/bg_step.svg) top center no-repeat;
    color:#fff;
    width:137px;
    height:55px;
    font-size:24px;
    font-weight:500;
    letter-spacing: -0.5px;
    margin-left: -18px;
    padding-bottom: 15px;
    white-space:nowrap;
}
.cre-stair-badge b{
    font-size:37px;
    font-weight:700;
    margin-left: 10px;
}

.cre-stair-label{
    color:#00A7DB;
    font-size:18px;
    font-weight:700;
    letter-spacing:-0.5px;
    white-space:nowrap;
    padding-bottom: 14px;
}

.cre-stair-1{ margin-left:0; }
.cre-stair-2{ margin-left:11.2%; }
.cre-stair-3{ margin-left:22.4%; }
.cre-stair-4{ margin-left:33.6%; }
.cre-stair-5{ margin-left:44.8%; }
.cre-stair-6{ margin-left:56.0%; }
.cre-stair-7{ margin-left:67.2%; }
.cre-stair-8{ margin-left:78.4%; }

.cre-stair-item.cre-stair-1 {
    padding-bottom: 4rem;
    margin-bottom: -2rem;
}
.cre-stair-list-wrap {
    background: #FFFFFF;
    background: linear-gradient(163deg, rgba(255, 255, 255, 1) 35%, rgba(221, 242, 248, 1) 55%, rgba(255, 255, 255, 1) 80%);
    padding: 3rem 0 0;
    margin-top: -150px;
}

/* ---- dark flow box ---- */
.cre-flow-section {
    background-color: #303030;
    padding-top: 30px;
}
.cre-flow-box{
    background:#303030;
    padding:40px 0px 50px;
}

.cre-flow-title{
    color:#fff;
    font-size: clamp(30px, 2.25vw, 40px);
    font-weight:500;
    margin:0 0 20px;
    text-align:left;
}

.cre-flow-track{
    display:flex;
    flex-direction:column;
}

.cre-flow-row{
    display:flex;
    align-items:stretch;
    /* gap:16px; */
    margin-bottom: 16px;
    /* padding-left: 15vw; */
}
.cre-stair-item {
    background: #fff;
    padding-bottom: 0.5rem;
    padding-top: 1rem;
}
.cre-flow-row-last{
    margin-bottom:0;
}

.cre-flow-connector{
    /* width: 100%; */
    max-width: 185px;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.cre-flow-connector::before{
    content:'';
    position:absolute;
    left:50%;
    top: 100px;
    bottom: -49px;
    border-left: 2px dashed #888;
}

.cre-flow-connector::after{
    content:'';
    position:absolute;
    left:50.5%;
    width:0;
    height:0;
    transform:translateX(-50%);
    bottom: 24px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #D5D5D5;
}

.cre-flow-connector-sparkle::before{
    bottom:50%;
}

.cre-flow-connector-sparkle::after{
    display:none;
}

.cre-flow-connector-sparkle{
    color:#FFD966;
}

.cre-flow-connector-sparkle svg{
    position:relative;
    z-index:1;
    width:20px;
    height:20px;
}

.cre-flow-connector-empty::before,
.cre-flow-connector-empty::after{
    display:none;
}

.cre-flow-pill{
    position:relative;
    z-index:1;
    background:#F2F2F2;
    border-radius:999px;
    white-space:nowrap;
    font-size: 17px;
    font-weight: 500;
    padding: 9px 20px;
    width: 100%;
    text-align: center;
    max-width: 185px;
}

.cre-flow-card{
    /* flex:1;
    min-width:0; */
    display:flex;
    align-items:center;
    background:#f2f2f2;
    position:relative;
    border-radius: 0 65px 65px 0;
    padding: 20px 3.5vw 20px 5.5vw;
    /* margin-left: 6.5%; */
    min-height: 126px;
    z-index: 1;
}

.cre-flow-num{
    font-family: "Open Sans", sans-serif;
    width: 60px;
    height: 60px;
    font-weight: 700;
    font-size: 29px;
    border-radius:50%;
    background:#00A7DB;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    left:-28px;
    top:50%;
    transform:translateY(-50%);
    box-shadow: 0 0 0 10px #F2F2F2;
}

.cre-flow-body{
    flex:1;
    min-width:0;
}

.cre-flow-body h4{
    color:#00A7DB;
    font-size:22px;
    font-weight:700;
    margin:0 0 8px;
}

.cre-flow-body p{
    font-size: 16px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    margin:0;
}

.cre-flow-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left: 5%;
    width: 100%;
    max-width: 60px;
}

.service-page .news-section{
    background:#fff;
}

div.cre-flow-row:nth-child(4) .cre-flow-connector::after {
    display: none;
}
div.cre-flow-row:nth-child(4) .cre-flow-connector::before {
    top: 0;
    bottom: -42px;
}
/* ---- responsive ---- */

@media(min-width:1200px){
.cre-flow-bg {
    position:relative;
}
.cre-flow-bg::before {
        content: '';
        background: #FFF;
        position: absolute;
        z-index: auto;
        top: -175px;
        right: 0;
        left: 12px;
        bottom: -16px;
}
.cre-flow-row-last .cre-flow-bg::before {
  bottom: -60px;
}
}
@media(min-width:1025px) and (max-width:1559.98px){
.cre-stair-1{ margin-left:0; }
.cre-stair-2{ margin-left:9.6%; }
.cre-stair-3{ margin-left:19.2%; }
.cre-stair-4{ margin-left:28.8%; }
.cre-stair-5{ margin-left:38.4%; }
.cre-stair-6{ margin-left:48.0%; }
.cre-stair-7{ margin-left:57.6%; }
.cre-stair-8{ margin-left:68.8%; }
}
@media(max-width:1024.98px){
    .cre-stair-list-wrap {
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(221, 242, 248, 1) 100%);
        padding: initial;
        margin-top: initial;
    }
    .cre-hero-flex{
        flex-direction:column;
        gap:24px;
    }

    .cre-hero-image{
        width:100%;
    }

    .cre-stair-item{
        margin-left:0 !important;
        margin-bottom:10px;
        padding-bottom:0 !important;
    }

    .cre-stair-list{
        margin-top:30px;
    }
    .cre-flow-title{
        font-size: calc(1.3rem + .6vw);
    }
    .cre-flow-card {
    padding: 20px 5.5vw;
    }
    .cre-flow-box{
        padding:36px 24px;
    }

    .cre-flow-row{
        flex-direction:column;
        align-items:stretch;
        gap:8px;
    }

    .cre-flow-connector{
        width:auto;
        min-height:0;
    }

    .cre-flow-connector::before, .cre-flow-connector::after{
        display:none;
    }

    /* .cre-flow-card{
        border-radius:16px;
        padding:18px 20px 18px 40px;
        flex-wrap:wrap;
    } */

}

@media(max-width:640px){
    .cre-top-label {
        font-size: 16px;
    }
    .cre-stair-title{
        font-size:24px;
    }
    .cre-stair-badge{
        font-size:18px;
        padding-bottom:10px;
    }
    .cre-stair-badge b{
        font-size:26px;
    }
    .cre-stair-label{
        font-size:15px;
    }
    .cre-flow-title{
        font-size:22px;
    }
    .cre-flow-box {
        padding: 36px 0px;
    }
    .cre-flow-card {
        padding: 16px 2rem 16px 3rem;
        border-radius: 0;
        gap:14px;
    }
    .cre-flow-icon{
        display:none;
    }

}


/* =========================================
RETURN TO JAPAN (return-to-japan.php)
========================================= */

.btj-hero-section{
    background:#fff;
    padding:50px 0 60px;
}

.btj-top-label{
    color:#00A7DB;
}

.btj-main-title{
    color:#242424;
}

.btj-hero-flex{
    display:flex;
    gap: 30px;
    margin-top: 25px;
    align-items:flex-start;
}

.btj-hero-image{
    flex:none;
    width:50%;
}

.btj-hero-image img{
    width:100%;
    aspect-ratio: 672/474;
    border-radius: 16px;
    object-fit:cover;
    display:block;
}

.btj-hero-text{
    flex:1;
    min-width:0;
    padding-top:6px;
}

.btj-hero-subhead{
    color:#00A7DB;
    font-size:20px;
    font-weight:700;
    margin:0 0 16px;
}

.btj-hero-text > p{
    font-size: 16px !important;
    line-height: 1.95 !important;
    font-weight: 500 !important;
    margin:0 0 26px;
}

.btj-hero-imgrow{
    display:flex;
    gap:16px;
}

.btj-hero-logo,
.btj-hero-photo{
    flex:none;
    width: 188px;
    height: 188px;
    border-radius: 16px;
    overflow:hidden;
}

.btj-hero-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* ---- about section ---- */

.btj-about-section{
    background:#fff;
    padding:70px 0;
}

.btj-about-title{
    color:#242424;
    font-size:40px;
    font-weight:500;
    margin:8px 0 0;
    line-height:1.4;
}

.btj-feature-row{
    display:flex;
    gap:40px;
    align-items:flex-start;
    margin-top:44px;
}

.btj-feature-row + .btj-feature-row{
    margin-top:40px;
    padding-top:40px;
    border-top:1px solid #e2e2e2;
}

.btj-feature-icon{
    width:300px;
    height:300px;
}

.btj-feature-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.btj-feature-body{
    flex:1;
    min-width:0;
}

.btj-feature-body h3{
    color:#242424;
    font-size:24px;
    font-weight:700;
    margin:6px 0 14px;
}

.btj-feature-body p{
    color:#242424;
    font-size:16px !important;
    line-height:1.7 !important;
    margin:0 0 14px;
}

.btj-feature-body p:last-child{
    margin-bottom:0;
}

/* ---- FAQ section ---- */

.btj-faq-section{
    padding:70px 0 90px;
}

.btj-faq-list{
    margin-top:5px;
}

.btj-faq-item{
    padding:25px 0 35px;
}

.btj-faq-item-last{
    padding-bottom:0;
}

.btj-faq-q,
.btj-faq-a{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.btj-faq-q{
    margin-bottom:0;
}

.btj-faq-a{
    margin-top:14px;
}

.btj-faq-q-icon,
.btj-faq-a-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    color:#fff;
    font-weight:600;
    font-size:23px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.btj-faq-q-icon{
    background:#00A7DB;
}

.btj-faq-a-icon{
    background:#BB0000;
}

.btj-faq-q-text{
    flex:1;
    min-width:0;
    font-size:24px;
    font-weight:600;
    padding: 10px 0 24px;
    border-bottom: 1px solid #656565;
}

.btj-faq-a-text{
    flex:1;
    min-width:0;
    font-size:16px;
    line-height:1.9;
    padding-top:5px;
}

/* ---- consult banner ---- */

.btj-consult-section{
    background:#fff;
    padding:40px 0;
}

.btj-consult-photo{
    max-width: 863px;
    margin: auto;
}

.btj-consult-bubble{
    position:absolute;
    background:#fff;
    color:#242424;
    font-size:11px;
    font-weight:700;
    line-height:1.5;
    border-radius:14px;
    padding:10px 14px;
    max-width:150px;
    box-shadow:0 4px 10px rgba(0,0,0,.25);
}

.btj-bubble-1{
    top:10px;
    right:-40px;
}

.btj-bubble-2{
    bottom:30px;
    right:-60px;
}

.btj-consult-text{
    flex:1;
    min-width:0;
}

.btj-consult-eyebrow{
    color:#00A7DB;
    font-size:13px;
    font-weight:700;
    letter-spacing:.06em;
    margin:0 0 12px;
}

.btj-consult-text h3{
    color:#fff;
    font-size:24px;
    font-weight:800;
    margin:0 0 14px;
    line-height:1.5;
}

.btj-consult-text p{
    color:#ccc;
    font-size:13px;
    line-height:1.9;
    margin:0 0 24px;
}

.btj-consult-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#00A7DB;
    color:#fff;
    font-size:13px;
    font-weight:700;
    border-radius:999px;
    padding:14px 28px;
    text-decoration:none;
}

.service-page .btj-faq-section + .news-section,
.service-page .btj-consult-section ~ .news-section{
    background:#fff;
}

/* ---- responsive ---- */

@media(max-width:1024px){

    .btj-hero-flex{
        flex-direction:column;
        gap:24px;
    }

    .btj-hero-image{
        width:100%;
    }

    .btj-hero-imgrow{
        flex-wrap:wrap;
    }

    .btj-feature-row{
        flex-direction:column;
        gap:16px;
    }

    .btj-feature-icon{
        width:200px;
        height:200px;
    }

    .btj-consult-banner{
        flex-direction:column;
        padding:36px 0px;
        gap:30px;
    }

    .btj-bubble-1,
    .btj-bubble-2{
        display:none;
    }

}

@media(max-width:640px){

    .btj-about-title{
        font-size:22px;
    }

    .btj-hero-logo,
    .btj-hero-photo{
        width: 30%;
        height:110px;
    }

    .btj-feature-icon{
        width:160px;
        height:160px;
    }

    .btj-faq-q-text,
    .btj-faq-a-text{
        font-size:12.5px;
    }

    .btj-consult-text h3{
        font-size:19px;
    }

}


/* new-york-rental-guideページのみ、モックに合わせて背景色を調整する。
   取り扱い物件の種別からニューヨーク賃貸の特徴までのセクションはグレーのまま(bodyの背景色を利用)にし、
   ヒーロー部分と駐在員向けカード・最新ニュース部分は白背景にする。 */
body.page-template-new-york-rental-guide-php .expat-top-section,
body.page-template-new-york-rental-guide-php .promo-card-section,
body.page-template-new-york-rental-guide-php .news-section,
body.page-template-new-jersey-rental-guide-php .expat-top-section,
body.page-template-new-jersey-rental-guide-php .promo-card-section,
body.page-template-new-jersey-rental-guide-php .news-section{
    background-color:#fff;
}
body.page-template-new-york-rental-guide-php .promo-card-section,
body.page-template-new-jersey-rental-guide-php .promo-card-section{
    padding-top:80px;
}


/* about-us.php (会社概要ページ) 用スタイル */
.aboutus-hero-section{
    /* background:#fff; */
    padding:40px 0 60px;
}

/* .aboutus-hero-flex{
    display:grid;
    grid-template-columns:1fr 40%;
    gap:50px;
    align-items:start;
} */

/* .aboutus-hero-text{
    min-width:0;
} */

.aboutus-hero-subhead{
    color:#00A7DB;
    font-size:16px;
    font-weight:700;
    margin:0 0 14px;
}

.aboutus-main-title{
    font-size:clamp(30px, 4vw, 40px);
    font-weight:500;
    color:#242424;
    line-height:1.4;
    margin:0 0 26px;
}

.aboutus-hero-text > p{
    font-size:16px;
    font-weight:500;
    line-height:1.95;
}

.aboutus-signature{
    text-align:right;
    margin-top:15px;
    margin-bottom:0px;
}

.aboutus-hero-image{
    aspect-ratio: 3 / 4;
    overflow:hidden;
}

@media(min-width:1088px){
    .aboutus-hero-image img{
        max-height: 522px;
    }
}
@media(max-width:575px){
    .aboutus-hero-image{
       aspect-ratio: 4 / 3;
    }
}

.aboutus-hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
    display:block;
}

.aboutus-info-section{
    background:#F2F2F2;
    padding:60px 0;
}

.aboutus-info-title{
    color:#00A7DB;
    font-size:20px;
    font-weight:700;
    margin:0 0 30px;
}

.aboutus-info-table{
    background:transparent;
    border-top:1px solid #e6e6e6;
    border-radius:6px;
    overflow:hidden;
}

.aboutus-info-row{
    display:flex;
    border-bottom:1px solid #e6e6e6;
    padding:12px 24px;
}

.aboutus-info-row-last{
    border-bottom:none;
}

.aboutus-info-label{
    flex:0 0 160px;
    font-weight:700;
    color:#242424;
    font-size:14px;
}

.aboutus-info-value{
    flex:1;
    min-width:0;
    color:#242424;
    font-size:14px;
    line-height:1.7;
}

.aboutus-office-cols{
    display:flex;
    gap:40px;
}

.aboutus-office-col{
    flex:1;
    min-width:0;
}

/* TEL/FAX欄の支社名。PCでは所在地の列見出しで分かるので、縦並びになるスマホでのみ表示 */
.aboutus-office-name-sp{
    display:none;
}

.aboutus-contact-btn{
    display:inline-block;
    background:#00A7DB;
    color:#fff;
    padding:10px 28px;
    border-radius:30px;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.aboutus-contact-btn:hover{
    background:#0090c8;
    color:#fff;
}

.aboutus-map-section{
    background:#F2F2F2;
    padding:0 0 60px;
}

.aboutus-map-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.aboutus-map-item{
    position:relative;
}

.aboutus-map-link{
    position:absolute;
    top:14px;
    left:14px;
    z-index:2;
    background:#fff;
    color:#00A7DB;
    font-size:13px;
    font-weight:700;
    padding:8px 18px;
    border-radius:20px;
    text-decoration:none;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
}

.aboutus-map-link-disabled{
    opacity:0.5;
    cursor:default;
    pointer-events:none;
}

.aboutus-map-link-icon{
    display:inline-block;
}

.aboutus-map-frame{
    width:100%;
    aspect-ratio:1 / 1;
    border-radius:10px;
    overflow:hidden;
    background:#eee;
}

.aboutus-map-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#999;
    font-size:14px;
}

@media (max-width:767px){
    .aboutus-hero-flex{
        grid-template-columns:1fr;
    }
    .aboutus-info-row{
        flex-direction:column;
    }
    .aboutus-info-label{
        flex:0 0 auto;
        margin-bottom:8px;
    }
    .aboutus-office-cols{
        flex-direction:column;
        gap:20px;
    }
    .aboutus-info-value .aboutus-office-name-sp{
        display:block;
        font-weight:700;
    }
    .aboutus-map-grid{
        grid-template-columns:1fr;
    }
}

/* english.php (Englishページ) 用スタイル */
.eng-hero-section, .eng-investors-section, .eng-sellers-section{
	background:#fff;
	padding:60px 0;
}

.eng-info-section{
	background:#f7f7f7;
	padding:40px 0 60px;
}

.eng-service-table-section{
	background:#fff;
	padding:0 0 60px;
}

.eng-values-section{
	background:#242424;
	padding:60px 0;
}

#who-we-are, #for-investors, #for-property-sellers{
	scroll-margin-top:100px;
}

.eng-hero-flex{
	display:grid;
	grid-template-columns:1fr 40%;
	gap:50px;
	align-items:start;
}

.eng-hero-flex-reverse .eng-hero-text{
	order:1;
}
.eng-hero-flex-reverse .eng-hero-image{
	order:2;
}

.eng-hero-text{
	min-width:0;
}

.eng-hero-subhead{
	color:#00A7DB;
	font-size:16px;
	font-weight:700;
	margin:0 0 14px;
}

.eng-mt{
	margin-top:34px;
}

.eng-main-title{
	font-size:32px;
	font-weight:700;
	color:#242424;
	line-height:1.4;
	margin:0 0 20px;
}

.eng-section-title{
	font-size:26px;
	font-weight:700;
	color:#242424;
	line-height:1.4;
	margin:0 0 20px;
}

.eng-hero-tagline{
	font-weight:700;
	color:#242424;
	font-size:16px;
	margin:0 0 24px;
}

.eng-hero-text > p{
	color:#242424;
	font-size:14px;
	line-height:1.95;
	margin:0 0 20px;
}

.eng-sub-title{
	font-size:16px;
	font-weight:700;
	color:#242424;
	margin:22px 0 8px;
}

.eng-hero-image{
	min-width:0;
}

.eng-hero-image > img{
	width:100%;
	height:450px;
	object-fit:cover;
	border-radius:10px;
	display:block;
}

.eng-hero-image-row{
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:14px;
	margin-top:14px;
}

.eng-hero-image-row img{
	width:100%;
	height:100px;
	object-fit:cover;
	border-radius:8px;
	display:block;
}

.eng-info-grid{
	background:#fff;
	border-radius:6px;
	padding:30px;
}

.eng-info-title{
	font-size:18px;
	font-weight:700;
	color:#242424;
	margin:0 0 14px;
}

.eng-info-line{
	color:#242424;
	font-size:14px;
	line-height:1.9;
	margin:0 0 8px;
}

.eng-contact-btn{
	display:inline-block;
	background:#00A7DB;
	color:#fff;
	padding:10px 28px;
	border-radius:30px;
	font-size:14px;
	font-weight:700;
	text-decoration:none;
	margin-top:10px;
}
.eng-contact-btn:hover{
	background:#0090c8;
	color:#fff;
}

.eng-section-heading{
	color:#00A7DB;
	font-size:20px;
	font-weight:700;
	margin:0 0 26px;
}

.eng-mt-lg{
	margin-top:50px;
}

.eng-table{
	background:#fff;
	border-top:1px solid #e6e6e6;
	border-radius:6px;
	overflow:hidden;
}

.eng-table-row{
	display:flex;
	border-bottom:1px solid #e6e6e6;
	padding:16px 24px;
}
.eng-table-row-last{
	border-bottom:none;
}
.eng-table-header{
	font-weight:700;
	color:#242424;
	background:#f7f7f7;
}
.eng-table-cell{
	font-size:14px;
	color:#242424;
	line-height:1.8;
}
.eng-table-service{
	flex:0 0 220px;
	font-weight:700;
	color:#242424;
}
.eng-table-header .eng-table-service, .eng-table-header .eng-table-overview{
	font-weight:700;
	color:#242424;
}
.eng-table-overview{
	flex:1;
}

.eng-values-grid{
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:40px;
}

.eng-value-card{
	color:#eee;
}
.eng-value-icon{
	font-size:26px;
	color:#00A7DB;
	margin-bottom:14px;
}
.eng-value-card h4{
	font-size:16px;
	font-weight:700;
	margin:0 0 10px;
	color:#fff;
}
.eng-value-card p{
	font-size:14px;
	line-height:1.8;
	color:#bbb;
	margin:0;
}

.eng-help-grid{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:24px;
}
.eng-help-grid-3{
	grid-template-columns:1fr 1fr 1fr;
}

.eng-help-card{
	display:flex;
	gap:16px;
	background:#f7f7f7;
	border-radius:8px;
	padding:24px;
}
.eng-help-card-stacked{
	flex-direction:column;
}
.eng-help-icon{
	font-size:22px;
	color:#00A7DB;
	flex:0 0 auto;
}
.eng-help-card h4{
	font-size:15px;
	font-weight:700;
	color:#242424;
	margin:0 0 8px;
}
.eng-help-card p{
	font-size:13px;
	line-height:1.8;
	color:#242424;
	margin:0;
}

.eng-category-grid{
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:24px;
	margin-top:50px;
}
.eng-category-card img{
	width:100%;
	height:160px;
	object-fit:cover;
	border-radius:8px;
	display:block;
	margin-bottom:10px;
}
.eng-category-card p{
	font-size:13px;
	color:#242424;
	text-align:center;
	line-height:1.6;
}

.eng-property-grid{
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:24px;
}
.eng-property-card{
	border:1px solid #e6e6e6;
	border-radius:8px;
	overflow:hidden;
}
.eng-property-image img{
	width:100%;
	height:180px;
	object-fit:cover;
	display:block;
}
.eng-property-info{
	padding:16px;
}
.eng-property-info h4{
	font-size:15px;
	margin:0 0 8px;
}
.eng-property-info h4 a{
	color:#242424;
	text-decoration:none;
}
.eng-property-price{
	color:#00A7DB;
	font-weight:700;
	margin:0;
}
.eng-no-properties{
	color:#777;
	font-size:14px;
	grid-column:1 / -1;
}

.eng-viewmore-wrap{
	text-align:center;
	margin-top:34px;
}
.eng-viewmore-btn{
	display:inline-block;
	border:1px solid #242424;
	color:#242424;
	padding:10px 30px;
	border-radius:30px;
	font-size:14px;
	font-weight:700;
	text-decoration:none;
}
.eng-viewmore-btn:hover{
	background:#242424;
	color:#fff;
}

.eng-cta-dark{
	background:#242424;
	padding:30px 0;
}
.eng-cta-dark-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
	flex-wrap:wrap;
}
.eng-cta-eyebrow{
	color:#999;
	font-size:13px;
	margin:0 0 6px;
}
.eng-cta-dark-inner h3{
	color:#fff;
	font-size:22px;
	font-weight:700;
	margin:0;
}
.eng-cta-btn{
	display:inline-block;
	background:#242424;
	color:#fff;
	padding:12px 26px;
	border-radius:30px;
	font-size:14px;
	font-weight:700;
	text-decoration:none;
	white-space:nowrap;
}
.eng-cta-btn:hover{
	background:#00A7DB;
	color:#fff;
}

.eng-process-list{
	display:flex;
	flex-direction:column;
	gap:22px;
}
.eng-process-item{
	display:flex;
	gap:18px;
	align-items:flex-start;
}
.eng-process-num{
	flex:0 0 32px;
	height:32px;
	width:32px;
	border-radius:50%;
	background:#00A7DB;
	color:#fff;
	font-weight:700;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:14px;
}
.eng-process-item h4{
	font-size:15px;
	font-weight:700;
	color:#242424;
	margin:0 0 6px;
}
.eng-process-item p{
	font-size:14px;
	color:#242424;
	line-height:1.8;
	margin:0;
}

@media (max-width:767px){
	.eng-hero-flex{
		grid-template-columns:1fr;
	}
	.eng-hero-flex-reverse .eng-hero-text{
		order:0;
	}
	.eng-hero-flex-reverse .eng-hero-image{
		order:0;
	}
	.eng-values-grid{
		grid-template-columns:1fr;
	}
	.eng-help-grid, .eng-help-grid-3{
		grid-template-columns:1fr;
	}
	.eng-category-grid{
		grid-template-columns:1fr;
	}
	.eng-property-grid{
		grid-template-columns:1fr;
	}
	.eng-table-row{
		flex-direction:column;
	}
	.eng-table-service{
		margin-bottom:6px;
	}
	.eng-cta-dark-inner{
		flex-direction:column;
		align-items:flex-start;
	}
}

.wpresidence-navigation-menu .menu-mega-menu-updated-container ul.menu > li.nav-ico-flag > ul.sub-menu,
.wpresidence-navigation-menu .menu-main-menu-container ul.menu > li.nav-ico-flag > ul.sub-menu
{
	padding-top:48px !important;
}

.mobilex-menu li:hover a:focus,
.mobilex-menu li:hover a:active {
  background-color: #707070;
  color: #ffffff;
}

/* SNY: buy-propertyページの注目物件カード(buyprop-pcard)にもshare/compareアイコンと
   区切り線を追加する。カード枠(buyprop-pcard-wrap)の内側に収まるよう
   listing_actionsをwrap内・buyprop-pcardの外側の兄弟要素として配置する */
.buyprop-pcard-actions{
    margin-top:auto;
    padding-top:12px;
    border-top:1px solid #ebebeb;
    justify-content:flex-end;
}

.buyprop-pcard-actions .share_list,
.buyprop-pcard-actions .compare-action{
    border:none;
    background:transparent;
}

/* ================================================================
BUY PROPERTY FIX ROUND 7 (service-pages.css)
image touches card edges (top/left/bottom, no gutter), square corners,
right column (text + icons) stretches to match image height
================================================================ */

.buyprop-pcard-wrap{
    position:relative;
    background:#fff;
    border:1px solid #e2e2e2;
    border-radius:0;
    padding:0;
    box-shadow:none;
    display:flex;
    flex-direction:row;
    align-items:stretch;
    overflow:visible;
}

.buyprop-pcard-linkoverlay{
    position:absolute;
    inset:0;
    z-index:1;
}

.buyprop-pcard-image{
    border-radius:0;
}

.buyprop-pcard-right{
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    padding:14px 16px;
    position:relative;
    z-index:2;
}

.buyprop-pcard-content{
    padding:0;
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
}

.buyprop-pcard-actions{
    position:relative;
    z-index:2;
}

@media(max-width:640px){
    .buyprop-pcard-wrap{
        flex-direction:column;
    }
    .buyprop-pcard-image{
        width:100%;
        max-width:none;
        aspect-ratio:16/10;
    }
}


/* ================================================================
BUY PROPERTY: モック(XD)の画像に差し替えた部分 (buy-property.php)
================================================================ */

/* Why STARTS? のアイコン画像(40+ YEARS は横長の画像) */
.buyprop-feature-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.buyprop-feature-card .buyprop-feature-icon{
    width:60px;
    height:60px;
    margin:0 auto 14px;
}

.buyprop-feature-card .buyprop-feature-icon-years{
    width:155px;
    height:60px;
    margin:0 auto 14px;
}

/* 5. 税務メリット: 日本と米国のグラフを左右に並べる */
.buyprop-tax-compare{
    padding:20px 20px 10px;
}

.buyprop-tax-title{
    margin:0 0 24px;
    font-size:29px;
    font-weight:700;
    line-height:42px;
    color:#242424;
}

.buyprop-tax-grid{
    display:grid;
    grid-template-columns:43fr 57fr;
    gap:50px;
    align-items:start;
}

.buyprop-tax-col{
    margin:0;
}

.buyprop-tax-col figcaption{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
    font-size:29px;
    font-weight:700;
    line-height:42px;
    color:#242424;
}

.buyprop-tax-flag{
    flex:none;
    width:44px;
    height:44px;
    border-radius:50%;
    box-shadow:0 1px 4px rgba(0,0,0,0.25);
}

.buyprop-chart-wrap .buyprop-tax-col img{
    width:100%;
    height:auto;
    border-radius:0;
}

@media(max-width:768px){

    .buyprop-tax-compare{
        padding:10px 6px 6px;
    }

    .buyprop-tax-title,
    .buyprop-tax-col figcaption{
        font-size:20px;
        line-height:30px;
    }

    .buyprop-tax-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .buyprop-tax-flag{
        width:34px;
        height:34px;
    }

}

/* ==========================================================
   Adobe XD モック(STARTS NY - 物件購入をご検討の方, 1920px幅)の数値に合わせた上書き。
   service-pages.css の共通ルールより優先させるため、
   すべて .page-template-buy-property .service-page から書く。
   ========================================================== */
.page-template-buy-property .service-page{
	font-family:"Noto Sans JP", sans-serif;
}
/* 最新ニュースは serviced-apartment と同じ幅(共通CSSの幅)のままにするため対象外 */
.page-template-buy-property .service-page > section:not(.news-section) > .container{
	max-width:none;
	width:100%;
	padding-left:36px;
	padding-right:36px;
}

/* 上部〜5つの理由は濃いグレーの背景 */
.page-template-buy-property .service-page .buyprop-hero-section,
.page-template-buy-property .service-page .buyprop-whystarts-section,
.page-template-buy-property .service-page .buyprop-reasons-section{
	background:#373737;
}

/* 青い小見出し */
.page-template-buy-property .service-page .top-label,
.page-template-buy-property .service-page .buyprop-reasons-eyebrow,
.page-template-buy-property .service-page .buyprop-area-eyebrow-label{
	color:#00A7DB;
	font-size:20px;
	font-weight:700;
	line-height:29px;
	margin:0 0 6px;
}

/* ---------- 上部 ---------- */
.page-template-buy-property .service-page .buyprop-main-title{
	font-size:40px;
	font-weight:500;
	line-height:58px;
	color:#fff;
	margin:0 0 30px;
}
.page-template-buy-property .service-page .buyprop-hero-flex{
	display:grid;
	grid-template-columns:45% minmax(0,1fr);
	gap:41px;
	align-items:start;
}
.page-template-buy-property .service-page .buyprop-hero-image{
	width:100%;
    height:100%;
}
.page-template-buy-property .service-page .buyprop-hero-image img{
	width:100%;
	height:100%;
	aspect-ratio:672 / 474;
	object-fit:cover;
	border-radius:16px;
	display:block;
}
.page-template-buy-property .service-page .buyprop-hero-text p{
	font-size:16px;
	font-weight:500;
	line-height:32px;
	color:#fff;
	margin:0 0 32px;
}
.page-template-buy-property .service-page .buyprop-hero-text p.buyprop-hero-lead{
	font-size:20px;
	font-weight:700;
	line-height:29px;
	color:#00A7DB;
	margin:0 0 20px;
}
.page-template-buy-property .service-page .buyprop-tag-row{
	display:flex;
	flex-wrap:wrap;
	gap:20px;
	margin-top:4px;
}
.page-template-buy-property .service-page .buyprop-tag{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:146px;
	height:43px;
	padding:0 16px;
	border:1px solid #fff;
	border-radius:0;
	background:transparent;
	color:#fff;
	font-size:17px;
	font-weight:700;
	line-height:25px;
}

.page-template-buy-property .service-page .buyprop-hero-section{
	padding-bottom:0;
}
/* ---------- Why STARTS? ---------- */
.page-template-buy-property .service-page .buyprop-whystarts-section{
	padding-top:64px;
	padding-bottom:70px;
}
.page-template-buy-property .service-page .buyprop-whystarts-title{
	font-size:40px;
	font-weight:500;
	line-height:58px;
	color:#fff;
	margin:0 0 24px;
}
.page-template-buy-property .service-page .buyprop-feature-grid{
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:39px;
}
.page-template-buy-property .service-page .buyprop-feature-card{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	min-height:164px;
	padding:20px 16px;
	border-radius:16px;
	background:#f2f2f2;
	text-align:center;
}
.page-template-buy-property .service-page .buyprop-feature-card p{
	font-size:24px;
	font-weight:700;
	line-height:29px;
	color:#00A7DB;
}
.page-template-buy-property .service-page .buyprop-feature-card .buyprop-feature-icon{
	width:64px;
	height:64px;
	margin:0 auto 10px;
}
.page-template-buy-property .service-page .buyprop-feature-card .buyprop-feature-icon-years{
	width:160px;
	height:64px;
}

/* ---------- 5つの理由 ---------- */
.page-template-buy-property .service-page .buyprop-reasons-header{
	display:flex;
	align-items:flex-start;
	gap:40px;
	margin-bottom:40px;
	padding-bottom:0;
	border-bottom:none;
}
.page-template-buy-property .service-page .buyprop-reasons-header-left{
	flex:0 0 360px;
	width:auto;
}

@media (max-width: 1024px) {
.page-template-buy-property .service-page .buyprop-reasons-header-left {
    flex: 0 0 0px !important;
}
.page-template-buy-property .service-page .buyprop-vacancy-table-wrap {
  flex: 0 1 0px !important;
}
}
.page-template-buy-property .service-page .buyprop-reasons-title{
	font-size:60px;
	font-weight:500;
	line-height:87px;
	color:#fff;
	margin:0;
}
.page-template-buy-property .service-page .buyprop-reasons-header-right{
	flex:1;
	max-width:955px;
}
.page-template-buy-property .service-page .buyprop-reasons-header-right p{
	font-size:18px;
	font-weight:500;
	line-height:32px;
	color:#fff;
	margin:0;
}
.page-template-buy-property .service-page .buyprop-reason-block{
	padding:36px 0;
	border:none;
}
.page-template-buy-property .service-page .buyprop-reason-head{
	display:flex;
	align-items:center;
	gap:29px;
	margin-bottom:14px;
}
.page-template-buy-property .service-page .buyprop-reason-num{
	flex:none;
	width:48px;
	height:48px;
	border-radius:50%;
	background:#f2f2f2;
	color:#373737;
	font-family:"Open Sans", sans-serif;
	font-size:24px;
	font-weight:600;
	display:flex;
	align-items:center;
	justify-content:center;
}
.page-template-buy-property .service-page .buyprop-reason-head h3{
	font-size:32px;
	font-weight:700;
	line-height:46px;
	color:#fff;
	margin:0;
}
.page-template-buy-property .service-page .buyprop-reason-desc{
	font-size:16px;
	font-weight:400;
	line-height:28px;
	color:#f2f2f2;
	max-width:938px;
	margin:0 0 24px;
}
.page-template-buy-property .service-page .buyprop-reason-block-half .buyprop-reason-desc,
.page-template-buy-property .service-page .buyprop-reason-block:has(.buyprop-chart-wrap-full) .buyprop-reason-desc{
	max-width:none;
}
.page-template-buy-property .service-page .buyprop-chart-wrap{
	background:#fff;
	border-radius:8px;
	padding:20px 30px;
}
.page-template-buy-property .service-page .buyprop-chart-wrap-narrow{
	max-width:916px;
}
.page-template-buy-property .service-page .buyprop-chart-wrap-full{
	max-width:1450px;
	padding:20px 30px 30px;
}

/* 2. 空室率: 白い数値ボックス + 暗い背景の表(見出し行だけ灰色) */
.page-template-buy-property .service-page .buyprop-vacancy-flex{
	display:flex;
	align-items:flex-start;
	gap:32px;
	padding-left:20px;
}
.page-template-buy-property .service-page .buyprop-vacancy-stat{
	flex:0 0 263px;
	min-height:364px;
	border-radius:17px;
	background:#fff;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	color:#00A7DB;
	text-align:center;
}
.page-template-buy-property .service-page .buyprop-vacancy-label{
	font-size:19px;
	font-weight:700;
	line-height:28px;
	color:#00A7DB;
}
.page-template-buy-property .service-page .buyprop-vacancy-number{
	font-size:62px;
	font-weight:700;
	line-height:1.3;
	color:#00A7DB;
}
.page-template-buy-property .service-page .buyprop-vacancy-sub{
	font-size:20px;
	font-weight:400;
	line-height:28px;
	color:#00A7DB;
}
.page-template-buy-property .service-page .buyprop-vacancy-table-wrap{
	flex:0 1 969px;
	min-width:0;
	background:transparent;
	border-radius:0;
	padding:0;
	overflow-x:auto;
}
.page-template-buy-property .service-page .buyprop-vacancy-table{
	width:100%;
	border-collapse:collapse;
	border:none;
	background:transparent;
	font-family:"Open Sans", sans-serif;
}
.page-template-buy-property .service-page .buyprop-vacancy-table th,
.page-template-buy-property .service-page .buyprop-vacancy-table td{
	padding:6px 11px;
	font-size:20px;
	line-height:28px;
	text-align:right;
	white-space:nowrap;
	border:none !important;
	border-bottom:1px solid #707070 !important;
	background:transparent;
}
.page-template-buy-property .service-page .buyprop-vacancy-table th:first-child,
.page-template-buy-property .service-page .buyprop-vacancy-table td:first-child{
	text-align:left;
}
.page-template-buy-property .service-page .buyprop-vacancy-table th{
	height:44px;
	background:#afafaf;
	color:#242424;
	font-weight:700;
	border-bottom:none;
}
.page-template-buy-property .service-page .buyprop-vacancy-table td{
	color:#f2f2f2;
	font-weight:400;
}
.page-template-buy-property .service-page .buyprop-vacancy-table .buyprop-vacancy-total td{
	color:#f2f2f2;
	font-weight:700;
}

/* 3. 災害リスク / 4. 中古市場 は左右2列 */
.page-template-buy-property .service-page .buyprop-reason-row-2col{
	display:grid;
	border:none;
	padding:0;
	grid-template-columns:repeat(2, minmax(0, 549px));
	gap:122px;
}

/* 5. 税務メリット */
.page-template-buy-property .service-page .buyprop-tax-compare{
	padding:10px 0 0;
}

/* ---------- エリアのご案内と注目物件 ---------- */
.page-template-buy-property .service-page .buyprop-area-section{
	background:#f2f2f2;
	padding-top:100px;
	padding-bottom:80px;
}
.page-template-buy-property .service-page .buyprop-area-heading{
	font-size:40px;
	font-weight:500;
	line-height:58px;
	color:#242424;
	margin:0 0 30px;
}
.page-template-buy-property .service-page .buyprop-area-block{
	display:grid;
	grid-template-columns: 38% 1fr;
	gap:35px;
	align-items:start;
	margin-bottom:40px;
}
.page-template-buy-property .service-page .buyprop-area-image img{
	width:100%;
	height:auto;
	aspect-ratio:557 / 475;
	object-fit:cover;
	display:block;
}
.page-template-buy-property .service-page .buyprop-area-en{
	font-size:40px;
	font-weight:500;
	line-height:58px;
	color:#242424;
	letter-spacing:0;
}
.page-template-buy-property .service-page .buyprop-area-jp{
	font-size:20px;
	font-weight:700;
	line-height:29px;
	color:#242424;
	margin-bottom:8px;
}
.page-template-buy-property .service-page .buyprop-area-desc{
	font-size:15px;
	font-weight:500;
	line-height:28px;
	color:#242424;
	margin:0 0 16px;
	padding:0;
}
.page-template-buy-property .service-page .buyprop-area-button{
	display:inline-flex !important;
	align-items:center;
	gap:10px;
	min-height:47px;
	padding:0 22px !important;
	border:1px solid #242424 !important;
	border-radius:24px !important;
	color:#242424 !important;
	font-size:16px !important;
	font-weight:400 !important;
	margin-bottom:25px;
	transition: all 0.3s ease-in-out;
}
.page-template-buy-property .service-page .buyprop-area-button:hover {
  background: #242424;
  color: #fff !important; 
  opacity: 0.7;
}
.page-template-buy-property .service-page .buyprop-pcard-wrap{
	display:flex;
	max-width:910px;
	min-height:230px;
	background:#fff;
	border:none;
	border-radius:4px;
	overflow:hidden;
}
.page-template-buy-property .service-page .buyprop-pcard-image{
	/* flex:0 0 376px; */
	width:clamp(0, 42%, 376px);
	max-width:none;
}
.page-template-buy-property .service-page .buyprop-pcard-image img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}
.page-template-buy-property .service-page .buyprop-pcard-title{
	font-size:18px;
	font-weight:600;
	line-height:24px;
	color:#242424;
}
.page-template-buy-property .service-page .buyprop-pcard-price{
	font-size:18px;
	font-weight:700;
	line-height:24px;
	color:#004B8D;
}
.page-template-buy-property .service-page .buyprop-pcard-excerpt{
	font-size:13px;
	font-weight:400;
	line-height:22px;
	color:#242424;
}
.page-template-buy-property .service-page .no-properties-found{
	height: 100%;
	display: inline-flex;
	align-items: center;
}

/* モックと同じく、物件カードの下端をエリア写真の下端に揃える(PC・タブレット)。
   右列を写真と同じ高さに伸ばし、カードを右列の一番下に置いて高さを230pxに固定する */
@media (min-width:769px){
	.page-template-buy-property .service-page .buyprop-area-block{
		align-items:stretch;
	}
	.page-template-buy-property .service-page .buyprop-area-right{
		display:flex;
		flex-direction:column;
		gap:20px;
		height:100%;
	}
	.page-template-buy-property .service-page .buyprop-area-right .buyprop-area-button{
		margin-bottom:0;
	}
	/* 画面幅が狭く説明文が長くなって右列が写真より高くなった場合は、
	   写真の方を右列の高さまで伸ばして下端を揃える */
	.page-template-buy-property .service-page .buyprop-area-image{
		height:100%;
	}
	.page-template-buy-property .service-page .buyprop-area-image img{
		height:100%;
	}
	.page-template-buy-property .service-page .buyprop-area-right .buyprop-pcard-wrap{
		margin-top:auto;
		height: auto;
        min-height: 230px;
	}
	.page-template-buy-property .service-page .buyprop-area-right .buyprop-pcard-image{
		height:100%;
		aspect-ratio:auto;
	}
	.page-template-buy-property .service-page .buyprop-area-right .buyprop-pcard-content{
		justify-content:flex-start;
		min-height:0;
	}
	.page-template-buy-property .service-page .buyprop-area-right .buyprop-pcard-excerpt{
		display:-webkit-box;
        line-clamp:3;
		-webkit-line-clamp:3;
		-webkit-box-orient:vertical;
		overflow:hidden;
	}
	.page-template-buy-property .service-page .buyprop-area-right .buyprop-pcard-meta{
		margin-top:10px;
	}
}

/* 物件カードのベッド・バス・広さ・築年: テーマの .property_listing_details_v2 が
   中身の幅に縮んで折り返し、築年が2行目に落ちていたため、モックどおり1行に並べる */
.page-template-buy-property .service-page .buyprop-pcard-meta .property_listing_details_v2{
	display:flex;
	/* flex-wrap:nowrap; */
	align-items:center;
	gap:5px 20px;
	width:100%;
	padding:3px 0 0;
	margin:0 0 10px;
	font-family:"Open Sans", sans-serif;
	font-size:14px;
	font-weight:600;
	color:#242424;
}
.page-template-buy-property .service-page .buyprop-pcard-meta .property_listing_details_v2_item{
	flex:none;
	align-items:center;
	gap:8px;
	margin:0;
	white-space:nowrap;
}
.page-template-buy-property .service-page .buyprop-pcard-meta .property_listing_details_v2_item .icon_label{
	margin:0;
}

/* ---------- タブレット ---------- */
@media (max-width:1199px){
	.page-template-buy-property .service-page .buyprop-feature-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:20px;
	}
	.page-template-buy-property .service-page .buyprop-reason-row-2col{
		gap:40px;
	}
	.page-template-buy-property .service-page .buyprop-area-block{
		grid-template-columns:40% minmax(0,1fr);
	}
	.page-template-buy-property .service-page .buyprop-pcard-image{
		flex-basis:40%;
		width:40%;
	}
}

/* ---------- スマホ ---------- */
@media (max-width:768px){
	.page-template-buy-property .service-page > section:not(.news-section) > .container{
		padding-left:20px;
		padding-right:20px;
	}
	.page-template-buy-property .service-page .buyprop-main-title,
	.page-template-buy-property .service-page .buyprop-whystarts-title,
	.page-template-buy-property .service-page .buyprop-area-heading,
	.page-template-buy-property .service-page .buyprop-area-en{
		font-size:28px;
		line-height:40px;
	}
	.page-template-buy-property .service-page .buyprop-reasons-title{
		font-size:40px;
		line-height:56px;
	}
	.page-template-buy-property .service-page .buyprop-hero-flex,
	.page-template-buy-property .service-page .buyprop-area-block,
	.page-template-buy-property .service-page .buyprop-reason-row-2col{
		grid-template-columns:1fr;
		gap:24px;
	}
	.page-template-buy-property .service-page .buyprop-reasons-header{
		flex-direction:column;
		gap:16px;
	}
	.page-template-buy-property .service-page .buyprop-reasons-header-left{
		flex-basis:auto;
	}
	.page-template-buy-property .service-page .buyprop-reasons-header-right p{
		font-size:16px;
		line-height:28px;
	}
	.page-template-buy-property .service-page .buyprop-reason-head{
		gap:14px;
	}
	.page-template-buy-property .service-page .buyprop-reason-head h3{
		font-size:22px;
		line-height:32px;
	}
	.page-template-buy-property .service-page .buyprop-feature-grid{
		grid-template-columns:1fr;
	}
	.page-template-buy-property .service-page .buyprop-feature-card p{
		font-size:20px;
	}
	.page-template-buy-property .service-page .buyprop-chart-wrap{
		padding:12px;
	}
	/* 空室率: 数値ボックスを上に、表は横スクロールで収める */
	.page-template-buy-property .service-page .buyprop-vacancy-flex{
		flex-direction:column;
		align-items:stretch;
		padding-left:0;
		gap:20px;
	}
	.page-template-buy-property .service-page .buyprop-vacancy-stat{
		flex-basis:auto;
		min-height:0;
		padding:24px 16px;
	}
	.page-template-buy-property .service-page .buyprop-vacancy-table-wrap{
		flex-basis:auto;
		width:100%;
	}
	.page-template-buy-property .service-page .buyprop-vacancy-table th,
	.page-template-buy-property .service-page .buyprop-vacancy-table td{
		font-size:14px;
		line-height:20px;
		padding:6px 8px;
	}
	.page-template-buy-property .service-page .buyprop-pcard-wrap{
		flex-direction:column;
	}
	.page-template-buy-property .service-page .buyprop-pcard-image{
		flex-basis:auto;
		width:100%;
		aspect-ratio:376 / 230;
	}
}