
/*見出し*/
.page h2.ti {
    font-size: 3em;
    text-align: center;
    line-height: 1;
/*    display: table;*/
    margin: 0 auto 1em;
    position: relative;
    padding-bottom: 1em;
/*    position: absolute;
    left: 0;
    right: 0;*/
    top: 80px;
    z-index: 9;
}
.page h2.ti span {
    font-size: 0.4em;
    display: block;
    margin: 1.4em 0 0;
}
.page h2.ti b {
    font-size: 1.2em;
}
.page h2.ti:before {
    content: "";
    height: 8px;
    width: 120px;
    background: #dad7f4;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.page h2.ti:after {
    content: "";
    height: 8px;
    width: 40px;
    background: #1a0f7e;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.page h3 {
    font-weight: bold;
    vertical-align: top;
    line-height: 1;
    margin: 2em 0 20px;
    padding: 0;
    font-size: 2.4rem;
}
.page h3:before {
    content: "";
    display: inline-block;
    width: 6px;
    background: #1a0f7e;
    height: 1em;
    margin-right: 0.5em;
    position: relative;
    top: 4px;
}

.page table ,
.page table th ,
.page table td {
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 1px #ccc;
}
.page table th ,
.page table td {
    padding: 1em;
}
.page table th{
    width: 20%;
}
.page .ti_bg {
    height: 300px;
    background-size: 100%;
    position: relative;
    overflow: hidden;
}
.page .ti_bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    filter: blur(3px);
    z-index: -1;
}
.page .ti_bottom {
    content: "";
    display: block;
    height: 79;
/*    background: url(../img/white_gra.png);*/
    position: absolute;
    bottom: 0px;
    /* background: red; */
    z-index: 333;
    width: 100%;
}

/*house*/
.house_img::before{
    background: url(../img/23196092_m.jpg) no-repeat;
    opacity: .7;
}
.house_message {
    position: relative;
    display: table;
    margin: 0 auto 80px;
    background-size: 100%;
    backdrop-filter: blur(12px);
    width: 90%;
    border-radius: 40px 40px 0 0;
    padding: 0 5%;
    overflow: hidden;
}

.house_message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/29781387_m.jpg) center bottom no-repeat;
    background-size: cover;
    filter: blur(3px); /* ぼかし効果 */
    z-index: -1;
}
.page .house .house_message h3 {
    font-family: serif;
    font-size: 3.0rem;
    line-height: 2.5;
    margin: 2em 0;
    vertical-align: middle;
    text-align: left;
    color: #fff;
}
.page .house .house_message h3:before{
    display: none;
}
.page .house .house_message h3 span {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.4em;
    letter-spacing: 0.1em;
}
.house_message_txt ,
.house_message_img {
    display: table-cell;
}
.house_message_img{
padding: 40px 0 0 80px;
}
.house_sub_message_box {
    display: table;
    margin: 40px auto;
}
.house_sub_message_txt ,
.house_sub_message_img{
    display: table-cell;
    vertical-align: middle;
}
.house_sub_message_txt {
    padding: 0 40px;
    background: #f7e6f6;
    width: 60%;
}

/*faq*/
.faq_img::before {
    background: url(../img/29568823_m.jpg) no-repeat center;
    opacity: .7;
}
.faq details {
    margin-bottom: 2em;
    padding-left: 2em;
}
.faq summary {
    font-size: 1.8rem;
    text-decoration: underline;
}
.faq summary:hover {
    opacity: 0.7;
}
summary {
    display: list-item;
    cursor: pointer;
}
.faq details[open] {
    background: #efefef;
    padding: 1em 1em 0.5em;
}
.faq details[open] p {
    margin-top: 0.5em;
}


/*flow*/
.flow_img::before {
    background: url(../img/5016318_m.jpg) no-repeat center;
    opacity: .7;
}
.flow_list {
    position: relative;
}
.flow_list_img1 ,
.flow_list_img2 ,
.flow_list_img3{
    position: absolute;
    z-index: -1;
}
.flow_list_img1 {
    right: -480px;
    top: 100px;
}
.flow_list_img2 {
    left: -480px;
    top: 1100px;
}
.flow_list_img3 {
    right: -480px;
    bottom: 200px;
}

.flow_list ul{
    outline:1px solid #f0eefc;
    outline-offset: -1px;
    z-index: 2;
}


