html{scroll-behavior:smooth;}
body{margin:0px;padding:0px;font-size:20px;line-height:2em;font-family:YuGothic, 'Yu Gothic Medium', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;font-feature-settings:"palt";}
img{border:none;margin:0px auto;padding:0px;display:block;z-index:1;height:auto;width:100%;max-width:100%}
a{text-decoration:none;color:black;}
a:hover, a img:hover, label img:hover{opacity:.6;transition-duration:.3s;z-index:9999;transform:translate(2px,2px)}
ul,ol{margin:0px;padding:0px;list-style-type:none;}
h1,h2,h3,h4,h5{font-weight:normal;text-align:center;}
table{border-collapse: collapse;}
.fadein{opacity:0;transform:translateY(10em);transition: all 1.5s;position:absolute;}
.fadeinL{opacity:0;transform:translateX(-20em);transition: all 1.5s;position:absolute;}
.fadeinR{opacity:0;transform:translateX(20em);transition: all 1.5s;position:absolute;}
.pc{display:block;}
.sp{display:none;}

header,article,footer{width:50em;margin:0em auto;}
section{width:100%;margin:0 auto;}




/* 各ページ */
.page header{position:relative;}
.page header h1{position:absolute;font-size:2.5em;width:100%;text-align:center;color:white;line-height:1.35;top:23.65em;font-weight:bold;}

.page #plan{background:white;padding:2.5em 0 5em;}
.page #plan h3{display:table;margin:2em auto 1em;font-size:2.5em;text-align:left;line-height:1.75;}
.page #plan h3 span{display:block;margin-top:-.5em}
.page #plan h2{margin:.5em auto -.75em;font-size:2.6em;line-height:1.5;}
.page #plan p{text-align:center;font-size:1.6em;}
.page #plan a{width:34.7em;margin:3em auto -1em;display:block;}

.page #point{position:relative;}
.page #point h1,.page #point h2,.page #point p,.page #point div{position:absolute;width:100%;text-align:center;color:white;}
.page #point h1{font-size:4.75em;line-height:1.15;top:.7em;font-weight:bold;}
.page #point h1 span{display:block;font-size:.7em;}
.page #point h2{font-size:2.5em;line-height:1.3;top:6.75em;}
.page #point p{font-size:2.275em;line-height:1.5;top:26.35em;padding:0 2.2em;text-align:left;text-align:justify;box-sizing:border-box;}
.page #point div{width:auto;font-size:2.5em;line-height:1.3;top:22.75em;left:2.05em;}
.page #point div h3{font-size:1em;text-align:left;background:#226d3a;display:table;margin:1em 0 .5em;padding:0 .25em;}
.page #point div ul{list-style-type:disc;text-align:left;font-size:.9em;padding-left:1em;}
.page #point div ul li{margin:0 0 .25em;}

.page #address{padding:2em 0;}
.page #address h1{font-size:3em;font-weight:bold;margin:.75em 0}
.page #address h2{font-size:1.75em;font-weight:bold;margin:.75em 0 .55em}
.page #address h3{font-size:4em;font-weight:bold;margin:0 0 .5em}
.page #address h3.tel::before{content:"TEL.";padding-bottom:.5em;font-size:.75em;}
.page #address h3.free::before{content:"";background:url(imgs/free_icon.png) no-repeat bottom left;background-size:contain;width:1.1em;height:.85em;display:inline-block;padding-right:.75em;}

.page #form{padding:3em 0 5em}
.page #form div{width:86%;background:white;border-radius:1em;margin:.5em auto 5em;padding:2em 1em 1.5em;box-sizing:border-box;;}
.page #form iframe.pc{height:1000px;width:100%;}
.page #form iframe.sp{display:none;}
.page #form div > p{display:table;height:auto;margin:0 auto;font-size:max(10px,1.2em)}
.page #form div > p span{display:block;text-indent:1em;}

.page  a.goback{width:18.3em;height:auto;margin:0 auto;display:block;}


#iekeikaku #form{background:#fac300}
#takashima #form{background:#2e59a6}
#hometech #form{background:#e84709}
#hometech #point p{top:25.35em;}
#misawa header h1{top:24.35em;}
a.goyoyaku{width:41.15em;height:auto;margin:-2em auto 8em;display:block;}
#sekisui #form{background:#6fb92c}
#tsuchiya #form{background:#b72d2d}
#tsuchiya #point h2{font-size:2.2em;line-height:1.425;top:8em;}
#tsuchiya #point p{top:27.5em;}


@media all and (min-width: 0) and (max-width: 749px)  {
body{font-size:2vw;}
.sp{display:block;}
.pc{display:none;}


header,article,section,footer{width:100%!important;overflow:hidden;}

.page #form iframe.sp{display:block;height:1350px;width:90%;margin:0 auto}
.page #form iframe.pc{display:none;}
.page #form div > p br{display:inline!important;margin-right:-.5em;}
.page #form div > p span{display:inline;text-indent:0em;}
}
