/*  
Theme Name:sakashita-house
*/
/*追加ページ共通*/
section.page_cont{width:80em;margin:0 auto 3em;display:block;}
.page_header_image{margin:80px auto 4em;width:100%;height:auto;}

/*採用情報*/
#recruit h1{text-align:center;font-size:5em;border-bottom:1px solid white;display:table;margin:-2em auto 1em;width:auto;padding:0 .25em 0;font-family: "Zen Old Mincho", serif;font-weight:normal;letter-spacing:.1em;}
#recruit .recruit_waku{background:white;color:black;width:90em;margin:0 auto 3em;box-sizing:border-box;padding:2em;}
#recruit .recruit_waku h3{font-size:2em;text-align:center;margin:0 0 .5em;}
#recruit .recruit_waku h3 span{position:relative;z-index:2;}
#recruit .recruit_waku h3 span::after{content:"";width:100%;height:.5em;background:#cfd0d0;display:block;position:absolute;left:-.25em;bottom:0em;z-index:-1}
#recruit .recruit_waku p{font-size:1.25em;margin:0 0 1.5em;}
#recruit .recruit_waku table{width:100%;border-collapse: collapse;border-top:2px solid #cfd0d0;}
#recruit .recruit_waku table th,#recruit .recruit_waku table td{border-bottom:2px solid #cfd0d0;padding:.5em;font-size:1.15em;}

