body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* TOP 共通 */
.front_page .ec-layoutRole__main {
    width: 90%;
    margin: auto;
}

.front_page .content-section {
    margin: 80px auto;
    padding: 0;
    background-color: #fff;
}

.front_page .content-title {
    display: flex;
    flex-direction: column;
    font-size: 34px;
    letter-spacing: 1px;
    text-align: center;
    color: #000;
    margin: 0px auto;
    width: 50%;
}

.front_page .content-title span {
    display: inline-block;
    font-size: 22px;
    text-align: center;
    line-height: 2.5;
    border-top: 1px solid #000;
    margin: 5px auto;
    padding: 0 10px;
}

/*　ヘッダー　*/
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    margin-bottom: 20px;
}

.global-header {
    background-color: #292929;
    transition: 0.3s ease-in-out;
}

.global-header .global-header-inner .container {
    margin: 13px auto;
}

.global-header .ec-headerNaviRole {
    padding: 0;
}

.global-header .global-header-inner {
    width: 100%;
    margin: 0 auto 16px;
    padding: 0;
    height: auto;
    justify-content: center;
    display: flex;
}

.global-header .global-header-inner .ec-headerNaviRole__right {
    width: 100%;
    justify-content: space-between;
}

.global-header .global-header-inner .header-title {
    display: flex;
    align-items: center;
    flex-basis: 32%;
}

.global-header .global-header-inner .header-kenai-point {
    flex-basis: 13%;
}

.global-header .global-header-inner .product-search-box {
    flex-basis: 19%;
}

.global-header .global-header-inner .ec-headerNaviRole__nav {
    flex-basis: 33%;
}

.global-header .global-header-inner .header-sns .LineButton {
    width: 63%;
}

.global-header .global-header-inner .header-sns .InstagramButton {
    width: 31%;
}

.global-header .global-header-inner .header-title h1 {
    margin: 0;
}

.global-header .global-header-inner .header-title .nyanBox img {
    width: 150px;
    height: auto;
}

.global-header .global-header-inner .header-sns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
}

.global-header .global-header-inner .header-sns .InstagramButton img {
    height: auto;
}

.global-header .global-header-inner .ec-headerNaviRole__nav .ec-headerNav {
    display: flex;
}

.global-header .global-header-inner .product-search-box .ec-headerSearch__keyword {
    width: 100%;
    border-radius: 10px;
}

.global-header .global-header-inner .product-search-box .ec-headerSearch__keyword .search-name {
    height: 40px;
    font-size: 16px;
}

.global-header .ec-headerNav .ec-headerNav__itemIcon,
.global-header .ec-headerNav .ec-headerNav__itemLink {
    color: #fff;
    margin: 2px auto;
}

.global-header .ec-headerNav .ec-headerNav__itemLink {
    font-size: 13px;
}

.global-header .ec-headerNav .ec-headerNav__item {
    margin: 0 5px;
}

.global-header .ec-headerNav .ec-headerNav__item a {
    display: flex;
    flex-direction: column;
}


/*　メインバナー　*/
.front_page .main_mv {
    margin: 20px auto 50px;
    width: 90%;
}

.front_page .main_mv img {
    width: 100%;
    height: auto;
    border: 1px solid #b8b1b1;
}

/* 建材のこだわり */
.front_page .commit-ment {
    display: flex;
    width: 90%;
    justify-content: center;
    margin: 40px auto;
}

.front_page .commit-ment .about-send,
.front_page .commit-ment .sekisan-button {
    width: 46%;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 7px 30px rgba(51, 51, 51, 0.07);
    margin: 0 2%;
}

.front_page .commit-ment .main_text {
    margin-top: 30px;
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: .2em;
    font-weight: bold;
}

.front_page .commit-ment .sub_text {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.45;
}

.front_page .about-send a {
    background-color: #eee;
    border: 1px solid #fff;
    border-radius: 4px;
    color: red;
    font-size: 14px;
    font-weight: bold;
    width: 250px;
    height: 60px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    border: 1px solid #e3e3e3;
}

