/*==========================================================
                        C U S T O M
==========================================================*/
.under main .image_l{float:left;margin:0 60px 0 0}
.under main .image_r{float:right;margin:0 0 0 60px}
.under main section img {border-radius: 20px;}

/* MB */
.under main .mb10{margin-bottom:10px!important;}
.under main .mb15{margin-bottom:15px}
.under main .mb20{margin-bottom:20px}
.under main .mb25{margin-bottom:25px}
.under main .mb30{margin-bottom:30px}
.under main .mb40{margin-bottom:40px}
.under main .mb50{margin-bottom:50px}
.under main .mb60{margin-bottom:60px}
.under main .mb70{margin-bottom:70px}
.under main .mb80{margin-bottom:80px}
.under main .mb90{margin-bottom:90px}
.under main .mb100{margin-bottom:100px}
.under main .mb120{margin-bottom:120px}
.under main .mb150{margin-bottom:150px}

/* MT */
.under main .mt10{margin-top:10px}
.under main .mt15{margin-top:15px}
.under main .mt20{margin-top:20px}
.under main .mt25{margin-top:25px}
.under main .mt30{margin-top:30px}
.under main .mt40{margin-top:40px}
.under main .mt50{margin-top:50px}

/*==========================================================
                        H E A D I N G
==========================================================*/
.under main h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6,
.under main .ovn_content h3,
.under main .ovn_content h4,
.under main .ovn_content h5,
.under main .ovn_content h6{font-weight: bold;margin-bottom: 30px;}

.under main h2{font-family:var(--zen);font-weight:900;font-size:62px; letter-spacing:.025em;color:var(--mcolor);text-align:center;margin:0;position: relative;z-index: 2;}
.under main .u_body h2{margin:0 0 54px;}
.under main .top_info_ttl{font-family:var(--zen);font-weight:900;font-size:62px;line-height:1.5em;letter-spacing:.025em;color:var(--mcolor);text-align:center;margin:0;position:relative;z-index:2;}

/* h3 - h6 */
.under main h3{font-family:var(--zen);font-weight:900;font-size:56px; color:var(--mcolor);text-align:center;letter-spacing:.025em;margin:0 0 54px;}
.under main h4 { font-family: var(--zen); font-weight: 900; font-size: 42px; color: var(--mcolor); letter-spacing: .025em; margin: 0 0 48px; padding: 0 0 22px; border-bottom: 4px solid var(--mcolor); position: static; }
.under main h5{position:relative;font-family:var(--font-main);font-weight:700;font-size:32px; color:var(--mcolor);padding-left:30px;margin:0 0 23px;}
.under main h5::before{content:'';position:absolute;left:0;top:0;width:5px;height:42px;border-radius:3px;background:var(--mcolor)}
.under main h6{font-size: 20px;position: relative;}

/* h3 - h6 inside .ovn_content */
.under main .ovn_content h3{font-size: 30px; text-align: center;}
.under main .ovn_content h4{font-size: 26px;position: relative;padding-left: 15px;}
.under main .ovn_content h5{font-size: 24px;color: var(--mcolor);}
.under main .ovn_content h6{font-size: 20px;position: relative;}

/*==========================================================
                      MAIN - CONTENT
==========================================================*/
.under main #content{padding: 0 0 140px;word-break: break-all;}
.under main section{padding:0 0 80px;margin-bottom:0}
.under main section:last-child{padding:0}

