@charset "UTF-8";

/*MV調整_250808*/
#mv {
    height: 100vh;
}
#mv .mv_text{
    display: flex;
    align-items: center!important;
    justify-content: center!important;
}
#mv .mv_text.t_align_center>div {
    margin: auto;
    text-shadow: 0px 0px 5px rgba(000, 000, 000, 1);
}
@media screen and (max-width: 100vh) {
    #mv {
        height: 100vh;
    }
}
@media screen and (max-width: 900px) {
    #mv {
        height: 100vh;
    }
}
@media screen and (max-width: 768px) {
   #mv .mv_text h2{
       font-size: 30px!important;
   }
   #mv .mv_text p {
       font-size: 10px;
   }
}
@media screen and (max-width: 650px) {
    #mv .mv_text p {
        font-size: 10px;
    }
}
@media screen and (max-width: 600px) {
    #mv_outer #mv .mv_text div p.static {
        font-size: 10px;
    }
}

/*ご挨拶パーツ_250808*/
#greeting + section{
    background-size: cover!important;
    /* 背景指定解除(2025/09/12) */
    /*background: linear-gradient(to bottom, transparent 0%, transparent 45%, #fff 100%), url(/images/convert/tkc-paintjp/20250807103948.jpg/image.webp) !important;*/
}
#greeting + section .content_wrapper,
#greeting + section .heading.block_header_1 p{
    color: var(--i_btn_txt_color);
    text-shadow: 0px 0px 10px rgba(000, 000, 000, 1);
}
#greeting + section .heading.block_header_1 .h{
    font-family: "MS PMincho", "ＭＳ Ｐ明朝", serif;
}
#greeting + section .inner_item_txt {
    font-family: "Noto Serif JP", serif;!important;
}
@media screen and (min-width: 769px) {
    #greeting + section .heading.block_header_1 p{
        font-size: 54px!important;
    }
    #greeting + section .heading.block_header_1 .h{
        font-size: 24px!important;
    }
    #greeting + section .inner_item_txt p{
        font-size: 16px!important;
    }
}

/*当社についてパーツ_250808*/
#us + section:after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0 0 0 / 50%);
}

/*事業内容パーツ_250808*/
#service + div .wrapper_item {
    padding: 1rem;
    max-width: 700px;
    margin: 0 auto;
}
#service + div .inner_item_txt {
    font-size: 40px;
    line-height: 1.3;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--i_txt_color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*filter: drop-shadow(0px 0px 5px rgba(000, 000, 000, 1));*/
}
@media screen and (min-width: 900px) {
    #service + div .heading.block_header_1 p{
        font-size: 48px!important;
    }
    #service + div .heading.block_header_1 .h{
        font-size: 18px!important;
    }
    #service + div .inner_item .inner_item_txt p{
        font-size: 44px!important;
    }
}
@media screen and (max-width: 900px) {
   #service + div .wrapper_item {
       gap: 1rem;
   }
   #service + div .inner_item{
       margin: 0!important;
   }
   #service + div .inner_item_txt p{
       font-size: max(4vw,25px)!important;
   }
}
@media screen and (max-width: 768px) {
    #service + div .add_text {
        font-size: 2.2rem;
    }
}
/*「我々(株)TKCは保証・点検の体制が整っております。」パーツ_250808*/
#top_prats1 + div{
    background-size: cover!important;
}
#top_prats1 + div .heading.block_header_1 p{
    color: var(--i_btn_txt_color);
    text-shadow: 0px 0px 5px rgba(000, 000, 000, 1);
}
#top_prats1 + div .wrapper_item .inner_item {
    background: rgb(53 92 118 / 50%);
    color: var(--i_btn_txt_color);
}
#top_prats1 + div .heading.block_header_4 .h {
    color: var(--i_btn_txt_color);
    font-weight: 600;
}
#top_prats1 + div .inner_item_txt p{
    color: var(--i_btn_txt_color);
}
#top_prats1 + div .heading.block_header_4 .h,
#top_prats1 + div .inner_item_txt p {
   font-family: "Noto Serif JP", serif;!important;
}
#top_prats1 + div .wrapper_item .inner_item_img {
    width: 50% !important;
    object-fit: contain;
    padding-top: 30px;
}
@media screen and (min-width: 768px) {
    #top_prats1 + div .heading.block_header_1 p{
        font-size: 40px!important;
    }
    #top_prats1 + div .heading.block_header_4 .h {
        font-size: 32px!important;
    }
    #top_prats1 + div .inner_item_txt p{
        font-size: 16px!important;
    }
}

