/********** Template CSS **********/
:root {
    --primary: #0b2c4a;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #E6EEF6;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}
/********** AOBA Hero Custom **********/
.hero-shell {
    position: relative;
    padding-bottom: 150px;
    margin-bottom: 100px !important;
    overflow: visible;
}

#header-carousel {
    position: relative;
    overflow: hidden;
    clip-path: none;
}

#header-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(1, 26, 65, 0.52) 0%,
        rgba(1, 26, 65, 0.30) 38%,
        rgba(1, 26, 65, 0.10) 100%);
    z-index: 0;
    pointer-events: none;
}

#header-carousel .carousel-item {
    min-height: 760px;
}

#header-carousel .carousel-item img {
    min-height: 760px;
    object-fit: cover;
}

#header-carousel .carousel-caption {
    z-index: 1;
    align-items: center;
}

.hero-subtitle {
    display: inline-block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.24em;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
}

.hero-description {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    line-height: 2;
    font-weight: 500;
    max-width: 920px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    backdrop-filter: blur(2px);
}

.hero-entry-links {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.hero-entry-card {
    background: #ffffff;
    border: 1px solid rgba(1, 26, 65, 0.12);
    border-left: 6px solid #90a0ae;
    border-radius: 22px;
    min-height: 96px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(1, 26, 65, 0.12);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hero-entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(1, 26, 65, 0.18);
}

.hero-entry-card-accent {
    border-left-color: #84c89d;
}

.hero-entry-text {
    color: var(--dark);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.5;
}

.hero-entry-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(1, 26, 65, 0.06);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

@media (max-width: 1199.98px) {
    #header-carousel .carousel-item,
    #header-carousel .carousel-item img {
        min-height: 700px;
    }

    .hero-description {
        font-size: 1.08rem;
    }
}

@media (max-width: 991.98px) {
    .hero-shell {
        padding-bottom: 125px;
        margin-bottom: 80px !important;
    }


    #header-carousel .carousel-item,
    #header-carousel .carousel-item img {
        min-height: 640px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.20em;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.9;
    }

    .hero-tag {
        min-height: 46px;
        padding: 0 18px;
        font-size: 0.9rem;
    }

    .hero-entry-card {
        min-height: 86px;
        padding: 0 20px;
        border-radius: 18px;
    }

    .hero-entry-text {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-shell {
        padding-bottom: 0;
        margin-bottom: 54px !important;
    }


    #header-carousel .carousel-item,
    #header-carousel .carousel-item img {
        min-height: 560px;
    }

    .hero-subtitle {
        margin-bottom: 14px;
        font-size: 0.78rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.28;
        margin-bottom: 18px !important;
    }

    .hero-description {
        font-size: 0.92rem;
        line-height: 1.8;
        margin-bottom: 18px !important;
    }

    .hero-tags {
        gap: 10px;
        margin-top: 18px;
    }

    .hero-tag {
        width: 100%;
        justify-content: center;
        min-height: 42px;
        font-size: 0.84rem;
    }

    .hero-entry-links {
        position: relative;
        margin-top: -24px;
    }

    .hero-entry-card {
        min-height: 74px;
        padding: 0 16px;
        border-radius: 16px;
    }

    .hero-entry-text {
        font-size: 0.94rem;
    }

    .hero-entry-arrow {
        width: 38px;
        height: 38px;
    }
}
/* ▼ テキストを紺系に変更 */
.hero-subtitle {
    color: #1f3a5f; /* 紺 */
}

.hero-title {
    color: #0b2c4a; /* 濃い紺（メイン） */
    text-shadow: none; /* 白用の影は削除 */
}

.hero-description {
    color: #2c4a68; /* 少し薄めの紺 */
    text-shadow: none;
}

