
/*** Spinner Start ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


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

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

.btn-xl-square {
    width: 66px;
    height: 66px;
}

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

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

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

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

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

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

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

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-light);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-white);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
/*** copyright end ***/


/* PROBLEMセクションのh2サイズ調整 */
.about-item-content h2.display-4 {
    font-size: 28px;      /* ←ここでサイズ調整 */
    line-height: 1.4;
    font-weight: 700;
}

/* スマホ時はさらに小さく */
@media (max-width: 768px) {
    .about-item-content h2.display-4 {
        font-size: 22px;
    }
}
.about-item-content h2.display-4 {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.about-item-content h4.text-primary {
    display: inline-block;
    background: #f88379; /* サーモンピンク */
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
/* =========================
   FLOW Section
========================= */
.flow-section {
    background: #edf3f7;
}

.flow-label {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #cfdceb;
    border-radius: 999px;
    background: #f7fbff;
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.flow-title {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 800;
    color: #173258;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.flow-lead {
    font-size: 18px;
    line-height: 1.9;
    color: #6d86a3;
    margin-bottom: 0;
}

.flow-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    gap: 18px;
    align-items: center;
}

.flow-card {
    background: #fff;
    border: 1px solid #dfe9f2;
    border-radius: 24px;
    padding: 34px 24px 30px;
    min-height: 255px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(23, 50, 88, 0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.flow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(23, 50, 88, 0.08);
}

.flow-step-no {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffb11f 0%, #f59a00 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 58px;
    box-shadow: 0 8px 20px rgba(245, 154, 0, 0.25);
}

.flow-card h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    color: #173258;
    margin-bottom: 14px;
}

.flow-card p {
    font-size: 16px;
    line-height: 1.9;
    color: #6d86a3;
    margin-bottom: 0;
}

.flow-arrow {
    font-size: 34px;
    font-weight: 700;
    color: #f59a00;
    line-height: 1;
    transform: translateY(-8px);
}

/* 1400px以下 */
@media (max-width: 1399px) {
    .flow-title {
        font-size: 48px;
    }

    .flow-card {
        padding: 30px 20px 26px;
    }

    .flow-card h3 {
        font-size: 20px;
    }

    .flow-card p {
        font-size: 15px;
    }
}

/* タブレット */
@media (max-width: 991px) {
    .flow-title {
        font-size: 40px;
    }

    .flow-lead {
        font-size: 16px;
    }

    .flow-steps {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .flow-arrow {
        display: none;
    }

    .flow-card {
        min-height: auto;
    }
}

/* スマホ */
@media (max-width: 575px) {
    .flow-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .flow-title {
        font-size: 32px;
    }

    .flow-label {
        font-size: 12px;
        padding: 7px 14px;
        margin-bottom: 14px;
    }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .flow-card {
        border-radius: 20px;
        padding: 26px 18px 22px;
    }

    .flow-step-no {
        width: 52px;
        height: 52px;
        line-height: 52px;
        font-size: 24px;
        margin-bottom: 18px;
    }

    .flow-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .flow-card p {
        font-size: 15px;
        line-height: 1.8;
    }
}
/* =========================
   CASE STUDY Section
========================= */
.case-study-section {
    background: #edf3f7;
}

.case-study-label {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #cfdceb;
    border-radius: 999px;
    background: #f7fbff;
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.case-study-title {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 800;
    color: #173258;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.case-study-lead {
    font-size: 18px;
    line-height: 1.9;
    color: #6d86a3;
    margin-bottom: 0;
}

.case-study-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.case-study-left {
    display: grid;
    gap: 20px;
}

.case-card {
    background: #ffffff;
    border: 1px solid #dbe6f0;
    border-radius: 26px;
    padding: 26px 28px;
    box-shadow: 0 10px 28px rgba(23, 50, 88, 0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(23, 50, 88, 0.08);
}

.case-card-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

.case-card-type {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #49b8ff 0%, #2c9fff 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(44, 159, 255, 0.22);
}

.case-card h3 {
    margin: 4px 0 0;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 800;
    color: #173258;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding-left: 110px;
}

.case-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f3f8fc;
    border: 1px solid #d5e3f0;
    color: #1277d6;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.case-card p {
    margin: 0;
    padding-left: 110px;
    font-size: 16px;
    line-height: 1.95;
    color: #6d86a3;
}

.case-study-right {
    height: 100%;
}

.case-study-panel {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(135deg, #173b66 0%, #1f4e83 100%);
    border-radius: 32px;
    padding: 42px 28px 34px;
    box-shadow: 0 18px 45px rgba(20, 55, 95, 0.16);
}

.case-study-panel::before,
.case-study-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.case-study-panel::before {
    width: 180px;
    height: 180px;
    right: -38px;
    top: -22px;
    background: rgba(255, 255, 255, 0.10);
}

.case-study-panel::after {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -90px;
    background: rgba(255, 255, 255, 0.06);
}

.case-study-panel > * {
    position: relative;
    z-index: 2;
}

.case-study-panel h3 {
    font-size: 50px;
    line-height: 1.35;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.case-study-panel p {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 26px;
}

.case-study-points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 12px;
}

.case-study-points li {
    position: relative;
    padding: 16px 18px 16px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.case-study-points li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.case-study-btn {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffb11f 0%, #f39a00 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(243, 154, 0, 0.28);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.case-study-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(243, 154, 0, 0.34);
    opacity: 0.96;
}

/* 1399px以下 */
@media (max-width: 1399px) {
    .case-study-title {
        font-size: 48px;
    }

    .case-study-panel h3 {
        font-size: 40px;
    }
}

/* 1199px以下 */
@media (max-width: 1199px) {
    .case-study-grid {
        grid-template-columns: 1fr;
    }

    .case-study-panel {
        min-height: auto;
    }
}

/* 991px以下 */
@media (max-width: 991px) {
    .case-study-title {
        font-size: 40px;
    }

    .case-study-lead {
        font-size: 16px;
    }

    .case-card {
        padding: 22px 22px;
    }

    .case-card-head {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 14px;
    }

    .case-card-type {
        min-width: auto;
        padding: 9px 16px;
    }

    .case-card h3 {
        margin-top: 0;
        font-size: 22px;
    }

    .case-tags,
    .case-card p {
        padding-left: 0;
    }

    .case-study-panel {
        padding: 34px 24px 28px;
    }

    .case-study-panel h3 {
        font-size: 34px;
    }
}

/* 575px以下 */
@media (max-width: 575px) {
    .case-study-title {
        font-size: 32px;
    }

    .case-study-label {
        font-size: 12px;
        padding: 7px 14px;
        margin-bottom: 14px;
    }

    .case-card {
        border-radius: 22px;
        padding: 20px 18px;
    }

    .case-card h3 {
        font-size: 20px;
        line-height: 1.5;
    }

    .case-tags {
        gap: 8px;
        margin-bottom: 14px;
    }

    .case-tags span {
        font-size: 13px;
        min-height: 32px;
        padding: 7px 12px;
    }

    .case-card p {
        font-size: 15px;
        line-height: 1.85;
    }

    .case-study-panel {
        border-radius: 24px;
        padding: 28px 18px 22px;
    }

    .case-study-panel h3 {
        font-size: 28px;
        line-height: 1.45;
        margin-bottom: 18px;
    }

    .case-study-panel p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .case-study-points li {
        padding: 14px 14px 14px 36px;
        font-size: 14px;
    }

    .case-study-points li::before {
        left: 14px;
        top: 12px;
        font-size: 18px;
    }

    .case-study-btn {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-radius: 16px;
        font-size: 15px;
    }
}
/* =========================
   PARTNER CTA Section
========================= */
.partner-cta-section {
    background: #edf3f7;
}

.partner-cta-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #dbe6f0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(23, 50, 88, 0.05);
}

.partner-cta-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(
        90deg,
        #f39a00 0%,
        #f39a00 22%,
        #7aa66f 52%,
        #2c9fff 100%
    );
}

.partner-cta-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 56px 30px 46px;
    text-align: center;
}

.partner-cta-title {
    margin: 0 0 22px;
    font-size: 52px;
    line-height: 1.25;
    font-weight: 800;
    color: #173258;
    letter-spacing: 0.01em;
}

.partner-cta-text {
    margin: 0 auto 28px;
    font-size: 18px;
    line-height: 2;
    color: #6d86a3;
}

.partner-cta-text span {
    color: #ff2a2a;
    font-weight: 800;
}

.partner-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 360px;
    padding: 20px 34px;
    border-radius: 20px;
    background: linear-gradient(180deg, #1d446f 0%, #183b63 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(24, 59, 99, 0.22);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.partner-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(24, 59, 99, 0.28);
    opacity: 0.98;
}

/* 1399px以下 */
@media (max-width: 1399px) {
    .partner-cta-title {
        font-size: 44px;
    }
}

/* 991px以下 */
@media (max-width: 991px) {
    .partner-cta-inner {
        padding: 46px 24px 38px;
    }

    .partner-cta-title {
        font-size: 36px;
    }

    .partner-cta-text {
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 24px;
    }

    .partner-cta-btn {
        min-width: 300px;
        padding: 18px 26px;
        font-size: 16px;
        border-radius: 18px;
    }
}

/* 575px以下 */
@media (max-width: 575px) {
    .partner-cta-box {
        border-radius: 22px;
    }

    .partner-cta-box::before {
        height: 5px;
    }

    .partner-cta-inner {
        padding: 34px 18px 28px;
    }

    .partner-cta-title {
        font-size: 28px;
        line-height: 1.45;
        margin-bottom: 16px;
    }

    .partner-cta-text {
        font-size: 15px;
        line-height: 1.85;
        margin-bottom: 20px;
    }

    .partner-cta-btn {
        width: 100%;
        min-width: 0;
        padding: 16px 18px;
        font-size: 15px;
        border-radius: 16px;
    }
}
/* =========================
   FAQ Section
========================= */
.faq-section {
    background: #edf3f7;
}

.faq-label {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #cfdceb;
    border-radius: 999px;
    background: #f7fbff;
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.faq-title {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 800;
    color: #173258;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.faq-lead {
    font-size: 18px;
    line-height: 1.9;
    color: #6d86a3;
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #dbe6f0;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(23, 50, 88, 0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(23, 50, 88, 0.07);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px 24px 20px;
    cursor: pointer;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-q {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffb11f 0%, #f39a00 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 42px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(243, 154, 0, 0.22);
}

.faq-question {
    flex: 1 1 auto;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 800;
    color: #173258;
}

.faq-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    position: relative;
    margin-left: 14px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #173258;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
}

.faq-icon::before {
    width: 16px;
    height: 2.5px;
}

.faq-icon::after {
    width: 2.5px;
    height: 16px;
}

.faq-item[open] .faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.2);
}

.faq-answer {
    padding: 0 28px 24px 80px;
    border-top: 1px solid #e6eef5;
    font-size: 17px;
    line-height: 2;
    color: #6d86a3;
}

/* 1399px以下 */
@media (max-width: 1399px) {
    .faq-title {
        font-size: 48px;
    }
}

/* 991px以下 */
@media (max-width: 991px) {
    .faq-title {
        font-size: 40px;
    }

    .faq-lead {
        font-size: 16px;
    }

    .faq-item summary {
        gap: 14px;
        padding: 20px 20px 20px 16px;
    }

    .faq-q {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 21px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        padding: 0 20px 20px 68px;
        font-size: 15px;
        line-height: 1.9;
    }
}

/* 575px以下 */
@media (max-width: 575px) {
    .faq-title {
        font-size: 32px;
    }

    .faq-label {
        font-size: 12px;
        padding: 7px 14px;
        margin-bottom: 14px;
    }

    .faq-item {
        border-radius: 20px;
    }

    .faq-item summary {
        gap: 12px;
        padding: 18px 16px 18px 14px;
        align-items: flex-start;
    }

    .faq-q {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 18px;
        flex-basis: 34px;
    }

    .faq-question {
        font-size: 16px;
        line-height: 1.6;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        margin-left: 8px;
    }

    .faq-answer {
        padding: 0 16px 18px 60px;
        font-size: 14px;
        line-height: 1.85;
    }
}
/* =========================
   FULL WIDTH CTA
========================= */
.full-cta {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    background: linear-gradient(135deg, #ff8c00 0%, #ffb347 100%);
    overflow: hidden;
}

/* 背景の丸（装飾） */
.full-cta::before,
.full-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    z-index: 1;
}

.full-cta::before {
    width: 280px;
    height: 280px;
    left: -80px;
    top: -80px;
}

.full-cta::after {
    width: 340px;
    height: 340px;
    right: -120px;
    bottom: -120px;
}

/* 中央コンテンツ */
.full-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* 見出し */
.full-cta h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* 説明文 */
.full-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.9;
    margin-bottom: 40px;
}

/* ボタンエリア */
.full-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* メインボタン */
.cta-main {
    background: #173258;
    color: #fff;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(23,50,88,0.25);
    transition: all .2s ease;
}

.cta-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(23,50,88,0.3);
}