/*施工事例パーツ_250809*/
#g+div .heading.block_header_1::before,
#g+div .heading.block_header_1::after,
#g+div .contents_btn01::before,
#g+div .contents_btn01::after {
    content: none;
}

@media screen and (max-width: 800px) {
	.index .heading.block_header_1 p,
	.index .heading.block_header_6 .h,
	.heading.block_header_1 p,
	.heading.block_header_6 .h,
	a[id^="hd"]+section .heading.block_header_2 .h,
	#c2+div .heading.block_header_4 .h,
        a[id^="clm2"]+div .heading.block_header_4 .h {
		font-size: 4.4rem !important;
		font-family: "Zen Old Mincho", serif, "Shippori Mincho" !important;
	}
	.heading.block_header_1 .h, .heading.block_header_6 p {
		font-size: 2.5rem;
		line-height: 1.3;
	}
	a#g+div {
		padding-top: 0;
	}
}

/*--- MVキャッチテキスト調整(2025/09/12) ---*/
@media only screen and (max-width: 768px) {
    #mv .mv_text h2 {
        font-size: 39px !important;
    }
    #mv .mv_text p {
        font-size: 13px;
    }
}
@media only screen and (max-width: 650px) {
    #mv .mv_text h2 {
        font-size: min(39px, 10.5vw) !important;
    }
    #mv .mv_text p {
        font-size: 2.3rem !important;
    }
}

/*--- ご挨拶背景変更(2025/09/12) ---*/
#greeting + section:before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 45%, #fff 100%);
    pointer-events: none;
}

/*--- 施工事例背景変更(2025/09/12) ---*/
#g + div:before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #FFFFFF 0%, #567F94 80%);
    pointer-events: none;
}
#g + div .heading.block_header_1 {
    background: none;
    color: var(--i_txt_color);
}
#g+div .contents_btn01 {
    padding-bottom: 0;
}
/*--- お客様の声背景変更(2025/09/12) ---*/
#v + div:before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #567F94 20%, #FFFFFF 100%);
    pointer-events: none;
}
#v + div .heading.block_header_6 {
    background: url(/common/upload_data/tkc-paintjp/image/w_h.png) no-repeat top center / 50px;
}
#v + div .heading.block_header_6 .h {
    color: var(--i_bg_color);
}

/*--- 各ページへのリンクパーツ(2025/09/12) ---*/
a[id^="clm2"]+div .heading.block_header_4 .h {
    color: var(--i_bg_color) !important;
    border-bottom: 1px solid var(--i_bg_color);
}
a[id^="clm2"]+div .heading.block_header_4 p {
    color: var(--i_bg_color) !important;
}
a[id^="clm2"]+.composite_box01.block_images_7 .inner_item_img:before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: #08080880;
    pointer-events: none;
}

/*--- 「我々(株)TKCは保証・点検の体制が整っております。」パーツの見出し調整(2025/09/12) ---*/
@media only screen and (max-width: 800px) {
    #top_prats1 + div .heading.block_header_1 p {
        font-size: 33px !important;
    }
}

/*--- コラムブログパーツ調整(2025/09/12) ---*/
#sys_c+div>.content_wrapper::before {
    content: none;
}
a[id^="sys"]+div>.content_wrapper {
    background: url(/images/convert/tkc-paintjp/20250912100801.png/image.webp);
    background-position: 50% 50%;
    background-repeat: repeat;
    background-size: 100% auto;
    margin: 0 auto;
}
@media screen and (max-width: 900px){
  a[id^="sys"]+div>.content_wrapper {
      background-size: 250% auto;
  }
  a#sys_c+div {
      padding-top: 0;
  }
  a#sys_b+div {
      padding-bottom: 0;
  }
}

/*--- 会社概要パーツ(2025/09/12) ---*/
#ab + div .heading.block_header_1:before {
    position: absolute;
    top: 140px;
    left: calc(50% - 125px);
    transform: translateY(-50%);
    content: '';
    width: 250px;
    height: 250px;
    background-image: url(/common/upload_data/tkc-paintjp/image/20250922112044.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}
@media screen and (max-width: 900px) {
    #ab + div .heading.block_header_1:before {
        width: 200px;
        height: 200px;
        left: calc(50% - 100px);
    }
}


