/*** sp共通（2018.7.23 トップページのindex_sp.phpのみ確認、他ページこれから） ***/
@import url("sp_responsive_header.css");

body {
    padding-top: 60px;
    background: #fff;
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo,'ＭＳ Ｐゴシック', sans-serif;
}
.wrap {
    max-width: 940px;
    margin: 0 auto;
}
section {
    display: block;
    margin-bottom: 20px;
}
h1 {
    padding-top: 13px;
}
a {
    color: #000;
    outline: none;
    vertical-align: unset;
}
img {
    max-width:100%;
    height: auto;
    width: auto\9; /* ie8 */
}
.img_center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.img_w100per {
    width: 100%;
}
.sp_only {
    display: none;
}
.wrapper {
    max-width: 920px;
    margin: 0 auto;
}

/* header */
#snss { margin-bottom: 6px; padding-top: 3px; margin-right: 5px; text-align: right; }
#snss ul { width: auto; }
#snss ul li { margin: 0 auto; float: none; text-align: center; }
#contact { display: none; }
#cartin { display: none; }
#loginout, #carticon { width: 39%; }
.hamburgermenu { width: 20%; float: right; }
.globalnav { display: none; top: 60px; position: fixed; width: 230px; right: 0; }
.globalnav li { background: #fff; font-size: 12px; width: 230px; line-height: 40px; height: 40px; border: 1px solid #CCC; position: relative; }
.globalnav img { width: 20px; margin: 4px 5px; }
.globalnav li a { text-indent: 0; height: auto; width: 100%; text-decoration: none; display: block; color: #000; font-size: 16px; text-align: center; }
.globalnav li a:after {
    display: block; content: ""; position: absolute; top: 50%; right: 14px; width: 4px; height: 4px; margin: -4px 0 0 0; border-top: solid 2px #409a04; border-right: solid 2px #409a04;
    -webkit-transform: rotate(45deg); transform: rotate(45deg);
}
/** ハンバーガーメニュー */
.globalnav_close {
    position: absolute;
    border-radius: 25px;
    background-color: #8c8c8c;
    font-weight: bold;
    font-size: 20px;
    width: 30px;
    height: 30px;
    text-align: center;
    right: 215px;
    top: 50px !important;
}

.globalnav_close {width:30px; color:#000;}

#cartcount.cartcount {
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    background-color: red;
    color: #fff;
    border-radius: 50px;
    width: 20px;
    height: 20px;
    text-align: center;
    top: 35px;
    right: 50px;
}
/* headerここまで */

/* footer */
#footer_img { background: url(/images/foot_line.png) no-repeat; width: 100%; height: 80px;  position:absolute; top: -90px; }
body > .wrapper, footer .wrapper { position: relative; }
footer .wrapper { max-width: none; }
footer a { color: #fff; }
footer h1 { color: #fff; font-size: 100%; font-weight: bolder; }
footer ul { list-style: none; list-style-position: inside; }
.footer_new {
    clear: both;
    width: 100%;
    padding-top: 10px;
    background: #78c94c;
    text-align: center;
    font-size: 13px;
    font-weight: bolder;
    border-top: 1px solid #78c94c;
    color: #ffffff;
    margin-top: 80px;
}
footer .footer_links_wrap {
    font-size: 120%;
    line-height: 23px;
    display: flex;
    justify-content: center;
    font-weight: normal;
}
footer .gridcell {
    float: left;
    display: block;
    text-align: left;
    padding-bottom: 10px;
    margin: 0 15px;
}
footer .gridcell li {
    list-style: none;
}
/* footerここまで */

.h2_wrap {
    padding: 0;
    margin-bottom: 10px;
    border-radius: 5px;
    background: linear-gradient(#fafafa,#dcdcdc);
    border: 1px solid #c8c8c8;
    border-left: solid 5px #660000;
}
.h2_wrap h2 {
    padding: 0 0 0 10px;
}
/* 住まいの実例（portfolios/） */
.h3_wrap h3 {
    padding: 0 0 0 10px;
    border-left: solid #e9ba61 3px;
    color: #df9f23;
    font-size: 100%;
    font-weight: bold;
}

/* TOPページ以外 */
.s_left { display: none; }
.s_content {
    width: 95%;
    margin: 0 auto;
}
.pick_main {
    width: 95%;
    margin: 0 auto;
    padding: 10px;
    border: solid #ccc 1px;
    overflow: hidden;
}
.pick_main img { width: 100%; }
.feature_img {
    width: 300px;
    float: left;
    margin: 0 20px 10px 0;
    padding: 4px;
    border: solid #c7c8c9 1px;
}
/* GooglePlusボタン */
#___plusone_0 { vertical-align: top !important; }

@media only screen and (max-width: 640px) {
    .sp_only {
        display: block;
    }
    .onlywide { display: none; }
    .onlynarrow { display: block; }
    /* .sp_only { display: block; line-height: inherit; color: inherit; } */

    p { font-size: 90%; line-height: 1.5em; }
    p.catcher { font-size: 100%; line-height: 1.8; margin: 10px; }

    footer { padding-bottom: 70px; }
    footer .f_links2 {
        font-size: 10px;
        line-height: 12px;
    }
    footer h1 {
        font-size: 60%;
        text-align: center;
        width: 100%;
    }

    /* TOPページ以外 */
    .content_wrap { width: 100%; padding: 0; }
    .s_content { float: none; padding: 0; }
    /* .s_content { zoom: 65%; } */
    .s_content #youtube {
        width: 100%;
        overflow: hidden;
    }
}

@media only screen and (max-width: 350px) {
    header .logo img { width: 100px; }
}

/*** トップ画面（index_sp.php）用 ***/
#main { height: 140px; margin-bottom: 70px; }
#main ul li { width: 50%; height: auto; line-height: 55px; font-size: 13px; background-color: #FFFFFF; border-bottom: 1px solid #AAAAAA; float: left; }
#main img { display: block; height: 35px; width: auto; float: left; margin: 10px 10px 5px 5px; }
#main a { position: relative; background-image: none !important; text-indent: 0; height: auto; width: 100%; text-decoration: none; display: block; }
#main a:after { display: block; content: ""; position: absolute; top: 50%; right: 5px; width: 6px; height: 6px; border-top: solid 2px #409a04; border-right: solid 2px #409a04; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
#main h2 { display: block; font-size: 14px; height: auto; padding: 8px 5px; background-color: #ec7812; color: #FFFFFF; text-shadow: rgba(0, 0, 0, 0.498039) 0px 1px 0px; }

#navi { display:none; top: 90px; position: fixed; margin: 0; border: 1px solid #000; width: 100%;
    border-top:1px solid #EEE; border-bottom:1px solid #b7b7b6; background: #FFF;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFF), to(#EEE));
    background: -webkit-linear-gradient(#FFF, #EEE);
    background: -moz-linear-gradient(#FFF, #EEE);
    background: -ms-linear-gradient(#FFF, #EEE);
    background: -o-linear-gradient(#FFF, #EEE);
    background: linear-gradient(#FFF, #EEE);
    -pie-background: linear-gradient(#FFF, #EEE); clear:both; }
#navi h2 {
    height: 45px;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    padding: 10px 0;
    border-bottom: 1px solid #000;
}
#navi ul {
    margin: 0 auto;
    border-right: 1px solid #b7b7b6;
    border-left: 1px solid #b7b7b6;
}
#navi li { float: left; width: 50%; }
#navi li a { display:block; padding:12px 0 11px 0; text-align:center; font-size: 16px; color:#565555; font-weight:bold; text-decoration:none; letter-spacing:2px; text-shadow:-1px -1px 1px #ffffff;
    border-left:1px solid #d7d7d3; border-right:1px solid #d7d7d3; border-bottom:1px solid #d7d7d3; behavior: url(PIE/PIE.htc); }
#navi ul.prefs { display:none;position:absolute;width:100%;background-color:#FFF;border-right:none;border-left:none; top: 67px;left:0; }
#navi .nav_back {
    display: block;
    position: absolute;
    top: 22px;
    left: 7px;
    font-size: 12.8px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;
    width:16px; height:16px;
    text-align: center; background-color: #000; color: #FFF; padding-right: 1px;
    font-family: Verdana,Roboto,"Droid Sans","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}
.nav_close { display: none; }

#manga ul li { width: auto; }
#manga ul li img { width: 131px; }

.top_linkbanner {
    margin: 0;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    .header_right > a {
        color: #fff;
        background-color: #3c800f;
        width: 33%;
        float: left;
    }

    #main { margin-bottom: 0px; }

    #paper_sp { display: block; width: 100%; height: auto; line-height: 60px; font-size: 13px; background-color: #FFFFFF; border-bottom: 1px solid #AAAAAA; }
    #paper_sp a { position: relative; background-image: none !important; text-indent: 0; height: auto; width: 100%; text-decoration: none; text-align: left; }
    #paper_sp a:after { display: block; content: ""; position: absolute; top: 50%; right: 5px; width: 6px; height: 6px; border-top: solid 2px #409a04; border-right: solid 2px #409a04; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
    #paper_sp img { display: block; height: 35px; width: auto; float: left; margin: 10px 10px 5px 5px; }

    #portfolios,
    #manga { display: none; }

    .no_line_banner {
        display: block; padding: 5px; text-align: center;
    }
    .top_linkbanner { display: none; }
}

/*** トップ画面（index_sp.php）横長用 ***/
.seo { display:block;overflow:hidden; }

#portfolios .slider { height: 100px; }
#portfolios .imgframe { width:130px; height:100px;overflow:hidden;margin:0; }
#portfolios ul li { width:130px; }

#manga .slider { height: 220px; }
#manga ul li { width:134px; }
#manga ul li img { width:135px; }

#portfolios h2,
#manga h2,
#news h2 { height: 40px; background-color: #FFF; margin-bottom:10px; }
#portfolios span,
#manga span,
#news span { height:40px; margin-left:20px; line-height: 40px; }

.slider-wrap { border: 1px solid #6b4e47;padding: 5px 30px; position:relative;background-color:#FFF; }
.slider-wrap { border: none; }
.slider { position: relative; width: 100%; overflow: hidden; }
.slider ul { position:absolute;height:100%;width:2000px;left:0; }
.slider ul li { height: 100%; float: left; clear: none; font-size:13px;margin-right: 10px; }

.slider-arrow {
    position: absolute;
    display: block;
    margin-bottom: -40px;
  }
  .slider-arrow-right {
    bottom: 50%;
    right: 5px;
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-left: 20px solid #aaaaaa;
    border-bottom: 40px solid transparent;
  }
  .slider-arrow-left {
    bottom: 50%;
    left: 5px;
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-right: 20px solid #aaaaaa;
    border-bottom: 40px solid transparent;
  }

/*** イベント、イベント各地域（features/index_sp.php、features/area_sp.php） ***/
.event h2 {
    padding: 3px;
    margin-left: 0px;
    height: auto;
    font-weight: bold;
    text-align: left;
    color: #ffffff;
    background: #ef7f03;
    border-radius: 0.5em;
}
.event table {
    font-size: smaller;
}
.event_table_list th,
.event_table_list td {
    padding: 5px;
}
.today_or_tommorow a {
    background: none !important;
    background-color: #fffbde !important;
}

/*** カート画面（vendors/cart.php） ***/
/*** 和風住宅漫画 施工実例（/vendors/themes.php?t=3&p=t） ***/
.h3_portfolio_list {
    text-align: left;
    color: #fe6f06;
    border-bottom: 1px solid #999999;
    background: none;
    margin-bottom: 10px;
    padding: 10px 0 0 15px;
}
.reco_wide {
    width: 100%;
}
.reco {
    margin-top: 20px;
    overflow: hidden;
    justify-content: center;
}
.home_chiebukuro_row {
    float: left;
    margin: 0 10px;
    font-size: 14px;
}
div#cart_grid .home_port_thumb {
    margin: 0 0 5px;
    padding: 4px;
    border: solid #c7c9c8 1px;
    text-align: center;
    height: 100px;
    overflow: hidden;
}
.paper_img {
    vertical-align: top;
}
div#cart_grid {
    overflow: hidden;
    padding: 0 10px;
}
div#cart_grid .gridcell {
    float: left;
    display: block;
    text-align: center;
    padding-bottom: 10px;

    margin: 0 5px;
}
div#cart_grid .gridcell p {
    font-size: 14px;
}
div#cart_grid .gridcell img {
    width: 140px;
    height: auto;
}
.column3 div#cart_grid .gridcell img {
    width: auto;
}
.portlist_title {
    font-weight: bold;
    padding: 0 0 10px;
}
@media only screen and (max-width: 640px) {
    .reco_wide .home_port {
        width: 41%;
        min-height: 155px;
    }
    .reco .home_port_thumb {
        height: auto;
    }
    div#cart_grid .gridcell:nth-of-type(2n+1) {
        clear: left;
    }
    div#cart_grid .gridcell {
        width: 45%;
        font-size: 80%;
    }
}
@media only screen and (min-width: 641px) {
    div#cart_grid {
        padding: 0 20px;
    }
    div#cart_grid .gridcell:nth-child(5n+1) {
        clear: left;
    }
    div#cart_grid .gridcell {
        width: 18%;
        padding-bottom: 15px;
    }
    .column3 div#cart_grid .gridcell {
        width: 30%;
    }
    /*** 施工実例一覧/portfolios/search_sp.php ***/
    .column4 div#cart_grid .gridcell:nth-child(4n+1) {
        clear: left;
    }
    .column4 div#cart_grid .gridcell {
        width: 22%;
    }
}