/* ▼ タグも見やすく */
.hero-tag {
    color: #0b2c4a;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(11, 44, 74, 0.15);
    backdrop-filter: none;
}
/* ▼ デフォルト（明るい画像用：紺） */
.hero-subtitle { color: #1f3a5f; }
.hero-title { color: #0b2c4a; text-shadow: none; }
.hero-description { color: #2c4a68; text-shadow: none; }
.hero-tag {
    color: #0b2c4a;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(11,44,74,0.15);
}

/* ▼ 暗い画像用（白文字） */
.hero-dark .hero-subtitle,
.hero-dark .hero-title,
.hero-dark .hero-description {
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.hero-dark .hero-tag {
    color: #ffffff;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
}
/* ロゴサイズ調整 */
.aoba-logo {
    height: 48px;
    width: auto;
}

/* PCで少し大きく */
@media (min-width: 992px) {
    .aoba-logo {
        height: 56px;
    }
}
/* =========================
   AOBA ナビカスタム
========================= */

/* 横並び */
.aoba-nav {
    align-items: center;
}

/* 親メニュー */
.aoba-nav > li {
    position: relative;
    list-style: none;
}

.aoba-nav > li > a {
    display: block;
    padding: 28px 18px;
    font-weight: 600;
    color: #0b2c4a;
    text-decoration: none;
    transition: 0.3s;
}

.aoba-nav > li > a:hover {
    color: #2f6fa3;
}

/* ▼ ドロップダウン */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 14px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s;
    z-index: 100;
}

/* 表示 */
.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 子メニュー */
.sub-menu li {
    list-style: none;
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    color: #0b2c4a;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
}

.sub-menu a:hover {
    background: #f3f7fb;
}

/* ▼ 少し丸み＆余白（画像っぽく） */
.sub-menu {
    border: 1px solid rgba(0,0,0,0.05);
}
.btn-primary {
    background-color: #123e66;
    border-color: #123e66;
}

.btn-primary:hover {
    background-color: #0b2c4a;
}
.feature-item .icon,
.service .btn,
.rounded-circle.bg-primary {
    background-color: #123e66 !important;
}
.service .nav .nav-link.active {
    background: #0b2c4a !important;
    border-color: #0b2c4a !important;
}
/* ========================================
   AOBA 最終配色調整
   全体は紺、CTAだけオレンジ
======================================== */

/* 基本色の再整理 */
:root {
    --primary: #0b2c4a;
    --primary-soft: #123e66;
    --accent: #eb8b7f;
    --accent-hover: #de786b;
    --accent-dark: #c76658;
    --light-border: #d8e2ef;
    --navy-text: #0b2c4a;
    --navy-subtext: #2c4a68;
}

/* 明るい青で残っている text-primary を紺へ */
.text-primary {
    color: var(--primary) !important;
}

/* 汎用リンク色 */
a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-soft);
}

/* トップバー */
.top-bar {
    border-bottom: 1px solid rgba(11, 44, 74, 0.08);
}

.top-bar small,
.top-bar small a {
    color: var(--navy-subtext);
}

.top-bar .text-primary {
    color: var(--primary) !important;
}

/* ナビ全体 */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(11, 44, 74, 0.06);
}

.navbar .navbar-nav .nav-link {
    color: var(--navy-text);
    font-weight: 600;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.aoba-nav > li > a:hover,
.aoba-nav > li > a.active {
    color: var(--primary-soft);
}

/* サブメニュー */
.sub-menu {
    border: 1px solid rgba(11, 44, 74, 0.08);
    box-shadow: 0 16px 36px rgba(11, 44, 74, 0.12);
}

.sub-menu a {
    color: var(--navy-text);
}

.sub-menu a:hover {
    background: #f4f7fb;
    color: var(--primary);
}

/* SNS丸ボタン */
.navbar .btn.btn-light.btn-sm-square {
    background: #eef3f8;
    border: 1px solid #e0e8f1;
}

.navbar .btn.btn-light.btn-sm-square .text-primary {
    color: var(--primary) !important;
}

.navbar .btn.btn-light.btn-sm-square:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.navbar .btn.btn-light.btn-sm-square:hover .text-primary {
    color: #ffffff !important;
}

/* セクション上の小カテゴリラベル */
.d-inline-block.border.rounded.text-primary.fw-semi-bold {
    color: var(--primary) !important;
    border-color: rgba(11, 44, 74, 0.18) !important;
    background: #ffffff;
}

/* Service の左タブ */
.service .nav .nav-link {
    border-color: var(--light-border) !important;
    color: var(--navy-text) !important;
    background: #ffffff;
}

.service .nav .nav-link h5,
.service .nav .nav-link h5 i {
    color: var(--navy-text) !important;
}

.service .nav .nav-link:hover {
    border-color: rgba(11, 44, 74, 0.22) !important;
    background: #f7f9fc;
}

.service .nav .nav-link.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.service .nav .nav-link.active h5,
.service .nav .nav-link.active h5 i {
    color: #ffffff !important;
}

/* 丸アイコン・強みアイコン */
.rounded-circle.bg-primary,
.btn-lg-square.rounded-circle.bg-primary,
.btn-sm-square.rounded-circle.bg-primary {
    background-color: var(--primary) !important;
}

/* チェックアイコンなど */
.fa-check.text-primary,
.bi.text-primary,
i.text-primary {
    color: var(--primary) !important;
}

/* プロジェクトのリンクアイコン */
.project-item .project-img a i.text-primary {
    color: var(--primary) !important;
}

/* Owl ナビ */
.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    color: var(--primary);
    background: #edf3f8;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #ffffff;
}