.flow_list ul li {
    display: table;
    width: 100%;
}
.flow_list ul li .num ,
.flow_list ul li .txt {
    display: table-cell;
    vertical-align: top;
}
.flow_list ul li .num {
    width: 14%;
}
.flow_list ul li {
    display: table;
    width: 92%;
    padding: 4%;
}
.flow_list ul li:nth-child(odd){
    background: #f0eefc;
}
.flow_list ul li:nth-child(even){
    background: #fff;
}
.flow_list ul li dl dt{
    font-size: 2.4rem;
    font-weight: bold;
}
.flow_list ul li dl dd{
    font-size: 1.8rem;
}
.flow_list ul li .num span.octagon {
    display: inline-block;
    padding: 0.8em;
    font-size: 3.6rem;
    color: #fff;
    line-height: 1;
}

.flow_list .octagon {
    position: relative;
    background-color: #1a0f7e;
    clip-path: polygon(
        30% 0%,  /* 上辺左 */
        70% 0%,  /* 上辺右 */
        100% 30%, /* 右辺上 */
        100% 70%, /* 右辺下 */
        70% 100%, /* 下辺右 */
        30% 100%, /* 下辺左 */
        0% 70%,  /* 左辺下 */
        0% 30%   /* 左辺上 */
    );
}
.flow_list .octagon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 50%, transparent 50%);
    clip-path: inherit; /* 同じ八角形のクリップパスを適用 */
}
.flow summary {
    text-decoration: underline;
}
.flow details[open]{
    background: #fff;
    padding: 1em;
}

/*category*/
.category .category_list li {
    float: left;
    width: 30%;
    margin-bottom: 60px;
}
.category .category_list li:nth-child(2) ,
.category .category_list li:nth-child(5) ,
.category .category_list li:nth-child(8) ,
.category .category_list li:nth-child(11) ,
.category .category_list li:nth-child(13){
    margin: 0 5%;
}
.category .category_list .top_blog_img{
    overflow: hidden;
    height: 200px;
}
.category .category_list .top_blog_img img {
    width: 100%;
    height: auto;
}
.category .category_list h5 {
    margin: 0;
    font-size: 2.0rem;
    text-align: center;
}
.category .category_list h5 a {
    background: #000;
    color: #fff;
    display: block;
    font-weight: normal;
}
ul.post-link li {
    display: table-cell;
    padding: 2em;
}
.category_list .date {
    color: #ccc;
    text-align: center;
    margin-bottom: 0.5em;
    display: inline-block;
}

/*case*/
.case_ti_img::before{
    background: url(../img/22103555_m.jpg) center no-repeat;
    opacity: .7;
}

/*compnay*/
.company_img::before{
    background: url(../img/bg_company.jpg) center no-repeat;
    opacity: .4;
}
.company th {
    background: #efefef;
}


/*news*/
.news_ti_img::before{
    background: url(../img/29758925_m.jpg) top no-repeat;
    opacity: .4;
}
.news_list {
    display: table;
    margin: 0 auto;
}
.news_list a{
    display: inline-block;
    margin-left: 1em;
    padding: 0.5em;
}
.news_list li {
    border-bottom: 1px dotted #ccc;
}


/* top contact*/
section#contact table {
    margin: 0 auto;
}
section#contact table th {
    font-size: 1.4em;
    font-weight: normal;
    text-align: right;
    padding: 0 2em 0 0;
}
section#contact table td {
    padding: 0.6em 0;
}
section#contact input[type="text"] ,
section#contact input[type="tel"] {
    font-size: 1em;
    padding: 0.5em 1em;
    border-radius: 10px;
    border: 1px solid #ccc;
    min-width: 250px;
    background: #fff;
}
section#contact textarea {
    padding: 0.5em 1em;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1.2em;
    line-height: 1.5;
    font-weight: normal;
    min-width: 400px;
    background: #fff;
}
section#contact input[type="submit"] {
    background: red;
    color: #fff;
    text-align: center;
    padding: 0.5em 3em;
    border-radius: 30px;
    font-size: 1.4em;
    display: table;
    margin: 4vh auto;
    border:none;
}
section#contact .wpcf7-list-item{
    margin: 0;
}

/*contact*/
td.contact_check {
    font-size: 1.2rem;
}
.page #contact table th {
    width: 30%;
}
.contact_img::before{
    background: url(../img/29364312_m.jpg) center no-repeat;
    opacity: .4;
}
.page #contact table, .page #contact table th, .page #contact table td{
    border:none;
}
.page #contact table {
    display: table;
    margin: 0 auto;
}


@media (max-width: 1200px) {

}
@media (max-width: 1100px) {
.house_message {
    padding: 0 2vw 0 3vw;
    width: 94vw;
}
.flow_list_img1, .flow_list_img2, .flow_list_img3{
    display: none;
}

/*top contact*/
section#contact textarea {
    min-width: auto;
}
}