/*** マンガ一覧画面（themelist.php） ***/
div#manga_grid {
    overflow: hidden;
    padding: 0 10px;
    margin-bottom: 90px;
}
div#manga_grid .gridcell {
    float: left;
    display: block;
    text-align: center;
    padding-bottom: 10px;
}
div#manga_grid .gridcell img {
    width: 95%;
}
@media only screen and (max-width: 599px) {
    div#manga_grid .gridcell:nth-of-type(2n+1) {
        clear: left;
    }
    div#manga_grid .gridcell {
        width: 50%;
    }
}
@media only screen and (min-width: 600px) {
    div#manga_grid {
        padding: 0 20px;
    }
    div#manga_grid .gridcell:nth-child(5n+1) {
        clear: left;
    }
    div#manga_grid .gridcell {
        width: 20%;
        padding-bottom: 15px;
    }
}

/*** イベント詳細（detail_new_sp.php） ***/
.s_content .news_body a { text-align: center; display: block; }

/*** 施工実例一覧（/portfolios/search_sp.php） ***/
/*** 家づくりの知恵袋詳細（/wisdoms/detail.php） ***/
.list_content_box {
    width: auto;
    padding: 5px;
}
.criteria {
    margin: 10px 0;
    padding: 5px 5px;
    background: #eee;
    font-weight: bold;
}
.image10 {
    clear: both;
    width: 100%;
    float: left;
    padding: 0 0 10px;
    text-align: center;
}
p.font90per {
    font-size: 90%;
}
p.font80per {
    font-size: 80%;
}

