@charset "utf-8";
#gb_corporate {
    display: none;
}

#gb_inner,
#gb_inner div,
#gb_inner span,
#gb_inner p,
#gb_inner h1,
#gb_inner h2,
#gb_inner h3,
#gb_inner h4,
#gb_inner a,
#gb_inner a:link,
#gb_inner ul,
#gb_inner li,
#gb_menu_box,
#gb_menu_box div,
#gb_menu_box span,
#gb_menu_box p,
#gb_menu_box h1,
#gb_menu_box h2,
#gb_menu_box h3,
#gb_menu_box h4,
#gb_menu_box a,
#gb_menu_box a:link,
#gb_menu_box ul,
#gb_menu_box li {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    font-feature-settings: normal !important;
    line-height: inherit;
}

#gb_menu_sublink,
#gb_menu_sublink .sublink_title,
#gb_menu_sublink .sublink_title a {
    font-size: 11px;
}

#gb_menu_sublink .sublink_title a p {
    font-size: 13px;
}

@media screen and (min-width: 768px) {
    #gb_header.gbm-corporate_sub #gb_corporate {
        width: 100%;
        top: 81px;
        position: absolute;
        background-color: rgba(255, 255, 255, 0.7);
        display: block;
    }
    #gb_header.gbm-header_bottom+div {
        margin-top: 81px;
    }
    /* PC表示の際に、メガメニュー領域を強制的に非表示にする */
    .gb_menu-overlay {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    /* サブメニュー用の「+」ボタン関連のスタイルを削除 */
    #gb_header #gbm08 {
        padding-right: 0;
    }
    #gb_header #gbm08 a {
        width: 100%;
        padding-left: 5px;
    }
    #gb_header.gbm-header_bottom+div {
        margin-top: 52px;
    }
    #gb_menu ul li a {
        font-size: 10px;
    }
}

#gb_corporate ul {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url(https://www.misawa.co.jp/gbm/images/ico/dotted_line.png) no-repeat left center;
}

#gb_corporate li {
    background: url(https://www.misawa.co.jp/gbm/images/ico/dotted_line.png) no-repeat right center;
    text-align: center;
    width: 16.6%;
}

#gb_corporate li a {
    display: block;
    padding: 10px 0;
    cursor: pointer;
}

#gb_corporate li a:hover {
    background-color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

body {
    position: relative;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

@media screen and (min-width: 768px) {
    #gb_header a {
        color: #000;
    }
}

@media screen and (max-width: 767px) {
    #gb_header a {
        color: #000;
    }
}

#gb_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    -webkit-transition: top .3s ease, opacity .2s ease, background-color .3s ease, border-bottom-color .3s ease;
    transition: top .3s ease, opacity .2s ease, background-color .3s ease, border-bottom-color .3s ease;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#gb_header .gb_inner {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#gb_header .gb_logo {
    width: 122px;
}

#gb_header .gb_logo img {
    width: 122px;
}

#gb_header li {
    list-style: none;
}

@media screen and (max-width: 767px) {
    #gb_header .gb_inner {
        width: 100%;
        height: auto;
        min-height: 50px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }
    #gb_header .gb_logo {
        width: auto;
        padding: 10px 0 14px 3%;
    }
    #gb_header .gb_logo img {
        width: 100%;
        max-width: 78px;
    }
}


/*================================
color change
================================*/

.onheader {
    background: #fff;
    border-bottom: 1px solid #ececec;
    -webkit-transition: top .3s ease, opacity .2s ease, background-color .3s ease, border-bottom-color .3s ease;
    transition: top .3s ease, opacity .2s ease, background-color .3s ease, border-bottom-color .3s ease;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.onheader a {
    color: #333333 !important;
    text-decoration: none;
}

.onheader .logo_w {
    display: none;
}

.onheader .logo_blue {
    display: block;
}

.logo_blue {
    display: none;
}


/*menu下線表示*/

#gb_menu {
    font-size: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 0 0;
    list-style: none;
    text-align: center;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}

#gb_menu {
    display: inline-block;
}

#gb_menu li {
    text-decoration: none;
    padding-bottom: 30px;
    color: #000;
    display: block;
    position: relative;
}

#gb_menu li.current a {
    color: #0d84c8 !important;
}

#gb_menu li:before {
    content: '';
    width: 0;
    left: 10%;
    bottom: 0;
    transition: none;
    border-bottom: 3px solid #205799;
    position: absolute;
    display: block;
}