@media (max-width: 750px) {

.page h2.ti {
    font-size: 2em;
    top: 4vh;
    z-index: 9;
}
.page h2.ti:before {
    width: 16vw;
    height: 4px;
}
.page h2.ti:after {
    width: 8vw;
    height: 4px;
}
.page .ti_bg {
    height: 20vh;
}
.page h3 {
    margin: 2em 0 1em;
    font-size: 1.4rem;
}

/*flow*/
.flow_list ul li .num, 
.flow_list ul li .txt{
    display: block;
}
.flow_list ul li {
    width: auto;
    padding: 5vw;
}
.flow_list ul li .num {
    width: auto;
    text-align: center;
    margin-bottom: 1em;
}
.flow_list ul li .num span.octagon {
    font-size: 2em;
}
.flow_list_img1 ,
.flow_list_img2 ,
.flow_list_img3{
    display: none;
}
.flow_list ul li dl dt {
    font-size: 1.4em;
}
.flow_list ul li dl dd {
    font-size: 1em;
}

/*house*/
.house_message {
    margin: 0 auto 2vh;
    padding: 0 0 0 5vw;
    width: auto;
    border-radius: 20px 20px 0 0;
}
.house_message_img {
    padding: 2vh 0 0 0;
    width: 25%;
}
.page .house .house_message h3 {
    font-size: 1.2em;
    line-height: 2;
}

.house_sub_message_txt, .house_sub_message_img {
    display: block;
}
.house_sub_message_txt {
    padding: 5vw;
    width: auto;
}
.house_sub_message_box {
    margin: 5vw 0;
}



/*message*/
#message p.message_txt{
    font-size: 1.2em;
}
#message .catch_img {
    position: relative;
    right: 0;
    bottom: 0;
    width: auto;
    text-align: center;
    margin-top: 4vw;
    z-index: -9;
    height: auto;
}

/*category*/
.category .category_list .top_blog_img {
    height: auto;
}
.category .category_list li {
    float: none;
    width: auto;
    margin-bottom: 5vw;
}
.category .category_list li:nth-child(2), .category .category_list li:nth-child(5), .category .category_list li:nth-child(8), .category .category_list li:nth-child(11), .category .category_list li:nth-child(13){
    margin: 0 0 5vw 0;
}
.category .category_list h5 a {
    font-size: 1rem;
    padding: 0.5em;
}

/*faq*/
.faq summary {
    font-size: 1rem;
}
/*case*/
#case .slick-track {
    top: 0;
    padding-bottom: 0;
}
ul.case_list li:last-child {
    margin-bottom: 0;
}
#case .slick-center .case_box {
    position: relative;
    transform: scale(1);
    transition: transform 0.25s ease-in-out;
    z-index: 2;
}
#case .case_box {
    margin: 0;
    box-shadow: none;
    outline: none;
}
.case_img {
    height: 26vh;
}
ul.case_list li h3{
    font-size: 6vw;
}
.case_txt p{
    font-size: 4vw;
}
.case_txt p {
    min-height: auto;
}
.case_btn {
    margin-top: 4vh;
    text-align: center;
}

/*news*/
#news table {
    width: 100%;
}
#news table th, #news table td {
    display: block;
}
#news table tr{
    padding-bottom: 1em;
}
#news table th{
    border:none;
    text-align: left;
    padding: 0.5em 0 ;
}
#news table td{
    padding: 0 0 1em;
}


/*
company*/
.company table th, .company table td{
    font-size: 3.6vw;
    display: block;
}
.company table th, .company table td {
    font-size: 3.6vw;
    display: block;
    width: auto;
}

/*contact*/
td.contact_check {
    font-size: 0.8rem;
}
.page #contact table th {
    width: auto;
}
section#contact input[type="text"], section#contact input[type="tel"] {
    font-size: 3.6vw;
    padding: 0.5em 1em;
    border-radius: 10px;
    border: 1px solid #ccc;
     min-width: auto;
     width: 90vw;
    background: #fff;
}
section#contact textarea {
    width: 90vw;
}

/*top company*/
#company table {
    font-size: 1em;
    width: 100%;
}
#company table td ,
#company table th {
    border-bottom: 1px dotted #ccc;
}
#company .map {
    margin-top: 4vh;
}
#company .map iframe {
    height: 30vh;
}

/*top contact*/
section#contact table {
    margin: 0 auto;
    width: 100%;
}
section#contact table th, 
section#contact table td {
    display: block;
}
section#contact table th{
    text-align: left;
    padding: 0;
    font-size: 1rem;
}
/*
section#contact input[type="text"] {
    width: 90%;
}
section#contact textarea {
    width: 90%;
}*/


}