/*** 住まいの実例（portfolios/） ***/
.form_ul_province li {
    width: 100px;
    float: left;
}
.bt_wrap {
    clear: both;
    width: 100%;
    padding: 0 0 30px 0;
    text-align: center;
}
.bt_wrap input {
    border: solid 1px #333;
}

/*** 住まいのQ&A（qas/index.php） ***/
.table_list th,
.table_list td {
    padding: 5px 10px;
    border-right: solid #ccc 1px;
    border-bottom: solid #ccc 1px;
    text-align: center;
}
.qas_box div {
    padding: 0.5em 1em;
    margin: 0.5em 0;
    /* color: #2c2c2f; */
}
.qas_box_link {
    display: inline-block;
    padding: 0.5em 1em;
    text-align: center;
    text-decoration: none;
    background: #668ad8;/*ボタン色*/
    color: #FFF;
    font-weight: bold;
    border-bottom: solid 4px #585858;
    border-radius: 3px;
    width: -webkit-fill-available;
}
.qas_box_green {
    background: #ddfcdd;
}
.qas_box_green a {
    background: #3d993d;
}
.qas_box_red {
    background: #fccdcd;
}
.qas_box_red a {
    background: #b14242;
}
.qas_box_blue {
    background: #d5e9ff;
}
.qas_box_blue a {
    background: #326aa5;
}
.qas_box_purple {
    background: #e9d1ff;
}
.qas_box_purple a {
    background: #72479b;
}
.qas_box_orange {
    background: #fadbc9;
}
.qas_box_orange a {
    background: #ce5109;
}
.qas_box_pink {
    background: #f8cce9;
}
.qas_box_pink a {
    background: #c44098;
}
.qas_box_brown {
    background: #e6d3c8;
}
.qas_box_brown a {
    background: #796960;
}
.qas_box_yellow {
    background: #f8f6d2;
}
.qas_box_yellow a {
    background: #a89d00;
}
.qas_box_gray {
    background: #e0e0e0;
}
.qas_box_gray a {
    background: #505050;
}


