@font-face {
    font-family: 'AvenirSerif';
    src: url('https://lc.hitachi-rep.co.jp/creacasa/fonts/AveriaSerif-Bold.ttf') format('truetype');
    font-weight: 700;
}
@font-face {
    font-family: 'AvenirSerif';
    src: url('https://lc.hitachi-rep.co.jp/creacasa/fonts/AveriaSerif-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'AvenirSerif';
    src: url('https://lc.hitachi-rep.co.jp/creacasa/fonts/AveriaSerif-Light.ttf') format('truetype');
    font-weight: 300;
}
.en {
    font-family: 'AvenirSerif';
    letter-spacing: 0.1em;
    display: block;
    font-size: 2em;
}
.topicpath {
    font-size: 1em;
}
.topicpath,
.topicpath ol li a {
    color: #000;
}
.topicpath li img {
    width: 20px;
    vertical-align: top;
    margin-right: 10px;
}
#main-visual {
    background-size: cover !important;
    padding: 160px 0;
}
#main-visual .text {
    position: relative;
    width: 370px;
    max-width: 95%;
    background-color: #1a1a1a;
    padding: 65px 30px 135px;
    margin: 0 auto;
    max-height: 300px;
}
#main-visual .text h2 {
    color: #fff;
    font-size: 1.22em;
    text-align: center;
    letter-spacing: 0.06em;
    margin-bottom: 0;
    line-height: 1.2;
    padding: .8em 0 .7em;
}
#main-visual .text img {
    width: 167px !important;
    position: absolute;
    right: -7px;
    bottom: -17px;
}
@media (max-width: 430px) {
    #main-visual .text {
        padding: 40px 30px 50px;
        max-height: 180px;
    }
    #main-visual .text h2 {
        font-size: 1.16em;
    }
    #main-visual .text img {
        width: 130px !important;
    }
}
h3 {
    text-align: center;
    font-size: 2em !important;
    line-height: 1.8em !important;
    border: none !important;
}
h3,
h4 {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.footer-link {
    border: 2px solid #000;
    position: relative;
}
.footer-link a {
    padding: 20px;
    display: block;
    margin-bottom: 0;
    text-align: center;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    color: #fff;
    font-family: 'AvenirSerif';
    letter-spacing: 0.1em;
    background: #000;
}
.footer-link a:hover {
    background-color: #fff;
    text-decoration: none;
    color: #000;
}
.mb20 {
    margin-bottom: 20px !important;
}
a > img {
    opacity: 1;
    transition: .3s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.f-mincho {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.flowpage #main-visual{
    background: url(../images/concept/concept-bg.jpg) no-repeat center;
}
.flowpage #main-visual .text h2{
  line-height: 1.7em !important;
}
.flowpage #main-visual .text h2 span {
    margin-bottom: 24px;
}
.pc-none{
    display: none;
}

/* 家づくりの流れ */
h3.zeh-h3{
    font-size: 1.55rem !important;
}
.zeh-h3 {
    position: relative;
    padding: 0 0 15px 0;
    display: inline;
}
.zeh-h3::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    content: '';
    background-image: -webkit-repeating-linear-gradient(135deg, #2DA4A7, #2DA4A7 1px, transparent 2px, transparent 5px);
    background-image: repeating-linear-gradient(-45deg, #2DA4A7, #2DA4A7 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.point-head-mgt{
    margin-top: 130px;
}
.point-head {
    margin-bottom: 100px;
    text-align: center;
}
main .container {
    max-width: 1140px !important;
}
main p {
    line-height: 1.8em;
    margin-bottom: 1.3rem;
    font-size: 15px;
}
#s2 {
    margin-bottom: 120px;
}
#s2 .container {
    max-width: 580px !important;
}
#s3 {
    margin-bottom: 100px;
}
#s3 * {
    color: #fff;
}
#s3 h3.tt {
    margin-bottom: 20px;
}
#s3 .visual02 {
    position: relative;
    background: url(../images/flow/bg04.jpg) no-repeat center;
        background-size: auto;
    background-size: cover;
    padding: 176px 10px 120px;
}
#s3 .visual::before {
    content: '';
    display: block;
    position: absolute;
    width: 277px;
    height: 137px;
    background: url(../images/house-making/img09.png) no-repeat center;
        background-size: auto;
    background-size: 100% auto;
    z-index: 2;
    top: 40px;
    right: 60px;
}
#s3 .visual .text {
    position: relative;
    max-width: 502px;
    background-color: #000;
    z-index: 3;
    padding: 0 40px 40px;
    margin: 0 auto;
}
#s3 .visual .himg {
    position: relative;
    text-align: right;
    top: -25px;
    right: -10px;
    margin-bottom: -40px;
}
#s3 .visual h3, #s3 .visual p {
    color: #fff;
}
#s3 .visual h3 {
    line-height: 1.7em !important;
    text-align: left;
    margin-bottom: 20px;
    margin-top: 0;
}
#s3 .visual p {
    margin-bottom: 2.2rem;
}
#s3 .visual .btn {
    width: 100%;
    background-color: #fff;
}
.mini-p {
    font-size: 12px;
    display: block;
    margin-left: 40px;
    margin-top: 6px;
}
#s4 {
    margin-bottom: 110px;
}
#s4 .container {
    display: flex;
    flex-wrap: wrap;
}
#s4 .text {
    width: 460px;
    background-color: #1a1a1a;
    padding: 45px;
}
#s4 .text h3 {
    font-size: 1.12em !important;
    text-align: left;
    line-height: 1 !important;
    margin-bottom: 20px;
}
#s4 .text h3 img {
    width: 106px;
}
#s4 .text h3 span {
    display: block;
    color: #fff;
    padding-left: 50px;
}
#s4 .text p {
    color: #fff;
    margin-bottom: 0;
}
#s4 iframe {
    flex: 2;
}