/* About のタブ */
.nav-tabs .nav-link {
    color: var(--primary);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-color: rgba(11, 44, 74, 0.16) rgba(11, 44, 74, 0.16) #fff;
    background: #ffffff;
}

/* map ボタンなど */
.map-button {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.map-button:hover {
    color: var(--primary-soft);
}

/* 通常ボタンは紺 */
.btn-primary {
    background-color: var(--primary-soft);
    border-color: var(--primary-soft);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* CTA専用オレンジ */
.btn-accent {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(235, 139, 127, 0.24);
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(222, 120, 107, 0.28);
}

.btn-accent:active {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
}

/* Back to top は紺のまま */
.back-to-top.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* フッター hover は明るい青ではなく少し明るい紺 */
.footer .btn.btn-link:hover,
.copyright a:hover {
    color: #b9cde0;
}

/********** Architect Detail Section **********/
.architect-detail {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.architect-lead {
    color: #566574;
    line-height: 2;
    font-size: 1.05rem;
}

.architect-image-box {
    position: relative;
    padding: 18px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.10);
}

.architect-image-box::before {
    content: "";
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 55%;
    height: 55%;
    border-radius: 22px;
    background: rgba(11, 44, 74, 0.08);
    z-index: -1;
}

.architect-image-box img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.architect-summary-card {
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 14px 34px rgba(1, 26, 65, 0.08);
}

.architect-small-title {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.architect-point {
    background: #f3f7fb;
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--dark);
    font-weight: 600;
}

.architect-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.architect-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 44, 74, 0.22);
    box-shadow: 0 18px 40px rgba(1, 26, 65, 0.12);
}

.architect-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.architect-card h4 {
    margin-bottom: 14px;
}

.architect-card p {
    margin-bottom: 0;
    line-height: 1.9;
}

.architect-feature {
    background: var(--primary);
    color: #ffffff;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.18);
}

.architect-feature h3,
.architect-feature p {
    color: #ffffff;
}

.architect-feature p {
    opacity: .9;
    line-height: 1.9;
}

.architect-feature-item {
    height: 100%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 22px;
}

.architect-feature-item strong {
    display: block;
    margin-bottom: 10px;
    color: #b9cde0;
    font-size: 1.5rem;
    line-height: 1;
}

.architect-feature-item span {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .architect-summary-card,
    .architect-feature {
        padding: 26px 22px;
    }

    .architect-image-box img {
        min-height: 280px;
    }
}


/********** Real Estate Detail Section **********/
.estate-detail {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.estate-lead {
    color: #566574;
    line-height: 2;
    font-size: 1.05rem;
}

.estate-image-box {
    position: relative;
    padding: 18px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.10);
}

.estate-image-box::before {
    content: "";
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 55%;
    height: 55%;
    border-radius: 22px;
    background: rgba(11, 44, 74, 0.08);
    z-index: -1;
}

.estate-image-box img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.estate-summary-card {
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 14px 34px rgba(1, 26, 65, 0.08);
}

.estate-small-title {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.estate-point {
    background: #f3f7fb;
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--dark);
    font-weight: 600;
}

.estate-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.estate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 44, 74, 0.22);
    box-shadow: 0 18px 40px rgba(1, 26, 65, 0.12);
}

.estate-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.estate-card h4 {
    margin-bottom: 14px;
}

.estate-card p {
    margin-bottom: 0;
    line-height: 1.9;
}

.estate-feature {
    background: var(--primary);
    color: #ffffff;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.18);
}

.estate-feature h3,
.estate-feature p {
    color: #ffffff;
}