#gb_menu li.isHov:before {
    width: 50%;
    border-bottom: 3px solid #205799;
    transition: all 0.15s ease-in;
}

#gb_menu li:after {
    content: '';
    width: 0;
    right: 10%;
    bottom: 0;
    transition: none;
    border-bottom: 3px solid #205799;
    position: absolute;
    display: block;
}

#gb_menu li.isHov:after {
    width: 50%;
    border-bottom: 3px solid #205799;
    transition: all 0.15s ease-in;
}

#gb_menu li .sp {
    display: none;
}

#gb_nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: column;
    height: inherit;
    line-height: 1.5;
}

#gb_nav button {
    display: none;
}

@media screen and (max-width: 767px) {
    #gb_nav {
        flex-direction: column-reverse;
        width: 100%;
        background-color: #fff;
    }
    #gb_nav button {
        margin: 0;
        padding: 0;
        outline: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: inherit;
        vertical-align: middle;
        text-align: inherit;
        font: inherit;
        -webkit-appearance: none;
        appearance: none;
    }
    #gb_nav .btn {
        position: fixed;
        top: 8px;
        right: 16px;
        z-index: 10;
        width: 48px;
        height: 36px;
    }
    #gb_nav .btn-line {
        display: block;
        position: relative;
        width: 100%;
        height: 4px;
        background-color: #d6d5d5;
        transition: .2s;
    }
    #gb_nav .btn-line::before,
    #gb_nav .btn-line::after {
        content: "";
        position: absolute;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #d6d5d5;
        transition: .5s;
    }
    #gb_nav .btn-line::before {
        transform: translateY(-16px);
    }
    #gb_nav .btn-line::after {
        transform: translateY(16px);
    }
    #gb_nav .btn-line.open {
        background-color: transparent;
    }
    #gb_nav .btn-line.open::before,
    #gb_nav .btn-line.open::after {
        content: "";
        background-color: #333;
        transition: .2s;
    }
    #gb_nav .btn-line.open::before {
        transform: rotate(45deg);
    }
    #gb_nav .btn-line.open::after {
        transform: rotate(-45deg);
    }
    #gb_menu li:before,
    #gb_menu li:hover:before,
    #gb_menu li:after,
    #gb_menu li:hover:after {
        border-bottom: none;
    }
}


/*================================
NAVI TEXT link
================================*/

#gb_logo {
    padding-top: 0;
}

#gb_logo a,
#gb_link li a {
    display: block;
}

#gb_link li a:hover {
    opacity: 0.6;
}

#gb_link {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    font-size: 11px;
    padding: 15px 0 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}

#gb_link li {
    padding: 0 15px;
    list-style: none;
}

#gb_link li span {
    font-size: 10px;
}

#gb_link li span.sp {
    display: none;
}

#gb_link li:last-child {
    background: url(https://www.misawa.co.jp/gbm/images/header_link_line.png) no-repeat left center;
    padding-right: 0;
}

@media screen and (max-width: 767px) {
    #gb_link {
        flex-wrap: wrap;
        width: 90%;
        margin: auto;
        justify-content: space-between;
        border-top: 1px solid #ccc;
        padding: 20px 0 0;
    }
    #gb_link li {
        width: 43%;
        text-align: left;
        padding: 0 0 0 22px;
        margin-bottom: 25px;
    }
    #gb_link li:nth-child(1) {
        order: 2;
        background: url(https://www.misawa.co.jp/gbm/images/ico/ico_yoyaku.svg) no-repeat left 3px center;
        background-size: contain;
    }
    #gb_link li:nth-child(2) {
        order: 4;
        background: url(https://www.misawa.co.jp/gbm/images/ico/ico_catalog.svg) no-repeat left center;
        background-size: contain;
    }
    #gb_link li:nth-child(3) {
        order: 5;
        background: url(https://www.misawa.co.jp/gbm/images/ico/ico_soudan.svg) no-repeat left center;
        background-size: contain;
    }
    #gb_link li:nth-child(4) {
        order: 3;
        background: url(https://www.misawa.co.jp/gbm/images/ico/ico_support.svg) no-repeat left center;
        background-size: contain;
    }
    #gb_link li:nth-child(5) {
        order: 1;
        width: 100%;
        background: url(https://www.misawa.co.jp/gbm/images/ico/ico_misawa.svg) no-repeat left top;
        background-size: 18px;
        border-bottom: 1px solid #ccc;
    }
}


/*================================
GLOBAL MENU
================================*/

#gb_menu ul {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    font-size: 12px;
    font-weight: bold;
}

#gb_menu li {
    padding: 0 15px;
}

