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;}
.fadeinL {opacity:0;transform:translateX(-200px);transition: all 1.5s;}
.fadeinR {opacity:0;transform:translateX(200px);transition: all 1.5s;}
.pc{display:block;}
.sp{display:none;}

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

/* 本文ヘッダー */
#home header{position:relative;}
#home header iframe{width:44.5em;height:30em;position:absolute;left:50%;transform:translate(-50%);bottom:2.5em;}

#home section#map{padding:1em 0 7em}
ul.thumbnail{width:44.5em;margin:2em auto}
ul.thumbnail .slick-track{width:100%!important;}
ul.thumbnail .slick-slide{width:50%!important;margin:0em!important;padding:0 .5em .5em ;box-sizing:border-box;}
ul.thumbnail .slick-slide:hover{opacity:.6;transition-duration:.3s;z-index:9999;transform:translate(2px,2px);cursor:pointer}
ul.thumbnail .slick-track{transform:translate3d(0%, 0px, 0px)!important;}

ul.slider{margin:3em auto 0;width:37.7em;position:relative;z-index:2}


#event{position:relative;}
#event::after{content:"";background:url(img/balloon.png) no-repeat;background-size:contain;width:100%;height:19.5em;top:-15em;display:block;position:absolute;}
#event a{width:100%;height:38.35em;position:absolute;left:50%;transform:translate(-50%);top:.25em;z-index:3}
#event ul{position:absolute;top:99em;width:100%;}
#event ul li{height:36em;}
#event ul li:nth-of-type(1){top:0;}
#event ul li:nth-of-type(2){top:36;}
#event ul li:nth-of-type(3){top:72;}

#sanka{margin:0 auto 6em;}
#entry{background:#21976c;padding-bottom:9.35em}

a.start_btn{width:41.4em;height:auto;margin:5em auto 8em;display:block;}
a.gotop_btn{width:18.5em;height:auto;margin:0 auto;display:block;}