/*** 住まいのQ&A回答（qas/detail_u.phpなど） ***/
.answer {
    border: solid #888 1px;
    margin: 0 0 10px 0;
}

/*** ログイン・会員登録（login3.php） ***/
.login_reg_wrap {
    width: 633px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding: 10px 20px 0;
    border: solid #666 1px;
    background: #f9f9f9;
}
.table_login {
    clear: both;
    margin: 0 auto 10px auto;
    border-top: solid #bbb 1px;
    border-left: solid #bbb 1px;
}
.table_login th {
    width: 100px;
    background: #eee;
    text-align: right;
}
.table_login td {
    background: #fff;
}
.table_login td input {
    height: 18px;
}
.table_login th, .table_login td {
    padding: 5px 10px;
    border-right: solid #bbb 1px;
    border-bottom: solid #bbb 1px;
}
.v_reg {
    width: 100%;
    float: left;
    padding: 0 0 10px;
}
.v_reg p {
    clear: both;
    padding: 0 20px 20px;
}
.v_reg .ureg_title_wrap {
    clear: both;
    width: 100%;
    height: 31px;
    float: left;
    padding: 0 0 20px;
}
.ureg_title_wrap .ureg_title {
    line-height: 31px;
    border-bottom: solid #941200 1px;
    font-weight: bold;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    .login_reg_wrap {
        width: auto;
        float: none;
        margin: 0 auto 20px;
    }
}