/*施工事例パーツ(2025/09/12)*/
@media screen and (max-width: 767px) {
    a[id^="clm2"] + div .heading.block_header_4 .h {
        font-size: 3rem !important;
    }
    a[id^="clm2"] + .composite_box01.block_images_7 .inner_item_txt {
        min-height: initial;
    }
}
/*追加css20250922*/
#top_prats1 + div .wrapper_item .inner_item_img img {
    object-fit: contain;
}
br.pc {
    display: block;
}
@media screen and (max-width: 768px) {
    #top_prats1 + div .wrapper_item .inner_item_img {
        width: 80% !important;
        object-fit: contain;
        padding-top: 15px;
    }
    a#top_prats1+div {
        padding: 30px 15px;
    }
    [class*="dec2_"].composite_box01.block_images_1 .inner_item_txt {
        padding: 5px;
    }
    #top_prats1 + div .inner_item_txt p {
        font-size: 1.4rem;
    }
    br.pc {
        display: none;
    }
}

/*MV調整_251007*/
#mv,
#mv .mv_mp4,
#mv .mv_mp4 video{
    height: auto;
    max-height: initial !important;
}
@media screen and (max-width: 125vh){
    #mv.mv_mp4_cover {
        height: auto !important;
        min-height: 0 !important;
    }
}

#sp_mv +  .block_html {
    display: none;
}
@media screen and (max-width: 768px) {
    #mv .mv_mp4 {
        display: none;
    }
    #mv .mv_text {
        position: absolute;
        top: 50vw;
    }
    #sp_mv +  .block_html {
        display: block;
        padding: 0;
    }
    #sp_mv +  .block_html .content_wrapper {
        padding: 0;
    }
}

/* ご挨拶のテキストシャドウ調整(2025/10/08) */
#greeting + section .content_wrapper, #greeting + section .heading.block_header_1 p {
    text-shadow: 0 0 3px rgba(0, 0, 0, 1), 0 0 6px rgba(0, 0, 0, 0.9), 0 0 9px rgba(0, 0, 0, 0.7);
}

/* 会社概要ロゴ位置変更(2025/10/08) */
#ab + div .heading.block_header_1:before {
    width: 220px;
    height: 220px;
    left: calc(50% - 220px);
    top: 50px;
}
@media screen and (max-width: 900px) {
    #ab + div .heading.block_header_1:before {
        width: 220px;
        height: 220px;
        left: calc(50% - 160px);
    }
}


@media screen and (min-width: 801px) {
    br.sp {
        display: none;
    }
}


/* MV下余白調整_251016 */
#sp_mv + section video {
    display: block;
}
/* 施工事例パーツ_251016 */
#g + .widget_gallery01.add_design1 .inner_item {
    border: 1px solid;
    padding: 0 0 .5rem;
    margin: 0 1rem;
}
#g + .widget_gallery01.add_design1 .inner_item .heading{
    padding: .5rem .5rem 0;
}
#g + .widget_gallery01 .content_wrapper > .heading{
    position: relative;
    padding-bottom: 230px;
}
#g + .widget_gallery01 .content_wrapper > .heading::before {
    content: '';
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
    /* background-image: url(/common/upload_data/tkc-paintjp/image/20251017104810.png); */
    background-image: url(/common/upload_data/tkc-paintjp/image/20251020145834.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 350px;
    height: auto;
    aspect-ratio: 852 / 502;
    display: block;
    border: none;
}
@media screen and (max-width: 768px) {
    #g + .widget_gallery01 .content_wrapper > .heading {
        padding-bottom: max(55vw,230px);
    }
    #g + .widget_gallery01 .content_wrapper > .heading::before {
        width: 90%;
    }
}

/*------------------20251020追加---------------------------*/
/*------------施工事例画像-------------*/
@media screen and (min-width: 901px) {
    #g + .widget_gallery01 .content_wrapper > .heading {
    padding-bottom: 40px;
}
    #g + .widget_gallery01 .content_wrapper > .heading::before {
        left: auto;
        bottom: auto;
        top: 15px;
        transform: none;
        right: 0;
        width: 250px;
    }
}

@media screen and (min-width: 901px) and (max-width: 1000px) {
    #g + .widget_gallery01 .content_wrapper > .heading::before {
        right: 30px;
    }
}

@media screen and (max-width: 900px) {
	#g + .widget_gallery01 .content_wrapper > .heading::before {
    width: 230px;
	bottom: -30px;
}
#g + .widget_gallery01 .content_wrapper > .heading {
    position: relative;
    padding-bottom: 130px;
}
}

@media screen and (max-width: 768px) {
    #g + .widget_gallery01 .content_wrapper > .heading {
        padding-bottom: 110px;
    }
    #g + .widget_gallery01 .content_wrapper > .heading::before {
        width: 200px;
    }
}

@media screen and (max-width: 500px) {
    #g + .widget_gallery01 .content_wrapper > .heading {
        padding-bottom: max(27vw, 100px);
    }
    #g + .widget_gallery01 .content_wrapper > .heading::before {
        width: 50%;
    }
}