/*エントリー*/
.entry form{width:70em;margin:0 auto 3em;}
.entry form input,.entry form select,.entry form textarea,.entry .wpcf7-list-item{font-size:2em;padding:.5em;width:100%;border-radius:.25em;}
.entry form textarea{height:6em;}
.entry form select{margin-bottom:3em;}
.entry form h4{font-size:2.5em;font-weight:normal;}
.entry form th{width:40%;font-weight:normal;padding:0 0 3em;vertical-align:top;}
.entry form td{width:60%;padding:0 0 3em;}
.entry form ul{display: grid;grid-template-columns:repeat(3, 1fr);column-gap:1em;}
.entry form ul select{display:inline-block;width:85%!important;padding:.5em}
.entry form ul p{font-size:2.5em;display:inline-block;vertical-align:midlle;padding-left:.25em;}
.entry form > p{font-size:2.25em;margin:-1em 0 3em;}
.entry P.hissu{color:#fff100;text-align:center;font-size:2em;margin:-2em 0 2em;}
.entry h4.hissu::after{content:"必須";color:#fff100;color:#fff100;font-size:.75em;padding-left:.25em;}
.entry .hourei{background:white;color:black;height:10em;margin:0 auto 3em;box-sizing:border-box;padding:2em;font-size:1.5em;border-radius:.5em;overflow:auto}
.entry .wpcf7-acceptance span{display:inline-block;font-size:1.5em;margin:-1em auto 3em;line-height:1;}
.entry input[type="checkbox"]{width:.75em;height:.75em;display:inline-block;margin-right:.5em;border-radius:1em}
.entry input[type="submit"]{background:black;color:white;border:2px solid white;}

.odenwade{width:70em;margin:8em auto 0;border:2px solid white;text-align:center;padding:2em;box-sizing:border-box;}
.odenwade h2{text-align:center;font-size:3em;border-bottom:1px solid white;width:auto;padding:.25em;font-family: "Zen Old Mincho", serif;font-weight:normal;letter-spacing:.1em;}
.odenwade h3{text-align:center;font-size:6em;margin:.5em 0 .1em;}
.odenwade h3::before{content:"";width:1.75em;height:.85em;display:inline-block;background:url(https://ideasanta01b.xbiz.jp/home/wp-content/uploads/2025/07/free_icon.png) no-repeat;background-size:contain;}
.odenwade p{text-align:center;font-size:2em;margin:0 0 .5em;}
.entry .wpcf7-not-valid-tip{font-size:2em!important;}


/*ブログ記事一覧*/
.blog_thum{display:grid;grid-template-columns:repeat(4, 1fr);column-gap:.75em;row-gap:.75em;}
.blog_thum li{background:white;position:relative;display:block;}
.blog_thum li .avatar{position:absolute;width:5em;height:5em;border-radius:3em;top:17em;left:1em;}
.blog_thum li .blog_cat_date{position:absolute;top:20.5em;left:7em;color:black;}
.blog_thum li h3{padding:2.5em .5em .5em;color:black;text-align:left;font-weight:normal;font-size:1.2em;line-height:1.35;}
.blog_thum li a:hover{opacity:.5;}
/*ブログ記事*/
.post{margin:-10em auto 0}
.blog_post_title_h2{font-size:4em;font-family: "Zen Old Mincho", serif;font-weight:normal;width:80%;margin:0 auto}
.blog_post_date{font-size:1.5em;margin:.5em 0 3em;color:#bfbfbf;}
.post_inn{background:white;color:black;margin:0 auto;padding:3em 10em;text-align:left;}
.post_inn table{margin-bottom:2.5em;}
.post_inn .avatar{width:6em;height:6em;border-radius:3em;}
.post_inn .post_author{font-size:1.5em;padding-left:1em;}
.post_inn p{font-size:1.2em;line-height:1.75;margin:0 0 2em;}
.post_navi{display:grid;grid-template-columns:repeat(3, 1fr);column-gap:2em;width:80%;justify-items:center;margin:5em auto 0;}
.post_navi li{width:100%;text-align:center;}
.post_navi a{border:2px solid white;border-radius:2em;font-size:2.25em;padding:.25em 0;display:block;width:100%;position:relative;}
.post_navi a:hover{opacity:.5;}
.post_navi a[rel="prev"]::after,.post_navi a[rel="next"]::after{position:absolute;top:50%;transform:scale(1.75, 1) translateY(-50%);font-size:.5em;}
.post_navi a[rel="prev"]::after{content:"◀︎";left:2em;}
.post_navi a[rel="next"]::after{content:"▶︎";right:2em;}


/*施工事例記事*/
.works_title_h2{position:absolute;transform:translate(-50%, -50%);left:50%;top:50%;font-size:3em;color:white;width:50%;font-weight:normal;font-family: "Zen Old Mincho", serif;padding:1.5em 1em;background:rgba(255,255,255,.75);text-align:center;color:black;}
.works_title_h2 span{display:block;font-size:.75em;}
.works_tag{display:flex;flex-wrap:warp;justify-content:center;margin:3em 0 6em;}
.works_tag li{font-size:1.75em;background:white;padding:.25em 1em;border-radius:2em;margin:0 .25em}
.works_tag li a{display:block;color:black;text-align:center;}
.works_tag li a:hover{opacity:.5;}
.works_out{width:80em;margin:3em auto;text-align:left;}
.works_inn{display:block;margin-bottom:10em;}
.works_inn > p{font-size:1.5em;line-height:1.75;margin:0 0 2em;}
/*施工事例一覧*/
.works_out h2{font-size:4em;font-family: "Zen Old Mincho", serif;font-weight:normal;text-align:center;margin:0 auto 1em}
.works_out h2 span{font-size:.75em;padding-left:.5em;}
.works_cat{display:grid;grid-template-columns:repeat(2, 1fr);column-gap:1em;row-gap:2.5em;}
.works_cat a:hover{opacity:.5;}
.works_cat_thumb{width:100%;height:25em;}
.works_cat h3{font-size:1.75em;font-family: "Zen Old Mincho", serif;font-weight:normal}
.works_cat h3 span{display:block;font-size:.6em;}
/*施工事例カスタムフィールド*/
.fields_table{width:100%;border-collapse:collapse;border-top:1px solid #cfd0d0;}
.fields_table th, .fields_table td{border-bottom:1px solid #cfd0d0;padding:.5em;font-size:1.65em;line-height:1.35;font-weight:normal;}
.fields_table th{width:8em;}
.fields_table td p{margin:.1em 0;padding:0 .5em;border-left:1px solid #cfd0d0;}

/*施工日記記事*/
.diary_out{width:80em;margin:10em auto 3em;}
.diary_inn{display:block;margin-bottom:10em;}
.diary_title_h2{font-size:4em;font-family: "Zen Old Mincho", serif;font-weight:normal;text-align:center;margin:0 auto 1em}
.wp-block-gallery{display:grid!important;grid-template-columns:repeat(3, 1fr)!important;column-gap:1em!important;row-gap:1em!important;}
.wp-block-image{background:white;color:black;padding:1em;width:100%!important;display:grid!important;grid-template-rows:subgrid!important;}
.wp-block-image img{width:100%!important;height:auto!important;display:block!important;padding-bottom:5em;}
.diary .wp-element-caption{display:block;background:none!important;text-align:left!important;color:black!important;text-shadow:none!important;padding:.25em 0 .25em!important;font-size:1.25em!important;}
.diary .wp-element-caption::first-line{font-size:.75em;color:#cfd0d0;}
.diary .wp-block-image::before{display:none!important;}
.diary .wp-element-caption::before{content:"01";font-size:2.75em;float:left;line-height:1;padding-right:.25em;color:#cfd0d0;border-right:1px solid #cfd0d0;margin:0 .25em .25em 0;}
.diary .wp-block-image:nth-of-type(2) .wp-element-caption::before{content:"02";}
.diary .wp-block-image:nth-of-type(3) .wp-element-caption::before{content:"03";}
.diary .wp-block-image:nth-of-type(4) .wp-element-caption::before{content:"04";}
.diary .wp-block-image:nth-of-type(5) .wp-element-caption::before{content:"05";}
.diary .wp-block-image:nth-of-type(6) .wp-element-caption::before{content:"06";}
.diary .wp-block-image:nth-of-type(7) .wp-element-caption::before{content:"07";}
.diary .wp-block-image:nth-of-type(8) .wp-element-caption::before{content:"08";}
.diary .wp-block-image:nth-of-type(9) .wp-element-caption::before{content:"09";}
.diary .wp-block-image:nth-of-type(10) .wp-element-caption::before{content:"10";}
.diary .wp-block-image:nth-of-type(11) .wp-element-caption::before{content:"11";}
.diary .wp-block-image:nth-of-type(12) .wp-element-caption::before{content:"12";}
.diary .wp-block-image:nth-of-type(13) .wp-element-caption::before{content:"13";}
.diary .wp-block-image:nth-of-type(14) .wp-element-caption::before{content:"14";}
.diary .wp-block-image:nth-of-type(15) .wp-element-caption::before{content:"15";}
.diary .wp-block-image:nth-of-type(16) .wp-element-caption::before{content:"16";}
.diary .wp-block-image:nth-of-type(17) .wp-element-caption::before{content:"17";}
.diary .wp-block-image:nth-of-type(18) .wp-element-caption::before{content:"18";}
.diary .wp-block-image:nth-of-type(19) .wp-element-caption::before{content:"19";}
.diary .wp-block-image:nth-of-type(20) .wp-element-caption::before{content:"20";}
.diary .wp-block-image:nth-of-type(21) .wp-element-caption::before{content:"21";}
.diary .wp-block-image:nth-of-type(22) .wp-element-caption::before{content:"22";}

.diary_image{display:grid;grid-template-columns:repeat(3, 1fr);column-gap:1em;row-gap:1em;margin:5em 0;}
.diary_image li{background:white;position:relative;height:auto;padding:1em 1em 5.5em;}
.diary_image li a{display:block;width:100%;height:100%;padding:0;aspect-ratio:1 / 1;}
.diary_image li a:hover{opacity:.75;}
.diary_image li div{position:absolute;background:rgba(255,255,255,1);bottom:0em;left:0em;display:block;padding:.25em .5em;font-size:1.25em;width:100%;box-sizing:border-box;}
.diary_image li div p{color:black;line-height:1.35;}
.diary_image li div span{font-size:.75em;color:#cfd0d0;}
.diary_image li div::before{content:"01";font-size:2.75em;float:left;line-height:1;padding-right:.25em;color:#cfd0d0;border-right:1px solid #cfd0d0;margin:0 .25em .25em 0;}
.diary_image li:nth-of-type(2) div::before{content:"02";}
.diary_image li:nth-of-type(3) div::before{content:"03";}
.diary_image li:nth-of-type(4) div::before{content:"04";}
.diary_image li:nth-of-type(5) div::before{content:"05";}
.diary_image li:nth-of-type(6) div::before{content:"06";}
.diary_image li:nth-of-type(7) div::before{content:"07";}

.diary_cat{display:grid;grid-template-columns:repeat(2, 1fr);column-gap:1em;row-gap:2.5em;}
.diary_cat table{font-size:1.25em;margin:.5em 0 0;width:100%;}
.diary_cat table td h3{text-align:right;font-weight:normal;}
.diary_cat table p{background:white;color:black;padding:0 1em;border-radius:.2em;font-weight:normal;display:inline;font-family: "Zen Old Mincho", serif;font-size:1.25em;}

/*土地情報*/
img.land_thumb{width:100%;height:auto;margin:0 0 3em;}
.land_cat{display:grid;grid-template-columns:repeat(2, 1fr);column-gap:2em;row-gap:2.5em;}
.land_cat_thumb{width:100%;height:30em;}
.land_cat table{font-size:2em;font-family:"Zen Old Mincho", serif;margin:.5em auto;width:auto;display:table;}
.land_cat table th{width:5em;text-align:right;}
.land_cat table td{text-align:left;padding-left:1em;font-weight:normal;}
.land_cat a{display:block;border:1px solid white;text-align:center;font-size:2em;font-family:"Zen Old Mincho", serif;position:relative;width:90%;margin:0 auto;}
.land_cat a:hover{opacity:.5;}
.land_cat a::after{content:">";position:absolute;top:0%;right:0em;}

/*見学会情報*/
.openhouse_title_h2{font-size:3em;margin:0 0 .5em;font-family:"Zen Old Mincho", serif;font-weight:normal;letter-spacing:.2em;}
.openhouse_title_h2 span{font-size:.75em;display:inline-block;margin-left:.5em;padding-left:.5em;border-left:1px solid white;}
.openhouse .wp-block-gallery{grid-template-columns:repeat(2, 1fr)!important;margin:5em 0 2em}
.openhouse .wp-block-image{background:none;padding:0em;}
.openhouse .wp-block-image img{padding-bottom:0em;}
p.oh_introduction{font-size:1.5em;margin-top:.5em;}
h3.oh_heading{font-size:1.75em;}
p.oh_text{font-size:1.5em;margin:.5em 0;border-bottom:1px solid white;padding-bottom:.5em;}
a.oh_link{text-align:center;display:table;border:1px solid white;padding:.25em 2em;font-size:2em;border-radius:1em;margin:.15em auto 3em}
.oh_map iframe{width:100%;height:40em;}
h4.oh_address{font-size:2em;margin:.5em 0 3em;vertical-align:top;font-weight:normal;letter-spacing:.1em;line-height:1.25}
h4.oh_address span{font-size:1.25em;border-right:1px solid white;margin-right:.25em;display:inline-block;padding-right:.25em;}
a.yoyaku_btn{text-align:center;display:table;border:1px solid white;padding:.25em 2em;font-size:3em;border-radius:1em;margin:.5em auto 3em}
.openhouse_cat a{text-align:right;border-bottom:1px solid white;font-size:2em;margin:.5em 0 5em;display:block;}
.oh_image{display:grid;grid-template-columns:repeat(2, 1fr);column-gap:2em;row-gap:2.5em;margin:5em 0;aspect-ratio: 1 / 1;}
.oh_image li a{display:block;background-size:cover;width:100%;height:100%;}
.oh_image li a:hover{opacity:.75;}

/*PLAN*/
ul.plan_logo{display:flex;flex-wrap:warap;justify-content: center;}
ul.plan_logo li{margin:0 2em}
ul.plan_logo li img{height:4em;margin:0 1em}
#plan table{margin:10em auto 0}
#plan table th{width:40em;padding-bottom:4em;}
#plan table td{padding:4em 2em 6em;vertical-align:bottom;}
#plan table img{margin-bottom:1.5em;}
#plan table img.rezon_logo{width:23em;}
#plan table img.junes_logo{width:14.5em;}
#plan table img.hiraya_logo{width:25em;display:block;}
#plan table h2{font-size:1.65em;line-height:1.3;margin:0 0 .75em}
#plan table p{font-size:1.2em;}
a.more{display:block;border:1px solid white;border-left:none;border-right:none;font-size:1.75em;margin:1em 0;padding:.25em;text-align:right;}
a.more::after{content:"▶︎";display:inline-block;padding-left:.5em;transform:scale(1, .5) translateY(-.175em);font-size:.75em;}
a.more_r{display:table;width:auto;margin:0 auto 2em;border:1px solid white;border-radius:1em;text-align:center;padding:.25em 1em .25em 3em;}
a.more_r::after{padding-left:2em;}
/*PLAN rezon*/
img.rezon_title{width:23.5em;margin:1em auto 3em;display:table;}
.rezon h1,.rezon h2,.rezon h3,.junes h1,.junes h2,.junes h3{text-align:center;font-family:"Zen Old Mincho", serif;}
.rezon h1,.junes h1{font-size:3em;margin:0 0 .5em;}
.rezon h2,.junes h2{font-size:2em;}
.rezon_nav{display:grid;grid-template-columns:repeat(3, 1fr);column-gap:2em;width:60em;margin:2em auto 10em;font-family:"Zen Old Mincho", serif;}
.rezon_nav li{font-size:2.5em;text-align:center;}
.rezon_nav li::after{content:"⌄";display:inline-block;padding-left:.5em;transform:scale(1, 1) translateY(-.25em);font-size:1.25em;}
.taste_nav{display:grid;grid-template-columns:repeat(2, 1fr);column-gap:2em;row-gap:2em;margin:0 auto;}
.taste_nav h3{font-size:2em;text-align:left!important;margin:.5em 0 0}
.taste_nav p{font-size:1.35em;line-height:1.75;}
.rezon_staff{background:#262626;padding:2em 0;display:block;margin:5em 0;}
.rezon_staff table{width:70em;margin:0 auto;}
.rezon_staff table th{width:20em;vertical-align:top;}
.rezon_staff table td{padding-left:1em;vertical-align:top;}
.rezon_staff table td h3{font-size:2em;font-family:"Zen Old Mincho", serif;margin:0 0 .5em;}
.rezon_staff table td p{font-size:1.25em;}
.rezon_madori{width:60em;border:4px solid white;padding:1.5em;border-radius:1em;margin:5em auto;}
.rezon_madori h3{font-size:3em;border-bottom:1px solid white;display:table;margin:0 auto .35em;}
.rezon_madori p{font-size:1.65em;line-height:1.75;margin-bottom:1em;}
.rezon_madori ul{display:grid;grid-template-columns:repeat(3, 1fr);column-gap:1em;padding-left:1em}
.rezon_madori ul h5{background:white;color:black;border-radius:1em;text-align:center;font-size:2em;}
.rezon_madori ul li{border-right:2px solid white;padding-right:1em;}
.rezon_madori ul li:last-of-type{border:none;padding-right:1em}
.rezon_madori ul li p{margin:0;text-align:justify;text-align:center;}
.plan_list{display:grid;grid-template-columns:repeat(2, 1fr);column-gap:3em;row-gap:3em;margin:2em auto 6em;}
.kouzou_table{border-top:1px solid white;font-size:1.2em;line-height:1.75;border-collapse:collapse;width:100%;margin:2em 0 4em}
.kouzou_table th, .kouzou_table td{border-bottom:1px solid white;padding:2em 0;}
.kouzou_table th{padding:1em 2em}
h3.setsubi_title{font-size:2.2em;text-align:center;font-family: "Noto Sans JP", sans-serif;font-weight:normal;margin:0 0 .5em;letter-spacing:.1em;}
.setsubi_list{display:grid;grid-template-columns:repeat(3, 1fr);column-gap:1.25em;row-gap:2em;margin:0em auto 6em;}
.setsubi_list h3{font-size:2em;text-align:left;line-height:1.35;}
h4.rezon_option{font-size:2em;font-family:"Zen Old Mincho", serif;margin:0 0 2em;text-align:center;}
.rezon_junes_table{width:70em;margin:0 auto 5em;}
.rezon_junes_table th{width:27em;vertical-align:top;}
.rezon_junes_table td{padding-left:2.1em;vertical-align:top;}
.rezon_junes_table td h2{font-size:1.25em;text-align:left;margin:1em 0;font-family: "Noto Sans JP", sans-serif;}
.rezon_junes_table td p{font-size:1.2em;}
.rezon_junes_table td img{height:2.5em;display:inline-block;vertical-align:middle;}
.rezon_junes_table td img.hiraya_logo{height:1.5em;padding-left:1em}
/*PLAN junes*/
#junes_title{display:flex;justify-content:center;height:4.5em;margin:8em 0 5em;}
#junes_title .hiraya_title{padding:.5em 2em;}
.junes .rezon_nav{width:80em;}
.junes .rezon_nav li{font-size:2.25em;}
.junes_plan{width:60em;margin:8em auto 10em;}
.junes_plan li{margin:5em 0}
.junes_plan img{margin:2em 0 0}
.junes_plan li p{font-size:1.2em;margin:1em 0}

@media all and (min-width:0px) and (max-width:1190px) {
#recruit,.works{font-size: calc(1000vw / 1190);}


}
@media all and (min-width: 0) and (max-width:896px) {
#recruit{font-size: calc(1000vw / 1040);}
.cus_post{font-size: calc(1000vw / 600);}
.post{margin:0em auto 0}
#recruit .recruit_waku h3{font-size:3em;}
#recruit .recruit_waku p{font-size:2em;}
#recruit .recruit_waku table th,#recruit .recruit_waku table td{font-size:2em;}
.entry form th,.entry form td{width:100%;display:block;}
.entry form{font-size:1.2em;}
.blog_post_title_h2{font-size:3em;width:100%;margin:0 auto}
.post_inn .avatar{width:4em;height:4em;}
.post_inn{padding:2em;}
.post_navi{width:100%;}
.post_navi a{font-size:1em;;}
.works_out,.diary_out{width:96%;}
.land_cat{grid-template-columns:repeat(1, 1fr);row-gap:5em;}
.land_cat_thumb{width:100%;height:50em;}
	
section.page_cont{width:96%;font-size:calc(1000vw / 896);}
#plan table th{width:100%;display:block;padding-bottom:4em;}
#plan table td{width:100%;display:block;padding:0em 0em 6em;vertical-align:bottom;font-size:2em;}
.rezon h1,.junes h1{font-size:4em;}
.rezon h2,.junes h2{font-size:2.4em;}
.taste_nav{grid-template-columns:repeat(1, 1fr);}
.taste_nav h3{font-size:4em;}
.taste_nav p{font-size:2.5em;margin-bottom:2em;}
.rezon_staff table{width:90%;margin:0 auto;}
.rezon_staff table th{width:100%;display:block;}
.rezon_staff table td{padding-left:0em;width:100%;display:block;}
.rezon_staff table td h3{font-size:1em;margin-top:1em;}
.rezon_staff table td p{font-size:.75em;}
.rezon_madori{width:100%;font-size:1.5em;}
.plan_list{grid-template-columns:repeat(1, 1fr);}
.kouzou_table{border-top:none;font-size:2em;}
.kouzou_table th, .kouzou_table td{padding:1em 0;width:100%;display:block;}
.kouzou_table th{padding:.5em 0;text-align:center;font-size:1.25em;}
.kouzou_table td{padding:1em 0 2em;}
.kouzou_table td:last-of-type{border:none;}
h3.setsubi_title{font-size:4em;}
.setsubi_list{grid-template-columns:repeat(2, 1fr);column-gap:1.25em;row-gap:2em;}
.setsubi_list h3{font-size:3em;}
h4.rezon_option{font-size:2.75em;}
a.more{font-size:2.5em;}
.rezon_junes_table{margin-top:10em;}
.rezon_junes_table th{width:100%;display:block;}
.rezon_junes_table td{padding-left:0em;width:100%;display:block;}
.rezon_junes_table td h2{font-size:2.35em;}
.rezon_junes_table td p{font-size:2em;}
.rezon_junes_table td img{height:5em;display:block;margin-top:2em;}
.rezon_junes_table td img.hiraya_logo{height:4em;padding-left:0}
.junes_plan{width:80%;}
.junes_plan li p{font-size:2.5em;margin:.5em 0 3em}

/*投稿系*/
.post_navi a{font-size:2em;}
.diary_image{grid-template-columns:repeat(2, 1fr);}
}