.front_page .about-send span {
    display: flex;
    align-items: center;
    font-size: 18px;
    text-align: center;
    justify-content: center
}

.front_page .about-send img {
	width: 64px;
}

.front_page .sekisan-button a img {
    width: 250px;
    height: auto;
}

/*　カテゴリー　*/
.front_page .category-section .category-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    flex-wrap: wrap;
}

.front_page .category-title {
    font-size: 26px;
    margin-top: 0;
}

.front_page .category-section .category-flex .category-box {
    width: 32.5%;
}

.front_page .category-section .category-flex .category-box .category-box-left {
    text-align: center;
}

.front_page .category-section .category-flex .category-box .category-box-left span img {
    width: 200px;
    height: 200px;
}

.front_page .category-section .category-flex .category-box ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 20px;
}

.front_page .category-section .category-flex .category-box ul li {
    list-style: none;
    flex-basis: 31.333333333%;
    margin: 5px 1%;
    display: flex;
}

.front_page .category-section .category-flex .category-box ul li a {
    padding: 5px 10px;
    height: auto;
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27acd9;
    border: 1px solid #27acd9;
    background-color: #fff;
    transition: 0.5s;
    font-weight: bold;
    border-radius: 5px;
    font-size: 13px;
}

.front_page .category-section .category-flex .category-box ul li a:hover {
    color: #fff;
    background-color: #27acd9;
}
  
/*　おすすめの商品　*/
.front_page .recommend-section {
    text-align: center;
}

.front_page .recommend-section .recommend-flex {
    display: flex;
}

.front_page .recommend-section .recommend-flex .recommend-card {
    flex-basis: 23%;
    margin: 0 1%;
    font-size: 18px;
}

.front_page .recommend-section .recommend-flex .recommend-card a span {
    margin: 0 0 15px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.front_page .recommend-section .recommend-flex .recommend-card a dl dt,
#RelatedProduct-product_area ul li a p:nth-of-type(2) {
    height: 50px;
    max-height: 50px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.4;
    overflow: hidden;
    word-break: break-all;
}

#RelatedProduct-product_area ul li a p:nth-of-type(2) {
    height: 45px;
    max-height: 45px;
}

.front_page .recommend-section .recommend-flex .recommend-card a dl dd,
#RelatedProduct-product_area ul li a p:nth-of-type(3)  {
    font-weight: 700;
    color: #b22b2b;
    margin-top: 5px;
}

#RelatedProduct-product_area ul li span {
    height: 100px;
    max-height: 100px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-height: 1.4;
    overflow: hidden;
    word-break: break-all;
    font-size: 14px;
    margin-top: 3px;
}

/*　関連企業、所属団体、メーカー　*/
.front_page .maker-flex,
.front_page .kanren-flex {
    display: flex;
    flex-wrap: wrap;
}

.maker-flex a {
    display: inline-block;
    width: 23%;
    margin: 20px 1%;
}

.maker-flex a img,
.kanren-flex a img {
    width: 100%;
    height: auto;
}

.kanren-flex .kanren-inner {
    width: 50%;
}

.kanren-flex a {
    display: inline-block;
    width: 46%;
    margin: 20px 2%;
}

.front_page .ec-layoutRole__contents .product-search-box .ec-headerSearch__keyword {
    float: initial;
    margin: auto;
    border: none;
    background-color: #fff;
    border-radius: 20px;
}

.front_page .ec-layoutRole__contents .product-search-box .ec-headerSearch__keyword .ec-input .search-name {
    height: 60px;
    font-size: 20px;
    border: 2px solid #ccc;
    border-radius: 50px;
    background-color: #f6f6f6;
}

/* ニュース */
.front_page .ec-newsRole {
    padding: 0;
}

.front_page .ec-newsRole .ec-newsRole__news {
    border: 10px solid #F8F8F8;
}

.front_page .ec-newsRole .ec-newsRole__newsDate {
    display: flex;
    align-items: center;
}

/* カレンダー */ 
.front_page .calender-area {
    font-size: 18px;
}

.front_page .calender-area p {
    text-align: center;
}

.front_page .calender-area .ec-calendar {
    justify-content: center;
}

