@charset "utf-8";

/* ==================================================================
	modelhouse.css
	
=================================================================== */

/* --------------------------------
   □ general
-------------------------------- */ 
.contents{
    padding-bottom: 0;
}
.contents main .accentArea{
	background-image:url("../../images/build/quality/accent.jpg");
}

.contents main .vertical{
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}

/* ==================================================================
	.tabnavigation
=================================================================== */
ul.tabnavigation {
    border-bottom: 2px solid #222;
    margin: 50px 0 80px;
}
ul.tabnavigation:after {
    clear: both;
    display: block;
    content: "";
}

ul.tabnavigation li {
    width: 48%;
    float: left;
    margin-right: 4%;
    position: relative;
    background: #f7f7f7;
    box-sizing: border-box;
}
ul.tabnavigation li.selected {
    z-index: 5;
    background: #fff;
    margin-bottom: -2px;
    border-top:  2px solid #222;
    border-right:  2px solid #222;
    border-left:  2px solid #222;
    border-bottom: 2px solid #fff;
}
ul.tabnavigation li a {
    text-align: center;
    display: block;
    padding: 25px 0;
    width: 100%;
    font-size: 112%;
    color: #222;
}
ul.tabnavigation li.selected a {
    font-weight: bold;
}
ul.tabnavigation li:last-child {
    margin-right: 0;
}

/* ==================================================================
	#intro
=================================================================== */
#intro {
    padding-bottom: 70px;
}
#intro h2 {
    color: var(--text-color, #212529);
    font-size: 250%;
    margin-bottom: 35px;
    line-height: 1.5; 
}
#intro .Layout2col {
    overflow: hidden;
    margin-bottom: 60px;
}
#intro .Layout2col p.txt {
    width: 48%;
    float: left;
    line-height: 2;
}
#intro .Layout2col p.img {
    float: right;
    width: 48%;
}
#intro .Layout2col p.img img {
    width: 100%;
}

#intro > section {
    overflow: hidden;
}
#intro > section .rightBox {
    width: 48%;
    float: right;
}
#intro > section .rightBox h3 {
    font-size: 150%;
    margin-bottom: 20px;
    line-height: 1.6;
}
#intro > section .rightBox p.txt {
    line-height: 2;
    margin-bottom: 20px;
}
#intro > section p.leftimg {
    width: 50%;
    float: left;
}

/* ==================================================================
	#flow
=================================================================== */
#flow {
    background: #F3F3F3;
    padding: 70px 0 30px;;
}
#flow h2 {
    margin-bottom: 30px;
}
#flow p.txt {
    text-align: center;
    line-height: 2;
    margin-bottom: 70px;
}
#flow ul.list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#flow ul.list li {
    width: 22%;
    margin-right: 4%;
    margin-bottom: 6%;
}
#flow ul.list li:nth-child(4n) {
    margin-right: 0;
}
#flow ul.list li dt {
    position: relative;
    margin-bottom: 18px;
}
#flow ul.list li dt img {
    width: 100%;
}
#flow ul.list li dt span {
    position: absolute;
    display: inline-block;
    top: -20px;
    left: 15px;
    background: var(--bg-color-black, #212529);
    color: #fff;
    padding: 8px 15px;
}
#flow ul.list li dd.name {
    font-weight: bold;
    color: var(--text-color, #212529);
    font-size: 106%;
    margin-bottom: 5px;
}
#flow ul.list li dd.name em {
    display: inline-block;
    margin-right: 5px;
    font-size: 80%;
    font-weight: normal;
    border: 1px solid #212529;
    padding: 0 6px;
}

@media only screen and
(max-width : 767px) {

    /* --------------------------------
       □ general
    -------------------------------- */ 
    .contents main .accentArea {
        background-position: 65% 50%;
    }
    .contents main .accentArea h1 em.en {
        font-size: 130%;
    }

    /* ==================================================================
        .tabnavigation
    =================================================================== */
    .tab.chapter {
        margin: 0 -4%;
    }
    ul.tabnavigation {
        margin: 5% 0 7%;
    }

    ul.tabnavigation li {
        width: 48%;
        margin-right: 4%;
    }
    ul.tabnavigation li a {
        text-align: center;
        display: block;
        padding: 25px 0;
        width: 100%;
        font-size: 85%;
        color: #222;
    }

    /* ==================================================================
        #intro
    =================================================================== */
    #intro {
    }
    #intro h2 {
        font-size: 150%;
        margin-bottom: 5%;
    }
    #intro h2 br {
        display: none;
    }
    #intro .Layout2col {
        overflow: hidden;
        margin-bottom: 13%;
    }
    #intro .Layout2col p.txt {
        width: auto;
        float: none;
        margin-bottom: 8%;
    }
    #intro .Layout2col p.img {
        float: none;
        width: 100%;
    }

    #intro > section .rightBox {
        width: auto;
        float: none;
        margin-bottom: 8%;
    }
    #intro > section .rightBox h3 {
        font-size: 130%;
        margin-bottom: 5%;
    }
    #intro > section .rightBox h3 br {
        display: none;
    }
    #intro > section .rightBox p.txt br {
        display: none;
    }
    #intro > section p.leftimg {
        width: auto;
        float: none;
    }

    /* ==================================================================
        #flow
    =================================================================== */
    #flow {
        background: #f3f1e9;
        padding: 13% 0 8%;
    }
    #flow p.txt {
        text-align: left;
        margin-bottom: 13%;
    }
    #flow p.txt br {
        display: none;
    }
    #flow ul.list li {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 12%;
    }
    #flow ul.list li:nth-child(2n) {
        margin-right: 0;
    }
    #flow ul.list li dt {
        margin-bottom: 5%;
    }
    #flow ul.list li dt span {
        padding: 5px 12px;
        top: -13px;
    }
    #flow ul.list li dd.name {
        font-size: 90%;
        margin-bottom: 5px;
    }
    #flow ul.list li dd.name em {
        display: inline-block;
        margin-right: 5px;
        font-size: 80%;
        font-weight: normal;
        border: 1px solid #212529;
        padding: 0 6px;
    }

}