.estate-feature p {
    opacity: .9;
    line-height: 1.9;
}

.estate-feature-item {
    height: 100%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 22px;
}

.estate-feature-item strong {
    display: block;
    margin-bottom: 10px;
    color: #b9cde0;
    font-size: 1.5rem;
    line-height: 1;
}

.estate-feature-item span {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .estate-summary-card,
    .estate-feature {
        padding: 26px 22px;
    }

    .estate-image-box img {
        min-height: 280px;
    }
}
/********** Real Estate Banner **********/
.realestate-banner {
    margin: 50px auto 0;
    padding: 0 30px;
    text-align: center;
}

.realestate-banner a {
    display: inline-block;
    width: 100%;
    max-width: 1180px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.12);
    transition: all .3s ease;
}

.realestate-banner a:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(1, 26, 65, 0.18);
}

.realestate-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

@media (max-width: 991.98px) {
    .realestate-banner {
        padding: 0 20px;
    }
}

@media (max-width: 767.98px) {
    .realestate-banner {
        margin-top: 35px;
        padding: 0 12px;
    }

    .realestate-banner a,
    .realestate-banner img {
        border-radius: 12px;
    }
}
/********** AOBA Works Page **********/
.works-page {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.works-lead {
    color: var(--tertiary);
    font-size: 1.05rem;
    line-height: 2;
}

.works-nav-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 92px;
    padding: 20px;
    border: 1px solid rgba(1, 26, 65, 0.12);
    border-radius: 18px;
    background: #ffffff;
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(1, 26, 65, 0.07);
    transition: all .3s ease;
}

.works-nav-card i {
    color: var(--primary);
    font-size: 1.3rem;
}

.works-nav-card:hover {
    transform: translateY(-4px);
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 16px 36px rgba(1, 26, 65, 0.16);
}

.works-nav-card:hover i {
    color: #ffffff;
}

.works-section {
    margin-bottom: 42px;
}

.works-category {
    position: relative;
    overflow: hidden;
    padding: 36px 32px;
    border-radius: 22px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(1, 26, 65, 0.14);
}

.works-category::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.works-category span {
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.works-category h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.works-category p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
    font-weight: 500;
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.works-item {
    display: flex;
    gap: 22px;
    padding: 28px;
    border: 1px solid rgba(1, 26, 65, 0.10);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(1, 26, 65, 0.07);
    transition: all .3s ease;
}

.works-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(1, 26, 65, 0.12);
}

.works-item-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 1.35rem;
}

.works-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(11, 44, 74, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.works-item h3 {
    margin-bottom: 10px;
    font-size: 1.45rem;
}

.works-area {
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
}

.works-area i {
    margin-right: 7px;
}

.works-desc {
    margin-bottom: 0;
    color: var(--tertiary);
    line-height: 1.85;
}

.works-feature {
    padding: 36px;
    border-radius: 22px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(1, 26, 65, 0.16);
}

.works-feature h3 {
    color: #ffffff;
}

.works-feature p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
}

.works-feature-item {
    min-height: 120px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.works-feature-item strong {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.4rem;
}

.works-feature-item span {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .works-category {
        padding: 30px 26px;
    }

    .works-item {
        padding: 24px;
    }
}

@media (max-width: 767.98px) {
    .works-lead {
        font-size: 0.98rem;
        line-height: 1.85;
    }

    .works-nav-card {
        min-height: 78px;
    }

    .works-item {
        display: block;
    }

    .works-item-icon {
        margin-bottom: 18px;
    }

    .works-feature {
        padding: 28px 22px;
    }
}
/********** Service Detail Common Fix **********/
.survey-detail,
.admin-detail,
.architect-detail,
.estate-detail {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.survey-lead,
.admin-lead,
.architect-lead,
.estate-lead {
    color: #566574;
    line-height: 2;
    font-size: 1.05rem;
}

.survey-image-box,
.admin-image-box,
.architect-image-box,
.estate-image-box {
    position: relative;
    padding: 18px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.10);
}

.survey-image-box img,
.admin-image-box img,
.architect-image-box img,
.estate-image-box img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}

.survey-summary-card,
.admin-summary-card,
.architect-summary-card,
.estate-summary-card {
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.08);
}

