﻿@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@600&display=swap');

:root{--fontShippori:'Crimson Text','Shippori Mincho',"游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif" !important;
    --fontCrimson: 'Crimson Text', 'Shippori Mincho',"游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif" !important;}

h2,h3{font-family: var(--fontShippori) !important;}
/*ページタイトルが英字の時のフォント指定*/
.mail_bt a,#header-nav a,.cms_title_inner h2,.menu_list li a,.l-gh__scrollnav-pagetop-arr,.l-gh__scrollnav-pagetop-text,.more a,.con_bt a,.inner h2,.top_map h3,#footer_nav a,p#copyright,.info_txt h3,.fontnim,.title_box h2,.font_en,.info_title_inner h2,.l-gh__scrollnav-scroll-text
    {font-family: var(--fontShippori) !important;}
body,.font_Quick{font-family: var(--fontShippori) !important;}
.top_cms_title p,.info_title_inner p,#top_contents2 h3,#top_contents1 h3{font-family: var(--fontCrimson) !important;}

.top_cms_title p, .info_title_inner p{
    font-size: -webkit-calc(1rem - 0px);
    font-size: calc(1rem - 0px);}

.font_bold {font-weight: 500;}

.font_2dw {
    font-size: -webkit-calc(1rem - 1px);
    font-size: calc(1rem - 1px);}

/*ヘッダー追従----------------------------------------------------------------------*/
section#main_img {
    max-height: inherit;
    margin-top: 100px;
    max-height: 90vh;
}
#header #logo {
    width: 270px;
    height: 100px;
    background: transparent;}
#header #logo h1 { width: 67%!important;}
#header{
    position: fixed;
    width: calc(100% - 90px);
    box-sizing: border-box;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 11;
    padding: 0 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);}
#header #header-nav{
    padding: 20px 0;
    margin-top: 0;}
#header.active #logo{height: 100%;}
#header .tel_bt_h span.font_4dw i{display: none;}
#header-nav li:last-of-type a .before{display: none;}


/*タブレット*/
@media screen and (max-width: 768px){
#header {z-index: 999;}

#header {background-color: var(--white) !important;}
header {
    background-color: var(--white) !important;
    position: fixed;
    width: 250px !important;
    display: block; }
#header #logo h1 {
    width: 100% !important;
    left: 1%;
    max-width: 250px;}
#header, #fix_menu {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    box-shadow: 0px 0px 0px 0px;}
#header #logo {
    width: 250px !important;
    height: 100px;
    background: transparent;}
header.width_100per{
    position: fixed;
    z-index: 999;}
}
/*カテゴリリストずれ修正------------------------*/
.cate {
    display: block;
    padding-top: 150px;
    margin-top: -150px;
}

@media screen and (max-width: 768px){
.cate {
    display: block;
    padding-top: 0px;
    margin-top: 0px;
}
}
/*カテゴリリストずれ修正------------------------*/
/*ヘッダー追従----------------------------------------------------------------------*/


/*topinfo----------------------------------------------------------*/
#footer_info .contact_box a:hover .contact_bg {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.1);}
section#footer_nav {
    margin: 0;
    padding: 20px 0;}

/*タブレット*/
@media screen and (max-width: 768px){
.tb_sns_wrap ul {padding: 30px 0 20px;}
section#footer_nav li {padding: 0 15px;}
}
/*topinfo----------------------------------------------------------*/


/* color ---------------------------------------------------------------------------------------------*/
:root {
    --color1: #133463;
    --color2: #f9f6f1;
    --color3: #ffef3f;
    --color4: #f3f6fa;
    --color5: #f9f6f1;
    --color6: #ffffff;
    --white: #ffffff;
    --black: #133463;
    --gray: #8e877e;
    --line:#06c755;
}