/* LINK + BUTTON TOP */
.under main .link{text-decoration: underline;color: var(--mcolor);}
.under main .u_body a{text-decoration:underline;color:var(--mcolor);}
.under main .block_report_graph{margin-bottom:40px;}
.under main .price{font-size:1.2em;}
.under main .ul_line{text-decoration:underline;text-underline-offset:3px;}
.under main .cta_inline{width:100%;margin:80px 0;}
.under main .btn_grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px 30px;max-width:960px;margin:0 auto 40px;}
.under main .btn_grid .btn{margin:0;}
.under main .btn_grid .btn a{text-decoration:none;}
.under main table td,.under main table th{text-wrap:pretty;}
.under main .btn_grid .btn a:hover{text-decoration:none;}
.under main .box_map{margin-bottom:20px;}.under main section img[src$="kurume02_img_2.png"]{border-radius:0;}
.under main .cta_inline a{text-decoration:none;}
.under main .u_body a:not([target=_blank]):hover{opacity:.7;text-decoration:none;}
.under main .cta_inline .cta_il01{left:-14px;}
.under main .cta_inline .cta_il02{left:calc(50% + 389px);}
.under main .cta_inline h3{font-family:var(--zen);font-weight:900;font-size:48px;line-height:1em;letter-spacing:.025em;color:#fff;text-align:center;margin:38px 0 0;}
.under main .list01 li:has(> .txt_or)::before{background:#ed7d31;}

/*============ TOP INFO ============ */
.under main #top_info{position:relative;width:1822px;max-width:calc(100% - 86px);height:363px;margin:0 auto;border-radius:40px;background:#ecf5fb;overflow:visible}
.under main #top_info .inner{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;position:relative;z-index:1;padding-bottom:44px}

.under main #top_info .inner:before{left:50%;transform: translateX(-50%);top:41px;width:240px;height:224px;content: '';position: absolute;background: url("../images/under_deco01.svg") no-repeat center center/100% auto;}
.under main #top_info .inner:after{right: -91px;top:194px;width:260px;height:228px;content: '';position: absolute;background: url("../images/under_deco02.svg") no-repeat center center/100% auto;}
.under main .mv_nav{margin:-63px auto 60px;height:122px}
/*==========================================================
                    T O P I C   P A T H
==========================================================*/
.under main #topic_path{margin-bottom:30px}
.under main #topic_path ul{display:block;padding:10px 0}
.under main #topic_path li{display:inline;position: relative;}
.under main #topic_path li:not(:last-child)::after{content:">";position:relative;display: inline-block;margin: 0 5px 0 10px;top: -1px;pointer-events: none;}
.under main #topic_path li{color: var(--mcolor);}


/*============ LIST ANCHOR LINK ============ */
.under main .list_anchor{display: flex; align-items: center; flex-wrap: wrap; justify-content: center;width:100%;margin-bottom: 30px;}
.under main .list_anchor .btn{margin: 0 10px 15px}
.under main .list_anchor:last-child{margin-bottom: -15px;}


/*==========================================================
                        T A B L E
==========================================================*/
.under main table.td_top td{vertical-align:top}
.under main table.td_top td.v_mid{vertical-align:middle}
.under main table.tb_fix{table-layout: fixed;}

.under main table{margin-bottom: 30px;}
.under main table.mailform th,
.under main table th{background:#ecf5fb;color:var(--mcolor);font-weight:700;font-size: 20px;}
.under main table th.th_bg1{background: var(--mcolor);color: #fff;}
.under main table th.th_bg1:not(:last-of-type){border-right-color: #fff;}
.under main table.mailform td .info{color:var(--mcolor)}

.under main table td{background:#fff;}
.under main table th,
.under main table td{padding:15px 24px 17px;border-color: var(--mcolor);}
.under main table td.td_slash{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cline x1='0' y1='100%25' x2='100%25' y2='0' stroke='%23171c61' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%;}
.under main table img{display:block;margin:auto;}
.under main .tb_scroll:not(:last-child) {margin-bottom: 30px;}

/*============ LIST ============ */
/* LIST 01 */
.under main .list01,
.under main .ovn_content ul:not([class]){margin-bottom: 30px;list-style:none;padding:0; overflow: hidden;}
.under main .list01 li,
.under main .ovn_content ul:not([class]) li{position:relative;padding-left:0; margin:0 0 19px;padding-left: 25px;}
.under main .list01 li::before,
.under main .ovn_content ul:not([class]) li::before{content:'';position:absolute;left:0;top:11px;width:10px;height:10px;background:var(--mcolor);border-radius: 50%;}
.under main td .list01:has(+ p){margin-bottom:0;}
.under main td .list01:has(+ p) li:last-child{margin-bottom:10px;}

/* LIST 02 */
.under main .list02,
.under main .ovn_content ol{margin-bottom: 30px;list-style:none;padding:0; counter-reset:li; overflow: hidden;}
.under main .list02 li,
.under main .ovn_content ol li{position:relative;counter-increment:li;padding-left:26px; margin:0 0 21px}
.under main .list02 li::before,
.under main .ovn_content ol li::before{content:counter(li) ".";display:block;background:none;width:auto;height:auto;border-radius:0;position:absolute;left:0;top:1px;font-family:var(--en);font-weight:900;font-size:20px;line-height:1.575em;color:var(--mcolor)}

/* LIST CHECK */
.under main .list_check{margin-bottom: 30px;}
.under main .list_check li{display:block;padding-left:25px;margin-bottom:5px;position:relative}
.under main .list_check li::before{content: ''; display: block; position: absolute; top: 5px; left: 5px; width: 7px; height: 15px; border: solid var(--mcolor); border-width: 0 2px 2px 0; transform: rotate(45deg);}

/* LIST FAQ */
.under main .list_faq{margin-bottom: 30px;}
.under main .list_faq dl{background: #FFF;padding: 15px;box-shadow: 0px 4px 13px rgba(0,0,0,0.2);margin-bottom: 50px}
.under main .list_faq dt{position: relative;font-size: 18px;font-weight: bold;line-height: 1.5em;margin-bottom: 10px;border-bottom: 1px dotted var(--mcolor);display: flex;align-items: center;padding-bottom: 15px;}
.under main .list_faq dt span{width: 40px;height: 40px;font-weight: bold;text-align:center;line-height: 1em;background: #fff;border:1px solid var(--mcolor);color: var(--mcolor);margin-right: 15px;display: flex;align-items: center;justify-content: center;padding-bottom: 5px;flex-shrink: 0;}
.under main .list_faq dd{position: relative;padding-left: 50px;min-height: 62px}
.under main .list_faq dd span{position: absolute;top: 5px;left: 0;width: 40px;height: 40px;font-weight: bold;text-align:center;line-height: 1em;color:#fff;background: var(--mcolor);display: flex;align-items: center;justify-content: center;padding-bottom: 5px;flex-shrink: 0;}

/* LIST STEP */
.under main .list_step dl{margin-bottom: 35px;padding-bottom: 50px;position: relative;}
.under main .list_step dl:not(:last-child)::before{background: url('../images/ic-step.png') center /cover no-repeat;width: 80px;height: 30px;position: absolute;bottom: -10px;left: calc(50% - 40px);content: '';}
.under main .list_step dl:last-child{padding-bottom: 0;margin-bottom: 0}
.under main .list_step dt{background: var(--mcolor);color: #fff;font-weight: 500;padding: 10px;}
.under main .list_step dd{padding: 15px;background: #fff;box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);}

/*============ FRAME ============ */
/* FRAME 01 */
.under main .frame01{border:3px solid var(--mcolor);padding:50px 30px;background:url('../images/frame01_bg.jpg') repeat;border-radius:10px;margin-bottom: 50px;}

.under main .frame01{background:var(--lblue);border:2px solid var(--mcolor);border-radius:20px;padding:40px 50px 45px;box-shadow:10px 12px 0 rgba(23,28,97,.1);}
.under main .frame01.frame_tight{margin-bottom:30px;}
.under main p.addr .addr_ln{display:block;}
.under main p.addr .lb{display:inline;}
.under main p.addr .lb:empty{display:inline-block;width:3em;}.under main .p_lg{font-size:20px;text-decoration:underline;text-underline-offset:3px;}
.under main .txt_or{font-weight:900;font-size:18px;color:#ed7d31;}

/* FRAME PICKUP */
.under main .frame_pick{border: 1px solid #000;padding: 25px;background: var(--scolor);margin-bottom: 50px;}
.under main .frame_pick .pick_ttl{font-size: 24px;}
.under main .frame_pick .pick_ttl span{font-size: 36px;display: block;}

/* IFRAME BOX */
.under main .box_map{width:100%;height:400px}
.under main .box_ytb{width: 900px;height: auto; margin: 0 auto;aspect-ratio: 16/9;max-width: 100%;}
.under main .box_map iframe,
.under main .box_ytb iframe{width:100%;height:100%;border:none;outline: none;}

/* ===========  OVERNOTE ===========  */
.under main .list_ovn {display: flex;flex-wrap: wrap;margin: 50px auto 0;width: 1200px;max-width: 100%;}
.under main .list_ovn li {padding: 10px;margin-bottom: 15px;position: relative;margin: 0 20px 20px 0;width: calc((100% - 40px) / 3);border: 1px solid var(--mcolor);}
.under main .list_ovn li .img {width: 100%;height: auto;aspect-ratio: 3/2;display: flex;align-items: center;justify-content: center;background: #efefef;}
.under main .list_ovn li .img img {max-width: 100%;max-height: 100%;flex-shrink: 0;object-fit: cover;width: 100%;height: 100%;}
.under main .list_ovn li p {margin-bottom: 0;}
.under main .list_ovn li a {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.under main .list_ovn .info_box {display: flex;justify-content: space-between;margin: 10px 0 15px;}
.under main .list_ovn .info_box .cate{padding: 0 15px;background: var(--mcolor);color: #fff;border-radius: 5px;}
.under main .list_ovn .big {max-width: 100%;overflow: hidden;text-overflow: ellipsis;max-height: 70px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
.under main .list_ovn li:hover {background: #fdf4e0;}

.under main .ovn_content p a {text-decoration: underline;color: var(--blue);}
.under main .ovn_content img {max-height: 500px;}

/* ===========  PAGINATION OVN ===========  */
.under main .pagination {display: flex;justify-content: center;flex-wrap: wrap;text-align: center;margin: 0 auto;}
.under main .pagination li {margin: 20px 10px 0}
.under main .pagination li a {width: 40px;height: 40px;text-align: center;border: 1px solid var(--mcolor);background: #fff;display: flex;color: var(--mcolor);justify-content: center;align-items: center;border-radius: 5px;}
.under main .pagination li:hover a, .under main .pagination li.active a {
background: var(--mcolor);color: #fff;}
.under main .pagination li.active a {pointer-events: none;}
.under main .pagination li.disabled {display: none}

/* RESET */
.under main table:last-child,
.under main .list_faq:last-child,
.under main .list_faq dl:last-child,
.under main .list01:last-child,
.under main .list01 li:last-child,
.under main .list02:last-child,
.under main .list02 li:last-child,
.under main .list_check:last-child,
.under main .list_check li:last-child,
.under main .list_step:last-child,
.under main .list_step dl:last-child,
.under main section p:last-child,
.under main p:last-child,
.under main .frame01:last-child,
.under main .frame_pick:last-child{margin-bottom: 0}
/*==================== UNDER LAYOUT (from design) ===================*/


/* STEP FLOW (kurume03: 不動産売却の流れ) */
.under main .step_flow{display:grid;grid-template-columns:1fr 150px;column-gap:24px;row-gap:12px;max-width:680px;margin:0 auto 30px;padding:28px;border:2px solid var(--mcolor);border-radius:20px;background:#fff;}
.under main .step_row{grid-column:1;display:flex;align-items:stretch;margin:0;border:1px solid #c5d3e2;background:#fff;}
.under main .step_row:nth-of-type(1){grid-row:1;}
.under main .step_row:nth-of-type(2){grid-row:2;}
.under main .step_row:nth-of-type(3){grid-row:3;}
.under main .step_row:nth-of-type(4){grid-row:4;}
.under main .step_row:nth-of-type(5){grid-row:5;}
.under main .step_row:nth-of-type(6){grid-row:6;}
.under main .step_no{flex:0 0 100px;display:flex;align-items:center;justify-content:center;padding:10px 18px 10px 8px;background:var(--mcolor);color:#fff;font-family:var(--en);font-weight:900;font-size:16px;line-height:1em;letter-spacing:.05em;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%);}
.under main .step_txt{flex:1;display:flex;align-items:center;padding:12px 16px;font-weight:700;font-size:18px;line-height:1.5em;color:var(--txt);}
.under main .step_term{grid-column:2;display:flex;align-items:center;justify-content:center;padding:0 6px 30px;background:#b9c9dd;color:var(--mcolor);font-weight:700;font-size:16px;line-height:1.4em;text-align:center;clip-path:polygon(0 0,100% 0,100% calc(100% - 28px),50% 100%,0 calc(100% - 28px));}
.under main .step_term.t1{grid-row:1 / 3;}
.under main .step_term.t2{grid-row:3 / 5;}
.under main .step_term.t3{grid-row:5;}
.under main .step_term.t4{grid-row:6;}
.under main .step_term.t3,.under main .step_term.t4{padding-bottom:16px;clip-path:polygon(0 0,100% 0,100% calc(100% - 16px),50% 100%,0 calc(100% - 16px));}

/* h6 style: aligned with h3-h5 (zen, navy, underline) */
.under main h6,
.under main .ovn_content h6{font-family:var(--zen);font-weight:900;font-size:28px;line-height:1.5em;color:var(--mcolor);letter-spacing:.025em;text-align:left;margin:0 0 30px;padding:0 0 10px;border-bottom:2px solid var(--mcolor);}

/* p sát list ngay bên dưới */
.under main p.mb0{margin-bottom:0;}

/* btn: no underline (same as index style) */
.under main .u_body .btn a{text-decoration:none;}

/*============ TOP INFO - background image (2026-11-17) ============ */
.under#kurume01 main #top_info,.under#kurume02 main #top_info,.under#kurume03 main #top_info,.under#kurume04 main #top_info,.under#kurume05 main #top_info,.under#kurume06 main #top_info,.under#kurume07 main #top_info,.under#contact main #top_info{background-color:#ecf5fb;background-repeat:no-repeat;background-position:center;background-size:cover;}
.under#kurume01 main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/kurume01_mv.jpg");}
.under#kurume02 main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/kurume02_mv.jpg");}
.under#kurume03 main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/kurume03_mv.jpg");}
.under#kurume04 main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/kurume04_mv.jpg");}
.under#kurume05 main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/kurume05_mv.jpg");}
.under#kurume06 main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/kurume06_mv.jpg");}
.under#kurume07 main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/kurume07_mv.jpg");}
.under#contact main #top_info{background-image:linear-gradient(rgba(236,245,251,.62),rgba(236,245,251,.62)),url("../images/contact_mv.jpg");}

/*============ CONTACT FORM - 住所反映ボタン (2026-11-17) ============ */
#fmail .mailform input.btn_addr{width:auto;height:auto;display:inline-block;margin-left:8px;padding:5px 16px;border:0;border-radius:4px;background:var(--mcolor);color:#fff;font-size:14px;font-weight:700;line-height:1.5;cursor:pointer;vertical-align:middle;transition:opacity .3s;}
#fmail .mailform input.btn_addr:hover{opacity:.8;}
.under main table.mailform input#en1793400116.fmail{display:inline-block;width:200px;max-width:calc(100% - 110px);vertical-align:middle;}
.under main .mailform #en1793400117{min-width:240px;}