.front_page .calender-area .ec-calendar .ec-calendar__month {
    margin: 0 80px;
}

/* その他 */
.front_page .other-area {
    display: flex;
    justify-content: center;
}

.front_page .other-area .other-content {
    width: 32%;
    text-align: center;
}

.front_page .other-area .other-content h2 {
    width: 100%;
    margin-bottom: 5px;
}

/* フッター */
footer .ec-footerNavi__link a {
    text-decoration: none;
}

/* ホバー類 */
.sekisan-button a:hover,
.about-send a:hover,
.nav-collapse ul li a:hover,
.LineButton a:hover,
.InstagramButton a:hover,
.recommend-area ul li a:hover,
.maker-flex a:hover,
footer .ec-footerNavi__link a:hover,
.recommend-section .recommend-flex .recommend-card:hover,
.ec-newsRole__newsHeading:hover {
    opacity: 0.7;
}

/* 積算部分 */
#sekisanForm {
    height: 480px;
    max-height: 100%;
    margin: 0;
    top: 200px;
    left: 40px;
    position: fixed;
    z-index: 10000;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.3);
    -moz-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    width: 560px;
    resize: both;
    overflow: auto;
}

.modal-header {
    cursor: move;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 16px;
    line-height: 1.5em;
    margin: 0;
    font-weight: 600;
}

.modal-title img {
    margin-right: 10px;
    margin-bottom: 2px;
}

.modal-body {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 100%;
}

.ui-resizable-handle {
    position: absolute;
}

#sekisanForm .ui-icon {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: 1px 1px;
    background-image: url("/html/user_data/assets/img/resizable.png");
}

.sekisanText {
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border linear .2s, box-shadow linear .2s;
    padding: 1px 6px;
    margin-bottom: 9px;
    font-size: 14px;
    color: #555;
    border-radius: 3px;
    width: 130px;
}

.sekisan-bloc input.btn-mini {
    font-size: 12px;
    width: auto;
    background-color: #f5f5f5;
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    padding: 0px 10px;
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    margin: 0 2px;
    line-height: 20px;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-bottom-color: #a2a2a2;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

#sekisanForm .help-block {
    display: block;
}

#sekisanForm .alert-sekisan {
    background-color: #d9edf7;
    border-color: #bce8f1;
    clear: both;
    padding: 8px 14px;
    margin: 10px auto 20px;
}

.move-overwrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 30000;
    display: none;
}

.sekisan-body {
    width: 100%;
    height: 100%;
    overflow: auto;
    position: relative;
    -webkit-overflow-scrolling:touch;
}

.sekisan-body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}


.sekisan {
    list-style-type: none;
    padding: 0;
    margin-bottom: 24px;
}

.sekisanItem {
    width: 50%;
    float: left;
    border: solid 1px #000;
    box-sizing: border-box;
    min-width: 250px;
    margin-right: -1px;
    margin-top: -1px;
}

.sekisanName {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1%;
}

.sekisanNum {
    float: right;
    text-align: right;
    width: 27%;
    padding-left: 1%;
    padding-right: 1%;
    border-left: solid 1px #000;
}

.sekisanDummy {
    border: none;
}

