/*index*/

.hm_top_image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/img/top_image.webp");
    background-repeat:no-repeat;
    background-size:cover;
    background-position:right bottom;
    width: 1000px;
    margin-left:auto;
    right: 0;
    bottom: 0;
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 5%,
        rgba(0, 0, 0, 1) 50%
    );
}

.hm_top {
    padding:80px 0;
}

h2.hm_top_image_h2 {
    font-size:3.3rem;
    line-height:4.3rem;
    font-weight:400;
}

p.hm_top_image_text {
    font-size:1.2rem;
    margin-top:50px;
}

.hm_top_reason {
    padding:80px 0;
}

p.hm_top_reason_p {
    font-size:1.7rem;
    line-height:1.7rem;
}

.hm_top_reason_box {
    margin-top:80px;
}

.hm_tu_reason_item {
    width:22%;
}

.hm_tu_reason_item + .hm_tu_reason_item {
    position: relative;
}

.hm_tu_reason_item + .hm_tu_reason_item::before {
    content: "";
    position: absolute;
    left: calc(-8.5% / 22 * 100);
    top: 25%;
    height: 50%;
    border-left: 1px solid #ccc;
}

h3.hm_tu_reason_h3 {
    font-size:1.5rem;
    line-height:2.5rem;
}

p.hm_tu_reason_p {
    font-size:0.9rem;
    line-height:1.7rem;
    margin-top:20px;
}

.tp_middle {
    padding:150px 0;
    text-align: center;
}

.text_underline>span {
    position: relative;
    display: inline-block;
}

.text_underline>span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 20px;
    bottom: -2px;       /* 線の位置 */
    height: 2px;        /* 線の太さ */
    background: var(--c_enji);   /* 線の色 */
}

.tp_go {
    display:inline-block;
    font-size:2.2rem;
    line-height:2.2rem;
    background-image:url(/img/hammer.svg);
    background-position: 10px center;
    background-size:60px;
    padding:20px 0 10px 100px;
    border-bottom:2px solid var(--c_enji);
}

.tp_daiku {
    background-image:url(/img/daiku_btn.webp);
    background-position:center center;
    background-size:cover;
    padding:40px;
    border:3px solid var(--c_enji);
    border-radius:8px;
    margin-top:80px;
}

p.tp_daiku_p {
    font-size: 1.5em;
}

h3.tp_daiku_h3 {
    font-size:2.3rem;
    line-height:2.3rem;
    margin-top:10px;
}

.text_underline>span {
    position: relative;
    display: inline-block;
}

.text_underline>span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 20px;
    bottom: -2px;       /* 線の位置 */
    height: 2px;        /* 線の太さ */
    background: var(--c_enji);   /* 線の色 */
}

a.tp_daiku_a {
    width:90%;
    display: block;
    margin:40px auto 0 auto;
    font-size: 1.6rem;
    line-height:1.6rem;
    padding:25px 0;
}

.tp_craftsman_img {
    width:55%;
}
.tp_craftsman_img>img {
    width:100%;
}

.tp_craftsman_text {
    width: 45%;
    padding-left:100px;
}

h2.tp_craftsman_h2 {
    font-size:2rem;
    font-weight:400;
}

p.tp_craftsman_p {
    margin-top:20px;
    font-size: 1rem;
    line-height:1.7rem;
}





/*daiku*/
.dk_top_3items>p {
    padding:15px 0;
    text-align: center;
    width:30%;
    font-size:1.6rem;
    line-height:1.6rem;
    border-radius: 8px;
    border:1px solid var(--c_enji);
    background-color: var(--c_white);
}

.dk_show {
    margin-top:80px;
    width: 100%;
}

.dk_show_text {
    width:50%;
}

p.dk_show_subject {
    font-size:2.8rem;
    line-height:3.8rem;
}

p.dk_show_text {
    width: 100%;
    margin-top:30px;
}

.dk_show_img {
    width:45%;
}

.dk_line_p {
    display: flex;
    align-items: center;
    gap: 60px;
    font-size:1.3rem;
    margin:100px 0;
}

.dk_line_p::before,
.dk_line_p::after {
    content: "";
    flex: 1;
    border-top: 1px dashed #000;
}