/* サブボタン */
.cta-sub {
    background: #fff;
    color: #1f4e83;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.cta-sub:hover {
    background: #f3f8fc;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 991px) {
    .full-cta {
        padding: 80px 20px;
    }

    .full-cta h2 {
        font-size: 36px;
    }

    .full-cta p {
        font-size: 16px;
    }

    .cta-main,
    .cta-sub {
        font-size: 16px;
        padding: 16px 24px;
    }
}

@media (max-width: 575px) {
    .full-cta {
        padding: 60px 16px;
    }

    .full-cta h2 {
        font-size: 26px;
    }

    .full-cta p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .full-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-main,
    .cta-sub {
        width: 100%;
        text-align: center;
    }
}
/* =========================
   FREE ASSESSMENT Section
========================= */
.assessment-section {
    background: #edf3f7;
}

.assessment-label {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #cfdceb;
    border-radius: 999px;
    background: #f7fbff;
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.assessment-title {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 800;
    color: #173258;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.assessment-lead {
    font-size: 18px;
    line-height: 1.9;
    color: #6d86a3;
    margin-bottom: 0;
}

.assessment-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: stretch;
}

.assessment-info {
    min-width: 0;
}

.assessment-info-inner {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(135deg, #34a8f0 0%, #68c7ef 100%);
    border-radius: 32px;
    padding: 42px 28px 34px;
    box-shadow: 0 16px 40px rgba(52, 168, 240, 0.16);
}

.assessment-info-inner::before,
.assessment-info-inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.assessment-info-inner::before {
    width: 180px;
    height: 180px;
    right: -38px;
    top: -22px;
    background: rgba(255, 255, 255, 0.12);
}

.assessment-info-inner::after {
    width: 240px;
    height: 240px;
    left: -80px;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.08);
}

