@charset "utf-8";

/*メディアクエリー
PC
@media (min-width: 768px) {}
タブレット
@media (min-width: 768px) and (max-width: 1024px) {}
*/
header {  border-bottom: 1px solid #707070; }

h1::before { background: #fff; }
.lowerpage_title_wrap { background: #fff; }
.lowerpage_title_wrap .contents { padding-bottom: 0; }
.lowerpage_title_wrap .lowerpage_title { margin: 0; }
.figure { width: 100%; }
@media (min-width: 768px) {
    .figure { display: block; width: 480px; margin: 0 auto; }
    .lowerpage_title_wrap  {margin: 0;}
}


.lowerpage_title_wrap {
    background: #A4D3AC;
}

.business_wrap { display: flex; flex-direction: column; gap: 20px; }
.flex_wrap { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.flex_item { display: flex; flex-direction: column; gap: 16px; }
.flex_item h2 { position: relative; padding: 0 0 calc(16px + 2px); }
.flex_item h2::after { content: ""; position: absolute; top: calc(39px + 16px); left: 0; width: 40px; height: 2px; background:#EFA734; }
.flex_item .business_video { width: 100%; height:100%; display:block; }
@media (min-width: 768px) {
    .business_wrap { gap: 48px; }
    .flex_wrap { flex-direction: row;  gap: 48px; padding: 48px 56px; }
    .flex_item {  width:50%; gap: 24px; }
    .flex_item .business_video { width: 450px; height: 360px; }
    .lowerpage_title_wrap .lowerpage_title{margin-bottom: 0;}
}

#build {scroll-margin-top: 80px;}
#estate {scroll-margin-top: 80px;}
#sell {scroll-margin-top: 80px;}



.flex_item.business_video_wrap { width:450px; height:360px; }
.flex_item.business_video_wrap iframe { width:100%; height:100%; display:block; }


.video_wrapper {width: 100%; aspect-ratio: 4 / 3;/* 自動で高さ計算 */border-radius: 36px;border: 2px solid #000;overflow: hidden;}
.video_cover { width: 100%;height: 100%;cursor: pointer; }
.video_cover img {width: 101%; height: 101%;object-fit: cover;display: block; vertical-align: bottom;}
@media (min-width: 768px) {
    .video_wrapper {width:450px; height:360px; position: relative; aspect-ratio: 16 / 9; }
    .video_cover img:hover { opacity:0.7; }
}