.dk_line_p span {
    white-space: nowrap;
}

h2.dk_feature_h2 {
    padding:60px 0;
    font-size: 2rem;
    line-height:3rem;
    text-align: center;
    margin-top:30px;
}
h2.dk_feature_h2>span {
    font-size:1.5rem;
}

.dk_feature {
    margin:80px 0;
}

.dk_feature_item {
    width:30%;
    background-color: var(--c_white);
    padding:40px 0;
}

h3.dk_feature_h3 {
    text-align: center;
    font-size:1.8rem;
    line-height:2.4rem;
}

h3.dk_feature_h3>span {
    text-emphasis: filled dot;
    text-emphasis-position: over;
}

.dk_feature_item>p {
    padding:0 30px;
}

/*2つめ以降のp全て*/
h3.dk_feature_h3 ~ p {
    padding-top:20px;
}
/*一つ目のp*/
h3.dk_feature_h3 + p {
    padding-top:40px;
}

.dk_feature_item_img {
    width:30%;
    background-image:url(/img/exterior.webp);
    background-size:cover;
    background-position:center center;
    display: flex;
    flex-direction: column;
}
p.dk_feature_img_caption {
    margin-top:auto;
    text-align: center;
    line-height:1.3rem;
    padding:15px 0;
}

h2.dk_example_h2 {
    font-size:2rem;
}

.dk_exam_item {
    margin-top:80px;
}

.dk_exam_imgbig {
    width:600px;
}
.dk_exam_imgbig>img {
    width:300px;
    display:inline-block;
}

.dk_exam_textbig {
    width:500px;
    padding-left:50px;
}

h3.dk_exam_h3 {
    font-size:1.5rem;
    line-height:2.5rem;
    font-weight:400;
}

p.dk_exam_text1st_p {
    margin-top:30px;
}

.dk_exam_small {
    background-color:var(--c_gray);
    width:90%;
    margin:30px auto;
    line-height:1.8rem;
}

.dk_exam_textsmall_p::first-letter {
    font-size:2rem;
    
}

.dk_exam_notice {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    line-height:2rem;
    width:50%;
    margin:0 auto;
}


.dk_exam_notice::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid var(--c_enji);
}

.dk_exam_textsmall {
    width:calc(100% - 400px);
    padding:30px;
}

.dk_exam_imgsmall {
    width:400px;
}
.dk_exam_imgsmall>img {
    width:200px;
}

p.dk_exam_notes {
    font-size: 1.1rem;
    line-height:1.8rem;
    margin-top:80px;
}


.dk_flow_chart {
    display: flex;
    align-items: center;
    padding: 40px;
}