.survey-small-title,
.admin-small-title,
.architect-small-title,
.estate-small-title {
    display: inline-block;
    margin-bottom: 12px;
    color: #566574;
    font-weight: 600;
    letter-spacing: .04em;
}

.survey-point,
.admin-point,
.architect-point,
.estate-point {
    background: #f6f9fc;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600;
    color: #0b2c4a;
}

.survey-card,
.admin-card,
.architect-card,
.estate-card {
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.07);
    transition: .25s ease;
}

.survey-card:hover,
.admin-card:hover,
.architect-card:hover,
.estate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(1, 26, 65, 0.12);
}

.survey-icon,
.admin-icon,
.architect-icon,
.estate-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #0b2c4a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.survey-feature,
.admin-feature,
.architect-feature,
.estate-feature {
    background: #0b2c4a;
    color: #ffffff;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.18);
}

.survey-feature h3,
.survey-feature p,
.admin-feature h3,
.admin-feature p,
.architect-feature h3,
.architect-feature p,
.estate-feature h3,
.estate-feature p {
    color: #ffffff;
}

.survey-feature-item,
.admin-feature-item,
.architect-feature-item,
.estate-feature-item {
    height: 100%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 22px;
}

.survey-feature-item strong,
.admin-feature-item strong,
.architect-feature-item strong,
.estate-feature-item strong {
    display: block;
    margin-bottom: 10px;
    color: #b9cde0;
    font-size: 1.5rem;
}

.survey-feature-item span,
.admin-feature-item span,
.architect-feature-item span,
.estate-feature-item span {
    color: #ffffff;
    font-weight: 600;
}


/********** Company Pages **********/
.company-page {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.company-lead {
    color: #566574;
    line-height: 2;
    font-size: 1.05rem;
}
.company-nav-card {
    min-height: 112px;
    padding: 22px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #0b2c4a;
    font-weight: 700;
    text-align: center;
    transition: .25s ease;
}
.company-nav-card:hover {
    transform: translateY(-4px);
    background: #0b2c4a;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(1, 26, 65, 0.14);
}
.company-nav-card i {
    font-size: 1.5rem;
}
.company-image-box {
    position: relative;
    padding: 18px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.10);
}
.company-image-box img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}
.company-summary-card,
.company-table-card {
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.08);
}
.company-small-title {
    display: inline-block;
    margin-bottom: 12px;
    color: #566574;
    font-weight: 600;
    letter-spacing: .04em;
}
.company-point {
    background: #f6f9fc;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600;
    color: #0b2c4a;
}
.company-table {
    margin-bottom: 0;
}
.company-table th {
    width: 26%;
    min-width: 150px;
    color: #0b2c4a;
    background: #f6f9fc;
    vertical-align: middle;
    padding: 18px;
    border-color: rgba(11, 44, 74, 0.08);
}
.company-table td {
    padding: 18px;
    border-color: rgba(11, 44, 74, 0.08);
    line-height: 1.8;
}
.president-name span {
    display: block;
    color: #566574;
    font-size: .95rem;
}
.president-name strong {
    display: block;
    color: #0b2c4a;
    font-size: 1.6rem;
}
.company-feature {
    background: #0b2c4a;
    color: #ffffff;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.18);
}
.company-feature h3,
.company-feature p {
    color: #ffffff;
}
.company-feature-item {
    height: 100%;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    padding: 22px;
}
.company-feature-item strong {
    display: block;
    margin-bottom: 10px;
    color: #b9cde0;
    font-size: 1.5rem;
}
.company-feature-item span {
    color: #ffffff;
    font-weight: 600;
}
.company-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}
.company-timeline::before {
    content: "";
    position: absolute;
    left: 118px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(11, 44, 74, 0.12);
}
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 30px;
    margin-bottom: 28px;
}
.timeline-year {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #0b2c4a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.18);
}
.timeline-content {
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.07);
}
.company-map {
    height: 100%;
    min-height: 500px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(1, 26, 65, 0.10);
}
.company-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}
.access-info p {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    line-height: 1.8;
}
.access-info i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0b2c4a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.flow-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(11, 44, 74, 0.10);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(1, 26, 65, 0.07);
}
.flow-card strong {
    color: #0b2c4a;
    display: block;
    margin-bottom: 12px;
    font-size: 1.2rem;
}
@media (max-width: 767.98px) {
    .company-summary-card,
    .company-table-card,
    .company-feature {
        padding: 26px 20px;
        border-radius: 18px;
    }
    .company-image-box img {
        min-height: 260px;
    }
    .company-timeline::before {
        left: 32px;
    }
    .timeline-item {
        grid-template-columns: 70px 1fr;
        gap: 16px;
    }
    .timeline-year {
        width: 64px;
        height: 64px;
        font-size: .95rem;
    }
    .timeline-content {
        padding: 22px;
    }
}
/* 会社情報タブの高さを固定 */
#nav-tabContent {
    min-height: 180px;
}