#s5 h3 {
    margin-bottom: 35px;
}
#s5 .himg img {
    width: 243px;
    margin-bottom: 35px;
}
#s5 ul {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
}
#s5 li {
    display: flex;
    width: 31.8%;
    margin-bottom: 40px;
	margin-right: 2.3%;
}
#s5 li:nth-child(3) {
	margin-right: 0;
}
#s5 li a {
    display: flex;
    align-items: center;
    width: 100%;
    background: url(../images/house-making/arrow.png) no-repeat right 12px bottom 12px #1a1a1a;
        background-size: auto;
    background-size: 16px auto;
    color: #fff;
    padding: 25px 17px;
}
#s5 li img {
    width: 90px;
    margin-right: 12px;
}
#s5 li span {
    flex: 2;
	letter-spacing: -.1em;
}
#s5 li p {
    line-height: 1.5em;
    margin-bottom: 5px;
}
#s5 li h4 {
    margin-bottom: 0;
    margin-top: 0;
}
.flow-flexbox{
    display: flex;
    background: #fff;
    flex-wrap: wrap;
}
.period-area{
    width: 10%;
    position: relative;
    border-top: dashed 2px #333;
    padding-top: 15px;
    margin-top: 21px;
}
.period{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    height: 100%;
}
.thintop{
    position: relative;
    border-left: 1px solid #333;
    height:40%;
}
.thintop::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 15px;
    height: 15px;
    border: 1px solid;
    border-color: transparent transparent #333 #333;
    transform: rotate(135deg);
    left: -8px;
}
.vertical-rl{
    writing-mode: vertical-rl;
    letter-spacing: 1.9px;
    color: #333;
}
.upright-all{
    text-combine-upright: all;
    position: relative;
    left: 2px;
}
.thinbottom{
    position: relative;
    border-left: 1px solid #333;
    height:40%;
}
.thinbottom::after{
    content: "";
    display: block;
    position: absolute;
    bottom:0;
    left: -8px;
    width: 15px;
    height: 15px;
    border: 1px solid;
    border-color: transparent transparent #333 #333;
    transform: rotate(-45deg);
}
.flow-content-box {
    width: 90%;
}
.flow-num-h4 {
    margin-bottom: 0;
    line-height: 1;
}
.flow-box{
    border-left: 1px solid #333;
    margin-left: 12px;
    margin-top: -12px;
}
.no11 .flow-box{
    border-left:none;
}
.flow{
    padding: 30px 30px 60px 30px;
}
.method-num {
    margin-right: 10px;
}
.method-num-h4-sp-position {
    font-size: 40px;
    letter-spacing: 2px;
}
.flow-contact-btn{
    width:50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.flow-contact-qr{
}
.flow-contact-qr p{
    margin-bottom: 0;
}
.flow-contact-qr img{
    width:200px;
}
.flow-img-area{
    margin-top: -260px;
    z-index: -1;
    position: relative;
    margin-bottom: 5vw;
}
.area-ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.area-ul li{
    font-size: 14px;
    font-weight: 700;
    margin-right: 15px;
    margin-bottom: 0;
}
p.linkT {
    margin-bottom: 0;
}
.linkT a {
    padding: 1em 2em;
    box-sizing: border-box;
    background-color: #2DA4A7;
    color: #fff;
    transition: .3s;
    display: block;
    border: 1px solid #2DA4A7;
}
.linkT a:hover {
    background: #fff;
    color: #2DA4A7;
    text-decoration: none;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.linkT i {
    margin-left: 0.5em;
}
@media (max-width: 991px){
    #s5 li {
        width: 48%;
        margin-bottom: 4.6%;
    }
    #s5 li:nth-child(odd) {
        margin-right: 4%;
    }
    #s5 li:nth-child(even) {
        margin-right: 0;
    }
}
@media (min-width: 768px) {
    .spNone{
        display: none;
    }
}
@media (max-width: 767px) {
    .pc-none{
        display:block;
    }
    .line-up-preface-text-area {
        text-align: left;
    }
    .flow-contact-btn {
        width: 100%;
    }
    .flow-img-area{
        margin-top: -120px;
    }
    .flow-contact-qr p {
        margin: 15px 0;
    }
    img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    #s2 li {
        width: 40%;
    }
	#s5 li {
		width: 100%;
		margin-bottom: 20px;
	}
    #s5 li:nth-child(odd) {
        margin-right: 0;
    }
    .himg img {
        width: 50%;
    }
}
@media (max-width: 575px) {
    .method-num-h4-sp-position {
        font-size: 20px;
        letter-spacing: 1.7px;
    }
    .period-area {
        margin-top: 8px;
    }
    .flow {
        padding: 20px;
        padding-right: 0;
    }
    .flow p{
        font-size: 13px;
    }
    .flow-img-area{
        margin-top: -65px;
    }
}
@media (max-width: 550px){
    #s2 {
        margin-bottom: 70px;
    }
    #s2 li {
        width: 45%;
    }
    #s4 {
        margin-bottom: 10px;
    }
    #s5 {
        padding-top: 40px;
        padding-bottom: 70px;
    }
}
@media (max-width: 430px){
    #main-visual .text h2 {
        font-size: 1.16em;
    }
}