body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: var(--black);}
.txt_white,.hvr_txt_white:hover{color: var(--white);}
.txt_color1,.hvr_txt_color1:hover{color: var(--color1);} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: var(--color2);} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: var(--color3);} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: var(--color4);} /* アクセントカラー2 */
/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: var(--white)} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: var(--black);} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: var(--color1);} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: var(--color2);} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: var(--color3);} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: var(--color4);} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}
/* border-color ※!important */
.border_white,.hvr_border_white:hover{border-color: var(--white);}
.hvr_border_black:hover{border-color: var(--black);}
.border_black{border-color: var(--gray);}
.border_color1,.hvr_border_color1:hover{border-color: var(--color1);}
.border_color2,.hvr_border_color2:hover{border-color: var(--color2);}
.border_color3,.hvr_border_color3:hover{border-color: var(--color3);}
.border_color4,.hvr_border_color4:hover{border-color: var(--color4);}

.linkStyle{color: var(--color1);
          border-bottom:solid 1px;
}
body#body {background: var(--color6);}
/* color ---------------------------------------------------------------------------------------------*/

/*装飾に便利なposi_rel*/
#contents_box,#contents1,#contents2,#contents3,.con1_outer, .con2_outer, .con3_outer,.img5, .img6, .img7,div#left,div#right,div#intro_wrap,#contents2_wrap,.custom_wrap,.intro_left,.cms_title,.intro_wrap .font_bar,#contents_wrap .bg_container,#sticked,#top_cms1,section#add_top{position: relative;}
/*装飾に便利なposi_rel*/
/*装飾に便利な疑似クラス設定*/
#main_img::before, #main_img::after, #contents_box::before, .con1_outer::after, #attach::before, .con2_outer::before,.con2_outer::after,.con3_outer::before,.con3_outer::after,#page_title .title_img::after,article .width_1280-max::before,div#contents1::before,div#contents1::after,div#contents3::before,#contents2::before,div#contents2::after,#page_title .title_img::after,.img5::before, .img6::before, .img7::before,div#left::before,div#right::before,div#intro_wrap::before,div#intro_wrap::after,#contents2_wrap::before,.custom_wrap::before,.custom_wrap::after,.font_bar::before,.intro_left::before,.intro_left::after,.cms_title::before,#body::before,#contents_wrap .bg_container::before,#sticked::before,#top_cms1::before,section#add_top::before{
    content: '';
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    z-index: 1;
}


/*top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*住まい・店舗画像----------------------------------------------------------------------*/
#top_works1 .portrait_img, #top_works2 .portrait_img {height: 27vw!important;}

#top_works1 .cate,
#top_works2 .cate{
width: calc(33.333% - 4%);
margin-right: 6%;
box-sizing: border-box;
}
#top_works1 .cate:last-of-type,
#top_works2 .cate:last-of-type{margin-right: 0;}


/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#top_works1 .portrait_img, #top_works2 .portrait_img{height: 40vw!important;}
#top_contents1 h2:before{
width: 300px;
height: 32px;
top: -45px;}
}


/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#top_contents1{padding-top: 100px;}
#top_contents1 h2:before{
width: 250px;
height: 27px;
top: -30px;
}

#top_works1 .cate,
#top_works2 .cate{
width: 100%;
margin-right: 0;
margin-bottom: 50px;
}
#top_works1 .cate:last-of-type,
#top_works2 .cate:last-of-type{margin-bottom: 0;}
#top_works1 .portrait_img,
#top_works2 .portrait_img{height: 400px!important;}}
/*住まい・店舗画像----------------------------------------------------------------------*/

#main_img::before {
    background: #afa48f80;
    background: linear-gradient(267deg, rgba(175,164,143,0.51) 0%, rgba(175,164,143,0) 50%);
    width: 100%;
    height: 100%;
    z-index: 2;
    mix-blend-mode: multiply;
}


span.catch img {
    max-width: 500px;
    width: 50%;
    width: auto;
    position: absolute;
    bottom: 9%;
    left: 1%;
    transform: translate(5%,-6%);
    z-index: 2;
    filter: drop-shadow(1px 1px 19px #975808);
}

.catch_fade{
    transform: translate(5%,-6%);
	transition: transform 1s ease, opacity 1.5s;
	transition-property: opacity,transform;
	opacity: 0;   
	filter: blur(2px);
}

.catch_fade.start{
    transform: translate(5%,-6%);
	filter: blur(-1px);
    opacity: 1;}

.anim_box .item{
	transform: translateY(20px);
	transition: transform 1.5s ease, opacity 2s;
	transition-property: opacity,transform;
	opacity: 0;
}
.anim_box .item.start{transform: translateY(0);opacity: 1;}

section#add_top {
    max-width: 1000px;
    margin: 50px auto 150px;
}