footer div{width:100%;background:#b72d2d;}
footer h1{font-size:1.15em;text-align:left;letter-spacing:.1em;color:white;padding:1.25em 0;margin:0 auto;line-height:1.25;display:table;}
footer a img{margin:0em auto 6em;display:block;}
footer a{color:white;}


/* 各ページ */
.page header{position:relative;}
.page header #midashi{position:absolute;width:70%;top:97em;left:50%;transform:translateX(-50%);display:block;padding:0;}
.page header #midashi::after{content:"";background:#f4c71b;width:100%;height:3px;display:block;bottom:1.25em;position:relative;}
.page header #midashi h1{text-align:center;line-height:1.5;color:#f4c71b;font-size:2.25em;letter-spacing:.2em;font-weight:bold;}

#takashima #midashi::after{background:#f19117;}
#takashima #midashi h1{color:#f19117;}
#hometech #midashi::after{background:#eb6600;}
#hometech #midashi h1{color:#eb6600;}
#iekeikaku #midashi::after{background:#c3a786;}
#iekeikaku #midashi h1{color:#c3a786;}
#logoshome #midashi::after{background:#957246;}
#logoshome #midashi h1{color:#957246;}
#tsuchiya #midashi::after{background:#4e351b;}
#tsuchiya #midashi h1{color:#4e351b;}
#sekisui #midashi::after{background:#3b4c39;}
#sekisui #midashi h1{color:#3b4c39;}
#misawa #midashi::after{background:#628e56;}
#misawa #midashi h1{color:#628e56;}


.page #plan{position:absolute;width:100%;top:136em;z-index:3}
.page #plan h2{text-align:left;margin:1em auto 1em;display:table;font-size:2.25em;line-height:1.95;}
.page #plan p{text-align:center;font-size:1.45em;}
.page #plan span{text-align:center;font-size:1.3em;display:block;margin-top:-1em;}

#takashima #plan{top:178em;}
#hometech #plan{top:186.5em;}
#iekeikaku #plan{top:159em;}
#logoshome #plan{top:180em;}
#tsuchiya #plan{top:186em;}
#sekisui #plan{top:190em;}
#misawa #plan{top:190em;}

#tsuchiya #plan a{width:34.65em;display:block;margin:3em auto 0}

.page #photo{position:absolute;width:100%;top:164.25em;height:120em;}
.page #photo p{position:absolute;writing-mode:vertical-rl;text-orientation:upright;font-size:2em;line-height:1.55;letter-spacing:.05em;}
#keos #photo p:nth-of-type(1){right:.85em;}
#keos #photo p:nth-of-type(2){top:20.25em;left:.75em;}
#keos #photo p:nth-of-type(3){top:34.5em;right:2.5em;}
#takashima #photo{top:209.25em;}
#takashima #photo p:nth-of-type(1){right:5.75em;}
#takashima #photo p:nth-of-type(2){top:29em;right:.25em;}
#hometech #photo {top:217.5em;color:white;}
#hometech #photo p:nth-of-type(1){right:5.25em;}
#hometech #photo p:nth-of-type(2){top:28em;right:1.25em;}
#hometech #photo p:nth-of-type(3){top:38em;left:2em;}
#iekeikaku #photo{top:190.75em;}
#iekeikaku #photo p:nth-of-type(1){right:.75em;}
#iekeikaku #photo p:nth-of-type(2){top:24em;left:1.25em;}
#logoshome #photo {top:209em;color:white;}
#logoshome #photo p:nth-of-type(1){right:3.6em;}
#logoshome #photo p:nth-of-type(2){top:32em;right:1em;}
#logoshome #photo p:nth-of-type(3){top:42em;left:.25em;}
#tsuchiya #photo {top:261.5em;color:white;}
#tsuchiya #photo p:nth-of-type(1){right:5.75em;}
#tsuchiya #photo p:nth-of-type(2){top:29.4em;right:1em;}
#sekisui #photo {top:222em;color:white;}
#sekisui #photo p:nth-of-type(1){right:6.5em;}
#sekisui #photo p:nth-of-type(2){top:28.5em;right:1.75em;}
#sekisui #photo p:nth-of-type(3){top:45.5em;left:1.75em;}
#misawa #photo {top:221em;color:white;}
#misawa #photo p:nth-of-type(1){left:1em;letter-spacing:0em;}
#misawa #photo p:nth-of-type(2){top:18.5em;right:1.75em;}

.page #text{position:absolute;width:78%;left:11%;top:264.75em;height:40em;}
.page #text p{position:absolute;font-size:2em;line-height:1.55}
#keos #text p:nth-of-type(1){top:0em;}
#keos #text p:nth-of-type(2){top:7.25em;}
#keos #text p:nth-of-type(3){top:14.75em;}
#takashima #text{top:296em;}
#takashima #text p:nth-of-type(1){top:0em;}
#takashima #text p:nth-of-type(2){top:7.25em;}
#takashima #text p:nth-of-type(3){top:12.75em;}
#takashima #text p:nth-of-type(4){top:18.25em;}
#takashima #text p:nth-of-type(5){top:24em;}
#hometech #text{top:325.5em;}
#hometech #text p:nth-of-type(1){text-align:right;right:0}
#hometech #text p:nth-of-type(2){top:7.25em;}
#iekeikaku #text{top:306.5em;}
#iekeikaku #text p:nth-of-type(1){left:0}
#iekeikaku #text p:nth-of-type(2){top:13.55em;}
#logoshome #text{top:340.75em;}
#logoshome #text p:nth-of-type(1){left:0}
#logoshome #text p:nth-of-type(2){top:10.5em;}
#tsuchiya #text{top:355em;}
#tsuchiya #text p:nth-of-type(1){top:0em;}
#tsuchiya #text p:nth-of-type(2){top:7em;}
#tsuchiya #text p:nth-of-type(3){top:14.25em;}
#sekisui #text{top:389.25em;}
#sekisui #text p:nth-of-type(1){left:0}
#sekisui #text p:nth-of-type(2){top:3.75em;}
#misawa #text{top:329.75em;}
#misawa #text p:nth-of-type(1){top:0em;}
#misawa #text p:nth-of-type(2){top:16.25em;}
#misawa #text p:nth-of-type(3){top:20.25em;}

#address div{border-top:2px solid black;width:80%;margin:0 auto 3em;text-align:center;}
#address div h1{font-size:2.75em;font-weight:bold;margin:.75em 0 .5em;padding:0;}
#address div h2{font-size:1.55em;font-weight:bold;margin:0;padding:0;letter-spacing:.05em;}
#address div h3{font-size:3em;font-weight:bold;margin:.5em 0 .5em;padding:0;letter-spacing:.05em;}
#address div h3::before{content:"TEL.";display:inline-block;padding-right:.1em;font-size:.75em;}

#address div h3.free::before{content:"";display:inline-block;background:url(imgs/free_icon.png) no-repeat;background-size:contain;width:2.85em;height:2em;padding-right:0em;font-size:.5em;vertical-align:top;}

section#form{padding:3em 0 5em}
section#form h1{width:84%;color:white;font-size:3em;margin:2em auto 0;padding:.75em 0;display:block;font-weight:bold;letter-spacing:.2em;}
section#form div{width:86%;background:white;margin:.5em auto 5em;padding:2em 0;border-radius:1.75em;}
section#form iframe.pc{height:1000px;width:100%;}
section#form iframe.sp{display:none;}
section#form div > p{display:table;height:auto;margin:0 auto;padding:0 1em;font-size:max(10px,1.15em);line-height:1.25;}
section#form div > p span{display:block;padding-left:1em;}

#keos section#form{background:#f4c71b}
#takashima section#form{background:#f19117}
#hometech section#form{background:#eb6600}
#iekeikaku section#form{background:#c3a786}
#logoshome section#form{background:#957246}
#tsuchiya section#form{background:#4e351b}
#sekisui section#form{background:#3b4c39}

section#form a{width:18.3em;height:auto;margin:0 auto;display:block;}
section#form a.goyoyaku{width:41.5em;height:auto;margin:-2em auto 5em;display:block;}

@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;}

section#form iframe.sp{display:block;height:1300px;width:90%;margin:0 auto}
section#form iframe.pc{display:none;}
}