.bloc-body header.tlB01 {
    background-image: url(/html/user_data/assets/img/icon_tl_big.png);
    background-position: 0px 4.5px;
    background-repeat: no-repeat;
    border-bottom: 1px solid #DDD;
    padding-left: 25px;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.search-name:focus {
    border-color: red;
}

.header-left {
    display: flex;
    align-items: center;
}

.ec-cartNaviIsset {
    overflow-y: auto;
    max-height: 500px;
    border: 1px solid #cecccc;
}

.member-area img {
    width: 100%;
}

.ec-itemNav__nav li {
    width: 100%;
    border-bottom: 1px solid #eaeaea;
}

.ec-itemNav__nav li a {
    text-align: left;
}

.ec-itemNav__nav li ul li {
    border: none;
}

.ec-itemNav__nav li ul {
    top: 0;
    left: 215px;
}

.ec-layoutRole__contents .ec-layoutRole__left {
    text-align: center;
}

.ec-layoutRole__contents .ec-layoutRole__left h2 {
    font-size: 22px;
}

@media only screen and (max-width: 768px) {
    header {
        margin-bottom: 0;
    }

    .header-sekisan-button {
        display: flex;
        width: 100%;
        align-items: center;
    }

    .header-sekisan-button img {
        width: 100%;
    }

    .header-left {
        display: flex;
    }

    .global-header .global-header-inner .container {
        display: block;
        width: 95%;
        padding: 0 5px;
        margin: 10px auto;
    }

    .global-header .ec-headerNaviRole__right {
        flex-wrap: wrap;
    }

    .global-header .ec-headerNaviRole {
        margin: 0;
    }
    
    .front_page .commit-ment {
        display: flex;
        flex-direction: column-reverse;
    }

    .front_page .commit-ment .about-send,
    .front_page .commit-ment .sekisan-button {
        width: 100%;
        margin:  0 auto 10px;
        padding: 30px 20px;
    }

    .front_page .category-section .category-flex {
        display: block;
    }

    .front_page .other-area {
        display: block;
    }

    .front_page .commit-ment {
        width: 100%;
        margin: 40px auto;
    }

    .global-header .product-search-box {
        width: 100%;
        margin-top: 10px;
    }
    
    .global-header .ec-headerNav .ec-headerNav__itemLink {
        display: block;
    }

    .global-header .ec-headerNav .ec-headerNav__item {
        margin: 0 1%;
        width: 23%;
    }

    .front_page .category-section .category-flex .category-box {
        width: 100%;
    }

    .global-header .ec-headerNav .ec-headerNav__itemIcon {
        font-size: 25px
    }

    .front_page .category-section .category-flex .category-box .category-box-left {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .front_page .recommend-section .recommend-flex .recommend-card {
        flex-basis: 46%;
        margin: 0 2%;
    }

    .front_page .content-title {
        width: 100%;
    }

    .front_page .recommend-section {
        padding: 0;
    }

    .front_page .recommend-section .recommend-flex .recommend-card a span {
        height: 150px;
    }

    .front_page .main_mv {
        width: 100%;
        margin: 0px 0 40px;
    }

    .front_page .content-section {
        margin: 50px auto;
    }

    .kanren-flex .kanren-inner {
        width: 100%;
    }

    .front_page .other-area .other-content {
        width: 100%;
    }

    .maker-flex a,
    .kanren-flex a {
        width: 48%;
        margin: 10px auto;
    }

    .front_page .calender-area .ec-calendar .ec-calendar__month {
        margin: 0 auto 20px;
       font-size: 20px;
    }

    .front_page .ec-newsRole .ec-newsRole__news {
        border: none;
    }

    .global-header .global-header-inner .header-title .nyanBox img {
        width: 100%;
    }

    .global-header .ec-headerNaviRole__right .ec-headerSearch__keyword {
        width: 100%;
    }

    .global-header .global-header-inner .header-title h1 img {
        width: 100%;
    }

    .global-header .global-header-inner .header-title {
        flex-basis: 68%;
    }

    .global-header .global-header-inner .header-kenai-point {
            display: flex;
        justify-content: space-between;
        flex-basis: 32%;
        flex-direction: column;
    }

    .ec-cartNavi {
        display: flex;
        padding: 5px 0 0;
        flex-direction: column;
        align-items: center;
    }

    .ec-cartNavi .ec-cartNavi__icon {
        font-size: 25px;
        color: #fff;
    }

    .ec-cartNavi .ec-cartNavi__price {
        display: block;
        color: #fff;
    }

    .global-header .ec-headerNaviRole .ec-headerNaviRole__right .ec-headerNaviRole__nav {
        flex-basis: 100%;
        margin: 10px 0 0;
    }

    .global-header .global-header-inner .product-search-box {
        flex-basis: 100%;
    }
    .ec-headerRole__cart {
        width: 23%;
        margin: 0 1%;
    }

    #sekisanForm {
        left: 20px;
        top: 50px;
        resize: initial;
    }
}