/*** 会員登録フォーム（user3.php） ***/
.old_form .table_form,
.old_form .table_form2 {
    clear: both;
    width: 100%;
    margin: 0 0 20px 0;
    border-top: solid #ccc 1px;
    border-left: solid #ccc 1px;
    border-collapse: collapse;
    font-size: smaller;
}
.old_form input,
.old_form textarea {
    border: solid 1px #999;
    background-color: #eee;
}
.old_form input[type="text"] {
    height: 18px;
}
.old_form .req {
    background-color: #ffdede;
}
.old_form .table_form th {
    background: #eee;
    width: 80px;
}
.old_form .table_form th,
.old_form .table_form td,
.old_form .table_form2 th,
.old_form .table_form2 td {
    padding: 5px 10px;
    border-right: solid #ccc 1px;
    border-bottom: solid #ccc 1px;
}
.old_form table,
.old_form caption,
.old_form th,
.old_form td {
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo,'ＭＳ Ｐゴシック', sans-serif;
    text-align: left;
    color: #333;
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
    line-height: 1.5;
}

/*** 知識一覧（wisdoms/index_sp.php） ***/
.p_font_large {
    font-size: 16px;
    font-weight: bold;
}
.portlist_thumb {
    margin: 0 0 10px;
    padding: 4px;
    border: solid #c7c9c8 1px;
    position: relative;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    .portlist_thumb {
        max-height: 91px;
        overflow: hidden;
    }
}

/*** 動画検索結果（/videos/search.php） ***/
.h3_video_list {
    clear: both;
    width: 100%;
    height: 22px;
    float: left;
    padding-top: 7px;
    padding-left: 45px;
    background: url(../images/ttl_video_list.gif) no-repeat;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

/*** 家づくりの知恵袋（wisdoms/detail.php） ***/
.reco .home_port {
    width: 140px;
    padding: 0 3px;
}
.reco_min_height .home_port {
    min-height: 200px;
}
.reco .home_port_row {
    margin: 0px 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
}