.assessment-info-inner > * {
    position: relative;
    z-index: 2;
}

.assessment-info h3 {
    margin: 0 0 22px;
    font-size: 54px;
    line-height: 1.35;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.assessment-info p {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
}

.assessment-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.assessment-points li {
    position: relative;
    padding: 16px 18px 16px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.assessment-points li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.assessment-form-wrap {
    min-width: 0;
}

.assessment-form {
    background: #fffdfb;
    border: 1px solid #dbe6f0;
    border-radius: 32px;
    padding: 32px 28px 28px;
    box-shadow: 0 16px 40px rgba(23, 50, 88, 0.05);
}

.assessment-row {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.assessment-row-2 {
    grid-template-columns: 1fr 1fr;
}

.assessment-field {
    min-width: 0;
}

.assessment-field label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    color: #173258;
}

.assessment-field input,
.assessment-field select,
.assessment-field textarea {
    width: 100%;
    appearance: none;
    border: 1px solid #d7e3ee;
    border-radius: 18px;
    background: #fdfdfd;
    padding: 16px 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #173258;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.assessment-field input::placeholder,
.assessment-field textarea::placeholder {
    color: #9aa8b8;
}

.assessment-field input:focus,
.assessment-field select:focus,
.assessment-field textarea:focus {
    border-color: #7abcf2;
    box-shadow: 0 0 0 4px rgba(52, 168, 240, 0.14);
    background: #ffffff;
}

.assessment-field select {
    background-image:
        linear-gradient(45deg, transparent 50%, #173258 50%),
        linear-gradient(135deg, #173258 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.assessment-field textarea {
    min-height: 140px;
    resize: vertical;
}

.assessment-note {
    margin: 6px 0 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #6d86a3;
}

.assessment-submit {
    width: 100%;
    border: none;
    border-radius: 18px;
    background: linear-gradient(180deg, #ff9f0a 0%, #f39a00 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    padding: 20px 24px;
    box-shadow: 0 16px 28px rgba(243, 154, 0, 0.22);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.assessment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(243, 154, 0, 0.28);
    opacity: 0.98;
}

/* 1399px以下 */
@media (max-width: 1399px) {
    .assessment-title {
        font-size: 48px;
    }

    .assessment-info h3 {
        font-size: 44px;
    }
}

/* 1199px以下 */
@media (max-width: 1199px) {
    .assessment-grid {
        grid-template-columns: 1fr;
    }

    .assessment-info-inner,
    .assessment-form {
        border-radius: 28px;
    }
}

/* 991px以下 */
@media (max-width: 991px) {
    .assessment-title {
        font-size: 40px;
    }

    .assessment-lead {
        font-size: 16px;
    }

    .assessment-info-inner {
        padding: 34px 24px 28px;
    }

    .assessment-info h3 {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .assessment-info p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .assessment-form {
        padding: 26px 22px 22px;
    }

    .assessment-row-2 {
        grid-template-columns: 1fr;
    }
}

/* 575px以下 */
@media (max-width: 575px) {
    .assessment-title {
        font-size: 32px;
    }

    .assessment-label {
        font-size: 12px;
        padding: 7px 14px;
        margin-bottom: 14px;
    }

    .assessment-info-inner {
        border-radius: 24px;
        padding: 28px 18px 22px;
    }

    .assessment-info h3 {
        font-size: 28px;
        line-height: 1.45;
    }

    .assessment-info p {
        font-size: 15px;
        line-height: 1.85;
    }

    .assessment-points li {
        padding: 14px 14px 14px 36px;
        font-size: 14px;
    }

    .assessment-points li::before {
        left: 14px;
        top: 12px;
        font-size: 18px;
    }

    .assessment-form {
        border-radius: 24px;
        padding: 22px 16px 18px;
    }

    .assessment-row {
        gap: 14px;
        margin-bottom: 14px;
    }

    .assessment-field label {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .assessment-field input,
    .assessment-field select,
    .assessment-field textarea {
        border-radius: 16px;
        padding: 14px 14px;
        font-size: 15px;
    }

    .assessment-note {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .assessment-submit {
        border-radius: 16px;
        font-size: 16px;
        padding: 17px 18px;
    }
}
/* ナビリンクを改行させない */
.navbar-nav .nav-link {
    white-space: nowrap;
    color: #1f2d3d !important; /* 濃いネイビー */
    font-weight: 600;
    font-size: 15px;
    padding: 0 14px !important;
}

/* ホバー時 */
.navbar-nav .nav-link:hover {
    color: #1ea7ff !important;
}

/* ナビ全体のレイアウト安定 */
.navbar-nav {
    align-items: center;
    flex-wrap: nowrap; /* ←これ重要 */
}

/* ナビの横幅調整（中央寄せ維持しつつ広げる） */
.navbar .container {
    max-width: 1200px;
}

/* ボタンのはみ出し防止 */
.nav-btn {
    white-space: nowrap;
}

/* CTAボタン微調整 */
.nav-btn .btn {
    font-size: 14px;
    padding: 10px 20px;
}
/* ナビのCTAボタン（オレンジ化） */
.nav-btn .btn-primary {
    background: linear-gradient(135deg, #ff8a00, #ffb347);
    border: none;
    color: #fff !important;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(255, 138, 0, 0.3);
    transition: all 0.2s ease;
}

/* ホバー */
.nav-btn .btn-primary:hover {
    background: linear-gradient(135deg, #ff7a00, #ffa733);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 138, 0, 0.4);
}

/* 押したとき */
.nav-btn .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 138, 0, 0.3);
}
/* HOME〜FAQを囲む */
.nav-menu-wrap {
    background: #f3f6f9;
    border-radius: 40px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 各リンクの見た目調整 */
.nav-menu-wrap .nav-link {
    padding: 8px 14px !important;
    border-radius: 20px;
    transition: all 0.2s ease;
}

/* ホバーでほんのり強調 */
.nav-menu-wrap .nav-link:hover {
    background: rgba(30, 167, 255, 0.08);
}

/* アクティブ */
.nav-menu-wrap .nav-link.active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
/* 全体の本文を少し濃く */
p {
    color: #2f3e50;
}
/* フッター内のテキスト全部 */
.footer {
    color: rgba(255,255,255,0.85);
}

/* 見出しは完全白 */
.footer h4 {
    color: #ffffff;
}

/* 説明文 */
.footer p {
    color: rgba(255,255,255,0.85);
}

/* Hero内の本文だけ白に戻す */
.header-carousel .carousel-caption p {
    color: #ffffff !important;
}

/* 全体 */
.service-vertical {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 1行 */
.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 画像 */
.service-img-box {
    flex: 0 0 220px;
}

.service-img-box img {
    width: 100%;
    border-radius: 16px;
}

/* テキスト */
.service-text h3 {
    font-size: 26px;
    font-weight: 800;
    color: #173258;
    margin-bottom: 14px;
}

.service-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #445c73;
}

/* 交互レイアウト（ちょいオシャレ） */
.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* スマホ */
@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        text-align: center;
    }

    .service-row:nth-child(even) {
        flex-direction: column;
    }

    .service-img-box {
        width: 100%;
        max-width: 280px;
    }
}
.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.service-img-box {
    flex: 0 0 180px;
}

.service-text {
    flex: 1;
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}
/* =========================
   REASON Section
========================= */
.reason-section {
    background: #edf3f7;
}

.reason-title {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 800;
    color: #173258;
    letter-spacing: 0.02em;
}

.reason-lead {
    font-size: 18px;
    line-height: 1.9;
    color: #4a6178;
}

.reason-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.reason-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #dbe6f0;
    border-radius: 26px;
    padding: 34px 28px 28px;
    box-shadow: 0 10px 30px rgba(23, 50, 88, 0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(23, 50, 88, 0.08);
}

.reason-badge {
    position: absolute;
    top: 0;
    right: 24px;
    transform: translateY(-50%);
    display: inline-block;
    min-width: 120px;
    text-align: center;
    padding: 10px 18px;
    border-radius: 12px 12px 0 0;
    background: #0f67d1;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.reason-card h3 {
    font-size: 34px;
    line-height: 1.35;
    font-weight: 800;
    color: #173258;
    margin-bottom: 18px;
    padding-top: 8px;
}

.reason-card p {
    font-size: 17px;
    line-height: 2;
    color: #445c73;
    margin-bottom: 0;
}

/* タブレット */
@media (max-width: 991px) {
    .reason-title {
        font-size: 42px;
    }

    .reason-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .reason-card h3 {
        font-size: 28px;
    }

    .reason-card p {
        font-size: 16px;
        line-height: 1.9;
    }
}

/* スマホ */
@media (max-width: 575px) {
    .reason-title {
        font-size: 32px;
    }

    .reason-lead {
        font-size: 16px;
    }

    .reason-card {
        border-radius: 22px;
        padding: 30px 18px 22px;
    }

    .reason-badge {
        right: 18px;
        min-width: 102px;
        font-size: 14px;
        padding: 9px 14px;
    }

    .reason-card h3 {
        font-size: 23px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .reason-card p {
        font-size: 15px;
        line-height: 1.85;
    }
}

.about-item-content > p:first-of-type {
    margin-bottom: 22px;
    line-height: 1.95;
}

.about-item-content .text-dark {
    margin-bottom: 12px;
}
.area-highlight-wrap {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.area-highlight-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 40px;
  max-width: 700px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 2px solid #1ea7ff;
  position: relative;
}

.area-badge {
  display: inline-block;
  background: #1ea7ff;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.area-highlight-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.area-text {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.compare-section {
  margin: 60px 0;
}

.compare-heading {
  text-align: center;
  margin-bottom: 24px;
}

.compare-heading h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  color: #222;
}

.compare-heading p {
  margin: 0;
  font-size: 15px;
  color: #666;
}

.compare-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.compare-table thead th {
  background: #1ea7ff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid #d9eaf7;
}

.compare-table tbody th {
  background: #f7fbff;
  color: #222;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid #e3edf5;
  width: 25%;
}

.compare-table tbody td {
  font-size: 15px;
  color: #444;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid #e3edf5;
  background: #fff;
}

.compare-table tbody tr:nth-child(even) td {
  background: #fcfdff;
}

@media (max-width: 768px) {
  .compare-heading h2 {
    font-size: 24px;
  }

  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    font-size: 14px;
    padding: 12px 10px;
  }
}
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.case-study-left,
.case-study-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-card {
  height: 100%;
}

.case-study-cta-wrap {
  max-width: 100%;
  margin: 40px auto 0;
}

.case-study-panel {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-cta-wrap {
    margin-top: 24px;
  }
}

/* =========================
   CASE STUDY Photo Layout Add
   買取り事例：外観写真付きカード
========================= */
.case-card-with-photo .case-card-head {
    align-items: center;
    margin-bottom: 18px;
}

.case-card-content {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.case-card-photo {
    width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #edf3f7;
    border: 1px solid #dbe6f0;
    box-shadow: 0 8px 20px rgba(23, 50, 88, 0.06);
}

.case-card-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.case-card-body {
    min-width: 0;
}

.case-card-with-photo .case-tags,
.case-card-with-photo p {
    padding-left: 0;
}

.case-card-with-photo .case-tags {
    margin-bottom: 14px;
}

.case-card-with-photo hr {
    margin: 16px 0 14px;
    border: 0;
    border-top: 1px solid #d8e3ee;
    opacity: 1;
}

.case-card-with-photo .case-property-info {
    font-size: 15px;
    line-height: 1.85;
}

@media (max-width: 767px) {
    .case-card-content {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 16px;
    }

    .case-card-photo {
        width: 120px;
        border-radius: 12px;
    }
}

@media (max-width: 575px) {
    .case-card-content {
        grid-template-columns: 1fr;
    }

    .case-card-photo {
        width: 100%;
        max-width: 220px;
    }
}


/* =========================
   Contact Form Operation Add
   2フォーム稼働用・業務提携フォーム色分け
========================= */
.form-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form-switch {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe6f0;
    box-shadow: 0 10px 25px rgba(23, 50, 88, 0.06);
    color: #526b86;
    font-weight: 700;
}

.contact-form-switch a {
    color: #015fc9;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.partnership-switch a {
    color: #1f5f86;
}

.partnership-form-grid .assessment-info-inner {
    background: linear-gradient(135deg, #1f5f86 0%, #3d7f9c 55%, #6fa7bf 100%);
    box-shadow: 0 16px 40px rgba(31, 95, 134, 0.18);
}

.partnership-form-grid .assessment-info-inner::before {
    background: rgba(255, 255, 255, 0.10);
}

.partnership-form-grid .assessment-info-inner::after {
    background: rgba(255, 255, 255, 0.07);
}

.partnership-form .assessment-field input:focus,
.partnership-form .assessment-field select:focus,
.partnership-form .assessment-field textarea:focus {
    border-color: #6fa7bf;
    box-shadow: 0 0 0 4px rgba(31, 95, 134, 0.13);
}

.partnership-form .assessment-submit {
    background: linear-gradient(180deg, #f3a21b 0%, #dc8f0b 100%);
}

@media (max-width: 575px) {
    .contact-form-switch {
        width: 100%;
        border-radius: 18px;
        padding: 12px 14px;
    }
}