#gb_menu li:last-child {
    padding-right: 0;
}

#gb_menu li span {
    font-size: 10px;
}

#gb_menu li a {
    padding: 3px 0 18px;
    display: block;
    line-height: 16px;
}
#gb_menu li a:hover{ text-decoration:none; color:#666; }

#gb_menu li span.gb_dis,
#gb_menu li span.gb_dis2,
#gb_menu li span.gb_dis3,
#gb_menu li span.gb_dis4 {
    font-size: 12px;
}

@media screen and (min-width:768px) and (max-width:1149px) {
    #gb_menu li span.gb_dis {
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width:1034px) {
    #gb_menu li span.gb_dis2 {
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width:997px) {
    #gb_menu li span.gb_dis3 {
        display: none;
    }
    #gb_service {
        width: 70%;
    }
}

@media screen and (min-width:768px) and (max-width:943px) {
    #gb_menu li span.gb_dis4 {
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width:1149px) {
    #gb_nav,
    #gb_area,
    #gb_menu {
        width: 98.5%;
    }
    #gb_menu ul {
        width: 100%;
        justify-content: space-between;
    }
    #gb_menu li {
        padding: 0 5px;
    }
    #gb_menu li:last-child {
        padding-right: 0;
        margin-right: -7px;
    }
    #gb_menu li:before {
        left: 3%;
    }
    #gb_menu li:after {
        right: 3%;
    }
}

@media screen and (max-width: 767px) {
    #gb_menu li span.gb_dis2,
    #gb_menu li span.gb_dis3,
    #gb_menu li span.gb_dis4 {
        font-size: 10px;
    }
    #gb_menu ul {
        flex-direction: column;
        text-align: left;
        padding: 20px 15px;
    }
    #gb_menu li {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
        display: block;
    }

    #gb_menu li a {
        padding: 10px 0 10px 10px;
        background-size: contain;
    }
}


/*=================================
GLOBAL MENU HTML
==================================*/

#gb_background.openSub {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 130vh;
    top: 81px;
    left: 0;
    right: 0;
    z-index: 2;
}

#gb_background.openSub2 {
    background: rgba(0, 0, 0, 0);
}

#gb_menu_box {
    color: #494949;
    text-align: left;
    padding-left: 40px;
    padding-right: 40px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}

#gb_menu_box .main_title span {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    font-size: 19px;
    width: 100%;
    margin-bottom: 30px;
    background: none;
    float: none;
}

#gb_menu_box .main_title,
#gb_menu_box .main_title a {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
    font-size: 26px;
    font-weight: normal;
    background: none;
    padding: 0;
    line-height: 13px;
}

#gb_menu_box #gb_menu_sublink .sublink_title,
#gb_menu_box #gb_service .service_title,
#gb_menu_box .gb_topics .topics_title{
    background: url(https://www.misawa.co.jp/gbm/images/header_link_line.png) no-repeat left center;
    padding-left: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: normal;
}

#gb_menu_box #gb_menu_sublink .sublink_title p.sp,
#gb_menu_box #gb_service .service_title p.sp,
#gb_menu_box .gb_topics .topics_title p.sp{
    display: none;
    margin-bottom: 0;
}

#gb_menu_sublink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 25px;
    width: 98.5%;
}

#gb_menu_sublink p.pc {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    #gb_menu_box {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (min-width:944px) and (max-width:1200px) {
    #gb_menu_sublink {
        width: 98%;
    }
}

@media screen and (min-width:768px) and (max-width:943px) {
    #gb_menu_sublink {
        width: 97%;
    }
    #gb_service {
        width: 70%;
    }
    #gb_topics {
        width: 29%;
    }
    .gb_topics li a span br {
        display: none;
    }
}

#gb_menu_box #gb_menu_sublink .sublink_title {
    margin-bottom: 0px;
    font-size: 13px;
}

#gb_menu_box #gb_menu_sublink .sublink_title span {
    display: none;
}

#gb_menu_sublink ul {
    display: flex;
    justify-content: space-around;
}

#gb_menu_sublink li {
    padding: 2px 0 0 23px;
    line-height: 13px;
    margin-left: 20px;
    width: auto;
}

#gb_menu_sublink li.yoyaku {
    background: url(https://www.misawa.co.jp/gbm/images/ico/ico_yoyaku.jpg) no-repeat left top;
    background-size: contain;
}

#gb_menu_sublink li.catalog {
    background: url(https://www.misawa.co.jp/gbm/images/ico/ico_catalog.jpg) no-repeat left top;
    background-size: contain;
}