section#add_top h3 {
    font-size: 30px;
    writing-mode: vertical-rl;
    margin: 50px 0;
}

section#add_top::before {
    background: var(--color4);
    width: 75vw;
    height: 75%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section#top_contents1 p {
    text-align: center;
    line-height: 3;
}

#top_contents2 .con_box .text_box .before {
    content: "";
    width: 26%;
    height: 2px;
    background: var(--color3);}
    
article#top_cms {
    max-width: 1400px;
    margin: 0 auto;
}

.top_cms_title .after, .top_info_title .after {
    bottom: 0;
    right: 0;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.top_cms_title .before, .top_info_title .before {
    top: 0;
    left: 0;
    border-left: 2px solid;
    border-top: 2px solid;}

.catch_txt h2 {font-size: 25px;}

section#top_works1 {padding-top: 50px;}
#top_works1 h2, #top_works2 h2 {font-size: 25px;}
#top_works1 h3, #top_works2 h3 {font-size: 20px;}

#top_works1 p, #top_works2 p {font-size: 18px;}
p.tel_btn a {color: var(--color1);}

p.tel_btn a:hover{opacity:0.7;}
/*top■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/*sub■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#cms_2-a .cate_title {
    position: relative;
    border: 0;
    padding: 10px 0px;
    border-bottom: solid 1px var(--color3);
    display: inline-block;}
#cms_2-a .cate_box {
    border-bottom: solid 2px;
    border-color: var(--color4);}
#cms_2-a h4.box_title1 {
    position: relative;
    margin-left: 20px;}
#cms_2-a h4.box_title1 i {
    font-size: 10px;
    color: var(--color3);
    margin-right: 10px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translate(0%, -57%);}
#cms_2-a .cate {margin-bottom: 100px;}
#cms_2-a p.cate_txt1 {padding: 0 5%;}
ul.pager a {
    background:var(--color4);
    color: var(--color1);}
.btn_container {margin-top: -4%;}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.g_type6 .cate_box{width: 49%!important;}}
/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.g_type6 .box_wrap{	width: 100%!important;margin-left: 8px;}
.g_type6 .cate_box{width: 48%!important;}}

/* YouTube-------------------------------------------- */
.yt {
    width: 800px;
    margin: 0 !important;}
.video_cms {
    padding-bottom: 46.9%;
    height: 0;
    margin: 10px;}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
/* YouTube */
.yt{width: 100%;}}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
/* YouTube */
.video_cms {padding-bottom: 56.25%;}}

div#tel_txt .txt_color2, .hvr_txt_color2:hover {color: var(--color1);}
div#tel_txt .border_color2 {border-color: var(--color1);}
p#contact_tel a {border-color: var(--color1);}
div#contact_wrap p.border_so1-b {border-color: var(--color1);}
/*sub■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/*all■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#footer::before {background: var(--color4);}
.footer_box p, .footer_box a {color: var(--color1);}
.mail_bt a:hover {
    background: var(--color4);
    color: var(--color1);}
.pagetop_active.pagetop_active .l-gh__scrollnav-pagetop-text {
    color: var(--color1) !important;
}
.pagetop_active.pagetop_active .l-gh__scrollnav-pagetop-arr .head {
    border-bottom: 4.5px solid var(--color1) !important;
}
/*all■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/




/*タブレット*/
@media screen and (max-width: 768px){
    #header #logo h1 {max-width: 200px;}
    #cms_2-a p.cate_txt1 {padding: 0 4%;}
    #cms_2-a .box_item {padding: 0 4%;}
    section#main_img {
        max-height: inherit;
        margin-top: 0px;}    
    span.catch img {
        max-width: 270px;
        bottom: 4%;
        left: 1%;}        
    section#top_contents1 p {
        text-align: left;
        line-height: 2;}
    section#top_works1 {
        padding-top: 50px;
        padding-bottom: 50px;} 
    section#top_works2 {padding-top: 50px;}
    section#add_top h3 {
        font-size: 25px;
        writing-mode: vertical-rl;
        margin: 35px 4% 0 -4%;}    
    section#add_top::before {
        background: var(--color4);
        width: 100vw;}        
}