.dk_flow_chart_item {
    flex: 0 0 28%;
    height: 166px;
    margin-right: -2.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.heitan {
    clip-path: polygon(
        0 0,
        88% 0,
        100% 50%,
        88% 100%,
        0 100%
    );
}

.tongari {
    clip-path: polygon(
        0 0,
        88% 0,
        100% 50%,
        88% 100%,
        0 100%,
        12% 50%
    );
}

.dk_flow_chart_text {
    flex: 1;
    padding-left: 5%;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

h2.dk_flow_h2 {
    background-image:url(/img/hammer.svg);
    background-position:left center;
    background-size:50px;
    padding:10px 0 10px 70px;
    filter: brightness(10);
    font-size:2.1rem;
    line-height:2.1rem;
}

p.dk_flow_p {
    margin-top:40px;
    margin-left:60px;
}

.dk_after {
    margin-top:50px;
}

.dk_after_text {
    width:40%;
}

h3.dk_after_h3 {
    font-size:2.1rem;
    line-height:2.1rem;
}

.dk_after_img {
    width:55%;
    background-image: url(/img/after_care.webp);
    background-position:center center;
    background-size:cover;
    height:200px;    
}

/*company*/
.cy_map {
    width:100%;
}

.cy_map>* {
    width:45%;
}

.cy_map_img {
    text-align: right;
}

.cy_map_img>img {
    width:400px;
}

p.cy_map_text {
    margin-left:10%;
    font-size:2rem;
    line-height:3.5rem;
}

.cy_overview {
    width:90%;
    margin:100px auto;
}

table.cy_tbl {
    width:100%;
    border-collapse: collapse;
}

table.cy_tbl td {
    padding:20px 0;
    border-bottom: 1px solid var(--c_enji);
}

table.cy_tbl td + td {
    border-left:1px dotted var(--c_enji);
}

table.cy_tbl tr:first-child td {
    border-top:1px solid var(--c_enji);
}

td.cy_tbl_left {
    width:25%;
    font-size:1.1rem;
    background-color:var(--c_d_gray);
    text-align: center;
}

td.cy_tbl_right {
    padding-left: 50px !important;
}

/*contact*/
h2.mf_top_h2 {
    font-size:2rem;
}

p.mf_top_p {
    font-size:1.2rem;
    line-height:2rem;
    margin-top:30px;
}

.mf_form {
    margin-top:50px;
    font-size:1.2rem;
    line-height:1.5rem;
}

.mf_form label {
    display: inline-block;
    margin-top:30px;
}

.mf_form label>span {
    font-size:1rem;
    color:var(--c_enji);
}

.mf_form input {
    font-size:1.3rem;
    padding:5px;
}

.mf_form .email input {
    width:40%;
}

.mf_form .radio {
    display: flex;
    align-items:center;
    justify-content:center;
    gap: 60px;
    font-weight:400;
    background-color:var(--c_white);
    padding:20px !important;
    margin:5px auto 0 auto;
    width:400px;
    border-radius: 8px;

}

.mf_form .radio label {
    display: inline-block;
    margin:0;
}     

.mf_form .textarea {
    margin-top:5px;
}

.mf_form .textarea::placeholder {
    font-weight: 400;
}

.mf_form textarea {
    width:500px;
    overflow: hidden;
    resize: none;
    padding:10px;
}

.mf_recapcha {
    width:100%;
    margin:50px 0;
}

p.mf_error {
    font-size:1rem;
    margin-top:5px;
    color:#bb0000;
}

.mf_submit {
    margin-top:80px;
    margin-bottom:100px;
}

.mf_submit>button {
    display: block;
    width: 280px;
    margin: 40px auto 0;
    padding: 16px 20px;
    border: 1px solid #7a3e48;
    border-radius: 3px;
    background: #7a3e48;
    color: #e8e1d7;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: 0.3s;
}

.mf_submit>button:hover {
    background: #8a6a4a;
    border-color: #8a6a4a;
}

.mf_confirm {
    width:80%;
    margin:50px auto;
    background-color:var(--c_white);
    padding:50px 50px 80px 50px;
}

.mf_confirm dt {
    font-weight:600;
    margin-top:30px;
    font-size:1.2rem;
}

.mf_confirm dd {
    font-size:1.3rem;
    color:var(--c_enji);
}

dd.mf_confirem_textarea {
    font-size:1.1rem;
    line-height:1.6rem;
    text-align: left;
    width:calc(var(--main_width) * 0.5);
    margin:0 auto;
}

.mf_confirm_submit {
    margin-top:80px;
    margin-bottom:100px;
}

.mf_confirm_submit a.return_a {
    display: block;
    width: 280px;
    margin:0 3%;
    padding: 10px 20px;
    border: 1px solid #7a3e48;
    border-radius: 3px;
    background: var(--c_white);
    color: var(--c_enji);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: 0.3s;
}
.mf_confirm_submit a.return_a:hover {
    background: var(--c_d_gray);
    border-color: var(--c_black);
    color:var(--c_black);
}

.mf_confirm_submit a.send_a {
    display: block;
    width: 280px;
    margin:0 3%;
    padding: 10px 20px;
    border: 1px solid #7a3e48;
    border-radius: 3px;
    background: #7a3e48;
    color: #e8e1d7;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: 0.3s;
}

.mf_confirm_submit a.send_a:hover {
    background: #8a6a4a;
    border-color: #8a6a4a;
}

a.mf_complete_link {
    display: block;
    width: 280px;
    margin: 100px auto 0;
    padding: 10px 20px;
    border: 1px solid #7a3e48;
    border-radius: 3px;
    background: #7a3e48;
    color: #e8e1d7;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: 0.3s;
}

a.mf_complete_link:hover {
    background: #8a6a4a;
    border-color: #8a6a4a;
}