#gb_menu_sublink li.soudan {
    background: url(https://www.misawa.co.jp/gbm/images/ico/ico_soudan.jpg) no-repeat left top;
    background-size: contain;
}

#gb_menu_sublink li a {
    font-size: 13px;
    line-height: 13px !important;
}

#gb_service {
    width: 72%;
    max-width: 900px;
}

#gb_service_box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

#gb_service ul {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

#gb_service_box .gb_topics li a img {
    max-width: 93px;
    max-height: 63px;
    width: 36%;
}

#gb_service_box .gb_topics li a p {
    margin-bottom: 0;
}

#gb_service ul {
    width: auto;
}

#gb_service li {
    width: 24%;
    margin-right: 5px;
    letter-spacing: -0.5px;
}

#gb_service li:nth-child(-n + 4) {
    margin-bottom: 5px;
}

#gb_service li a {
    text-align: center;
    display: block;
    padding: 0 0 18px 0;
}

#gb_service li a img {
    width: 100%;
}

#gb_service li a p {
    font-size: 14px;
    padding: 10px 0 0;
    margin-bottom: 0;
}

.gb_topics {
    width: 260px;
}

@media screen and (min-width:768px) and (max-width:997px) {
    .gb_topics {
        width: 25%;
    }
}

.gb_topics li {
    margin-bottom: 23px;
}

.gb_topics li a {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    color: #494949;
    font-size: 14px;
}

.gb_topics li a p {
    margin-left: 10px;
    font-size: 12px;
    padding-top: 5px;
}

.gb_topics li a span {
    display: inline-block;
    color: #868686;
    padding-top: 5px;
    font-size: 12px;
    line-height: 16px !important;
}

.gb_topics li a p.other_link {
    background: url(https://www.misawa.co.jp/gbm/images/ico/ico_other_link.png) no-repeat right;
    background-size: 12px;
    padding-right: 18px;
    vertical-align: middle;
}

@media screen and (min-width:768px) and (max-width:997px) {
    #gb_service {
        width: 72%;
    }
    .gb_topics li a span {
        display: none;
    }
}

.gb_menu-overlay {
    z-index: 999999999;
    width: 100%;
    max-width: 1300px;
    height: auto;
    max-height: 76vh;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    top: 81px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 50px 0px 20px;
    background: rgba(255, 255, 255, 1);
    display: none;
}

.gb_menu-overlay>div {
    position: relative;
    z-index: 90;
    width: 96.6%;
    max-width: 1200px;
    height: 98%;
    margin-left: auto;
    margin-right: auto;
}

.gb_menu-overlay a:hover {
    opacity: 0.6;
}

@media screen and (min-width:979px) and (max-width:1199px) {
    .gb_menu-overlay {
        max-height: 70vh;
    }
}

@media screen and (min-width:768px) and (max-width:978px) {
    .gb_menu-overlay {
        max-height: 67vh;
    }
}

@media screen and (max-width: 767px) {
    #gb_inner .sp {
        display: block !important;
    }
    #gb_area {
        position: fixed;
        z-index: 999;
        top: 50px;
        right: -120%;
        width: 100%;
        height: auto;
        border-top: 1px solid #ededed;
        border-bottom: 1px solid #ededed;
        background: #FFF;
        transition: all 0.6s;
        display: flex;
        flex-direction: column-reverse;
        overflow-y: auto;
        overflow-x: hidden;
        height: 80vh;
    }
    #gb_area.panelactive {
        right: 0;
    }
    #gb_area.panelactive #gb_menu-list {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    #sp_menu_btn {
        position: fixed;
        z-index: 9999;
        top: 0;
        right: 0;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }
    #sp_menu_btn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #777;
        width: 45%;
    }
    #sp_menu_btn span:nth-of-type(1) {
        top: 15px;
    }
    #sp_menu_btn span:nth-of-type(2) {
        top: 23px;
    }
    #sp_menu_btn span:nth-of-type(3) {
        top: 31px;
    }
    #sp_menu_btn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    #sp_menu_btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sp_menu_btn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    #gb_menu li {
        display: flex;
        margin-bottom: 20px;
        justify-content: space-between;
    }
    #gb_menu li a {
        width: 100%; /* 「+」ボタンがなくなったため幅を100%に */
        display: inline-block;
    }
}

/* 現在ページのナビゲーションメニューの文字色を変更 */
#gb_menu li.current-page a {
    color: #0d84c8 !important; /* お好きな色に変更できます */
}