/*スマホ*/
@media screen and (max-width: 667px){
    #header #logo {
        width: 150px !important;
        height: 100% !important;
        background: transparent;}    
    #header #logo h1 {
        max-width: 150px;
        left: 8%;}
    #header, #fix_menu {
        width: 100%;
        height: 80px !important;}        
    span.catch img {
        max-width: 150px;
        bottom: 4%;
        left: 1%;}
    .catch_txt h2 {font-size: 20px;}   
    #top_works1 h2, #top_works2 h2 {font-size: 20px;}  
    section#top_works1 .con_title, section#top_works2 .con_title {margin-bottom: 25px;}
    #top_works1 h3, #top_works2 h3 {font-size: 19px;}
    #top_works1 p, #top_works2 p {font-size: 16px;}
    section#add_top h3 {
        font-size: 20px;
        writing-mode: horizontal-tb;
        margin: 0 auto 20px;
        width: 100% !important;
        text-align: center;
    }   
    section#add_top figure {
        width: 90%;
        order: 1;
        margin-top: 30px;}  
    section#add_top::before {
        height: 69%;
        z-index: -1;
        top: 59%;}     
    section#add_top {
        max-width: 1000px;
        margin: 50px auto 120px;} 
#top_contents2 .con_box .con_img {height: 202px;}        
    .link_type1 .link_top .link_title {font-size: 18px;}
    .tb_sns_wrap ul {padding: 35px 0 0px;}

.cate_list li a {
    display: block;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}   
.title_box h2 {
    font-size: 20px;
}
#cms_2-a p.cate_txt1 {
    padding: 0 3%;
}
#cms_2-a .cate_title {
    font-size: 18px;
    letter-spacing: 1px;}
#cms_2-a .box_item {
    padding: 0 3%;
}
#cms_2-a h4.box_title1 {
    position: relative;
    margin-left: 10px;}
#cms_2-a h4.box_title1 i {
    font-size: 7px;
    left: -20px;
    transform: translate(0%, -74%);
}


#cms_1-a figure.box_img1,#cms_1-a figure.box_img2 {
    margin: 0;
    width: 100% !important;
    padding: 10px;}
.yt {
    width: 100%;
    margin: 0px auto !important;
    padding: 10px;
    box-sizing: border-box;}
.video_cms {
    padding-bottom: 56.25%;
    margin: 0;}
    
}



/*バナー-----------------------------------*/
#fix_bnr{
	bottom: 7px;
	right: 84px;
	z-index: 10;
	width: 330px;
}
#footer{
	padding-bottom: 100px;
}
@media screen and (max-width: 667px){
#fix_bnr {bottom: 7px;right: 72px;width: 65%;}
#footer{padding-bottom: 75px;}
}





/*20230306*/
#top_works1,#top_works2{display:none;}


/*20230313*/

section#add_top {
    max-width: 900px;
    margin: 50px auto 150px;
}

.LINE_bt a{
    background: var(--line) !important;
    color: var(--white) !important;
    transition: 0.5s;
}
.LINE_bt a:hover{
    
    opacity:0.6;}

/*タブレット*/
@media screen and (max-width: 768px){
section#add_top {
    max-width: 900px;
    margin: 50px auto 150px;
    width: 80%;
}
}


@media screen and (max-width: 667px){
section#add_top {
    max-width: 900px;
    margin: 50px auto 150px;
    width: 100%;
}

section#add_top::before {
    height: 62%;
    z-index: -1;
    top: 62%;
}
}