/* 中身を上から自然に表示 */
#nav-tabContent .tab-pane {
    min-height: 180px;
}
.aoba-nav .active-current {
    color: #FF4500 !important;
    font-weight: 800;
}
/* 下部お問い合わせCTA */
.contact-cta-section {
    background: url("../img/contact-bg.jpg") center center / cover no-repeat;
    min-height: 360px;
    position: relative;
    margin-top: 80px;
}

.contact-cta-overlay {
    width: 100%;
    min-height: 360px;
    background: rgba(0, 120, 170, 0.35);
    display: flex;
    align-items: center;
}

.contact-cta-box {
    color: #fff;
    padding: 70px 15px;
}

.contact-cta-box h2 {
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-cta-lead {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 28px;
}

.contact-cta-tel {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-cta-time {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
}

.contact-cta-btn {
    display: inline-block;
    background: #fff;
    color: #0B2C4A;
    font-weight: 800;
    border-radius: 999px;
    padding: 14px 42px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: 0.3s;
}

.contact-cta-btn:hover {
    background: #0B2C4A;
    color: #fff;
}

@media (max-width: 767px) {
    .contact-cta-section,
    .contact-cta-overlay {
        min-height: 300px;
    }

    .contact-cta-box {
        padding: 55px 15px;
    }

    .contact-cta-box h2 {
        font-size: 40px;
    }

    .contact-cta-lead,
    .contact-cta-tel,
    .contact-cta-time {
        font-size: 16px;
    }

    .contact-cta-btn {
        padding: 12px 32px;
    }
}

/* 事業内容下の特徴ブロック */
.service-feature-box {
    padding: 30px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
}

.service-feature-item .icon-circle {
    width: 58px;
    height: 58px;
    min-width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #153554;
    color: #fff;
    font-size: 20px;
}

.service-feature-item .text-box {
    flex: 1;
}

.service-feature-item h4 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0d2d52;
}

.service-feature-item span {
    display: block;
    line-height: 1.8;
    color: #555;
}

.service-feature-divider {
    border-right: 1px solid #dbe3ec;
}
/* 事業内容 上部3特徴ブロック 外枠強制 */
.service .feature-panel {
    background: #fff !important;
    border: 1px solid #d8e1ef !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-top: 25px !important;
    box-shadow: none !important;
}

.service .service-feature-divider {
    border-right: 1px solid #d8e1ef !important;
}

@media (max-width: 991px) {
    .service .service-feature-divider {
        border-right: none !important;
        border-bottom: 1px solid #d8e1ef !important;
        padding-bottom: 20px;
    }
}

/* =========================
   お問い合わせフォーム
   プライバシーポリシー同意欄
========================= */
.privacy-consent-box {
    display: grid;
    grid-template-columns: 120px 1fr;
    border: 1px solid #dce3ea;
    background: #f7f8fa;
    color: #4c5967;
}

.privacy-consent-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 14px;
    border-right: 1px solid #dce3ea;
    font-weight: 600;
    background: #ffffff;
}

.privacy-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    background: #e93c05;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.privacy-consent-content {
    padding: 18px 22px;
}

.privacy-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    line-height: 1.7;
}

.privacy-consent-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex: 0 0 auto;
    accent-color: var(--primary);
    cursor: pointer;
}

.privacy-consent-check a,
.privacy-consent-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-consent-link {
    margin: 12px 0 0 28px;
    color: #e57b22;
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .privacy-consent-box {
        grid-template-columns: 1fr;
    }

    .privacy-consent-title {
        justify-content: flex-start;
        padding: 13px 16px;
        border-right: 0;
        border-bottom: 1px solid #dce3ea;
    }

    .privacy-consent-content {
        padding: 16px;
    }

    .privacy-consent-link {
        margin-left: 28px;
    }
}

