h1 {
    position:absolute;
    font-size: 400;
    float: left;
    top:0%;
    margin: 10px;
    padding: 10px;
    font-weight: 500;
}
h2 {
    font-weight: 500;
    font-size: 35px;
    color: #0097e0;
    text-align: center;
    background-image: url(../images/shape.png);
    background-position: bottom;
    background-repeat: no-repeat;
    margin-bottom: 3%;
    line-height: 60px;
    display: block;
}
h3 {
    font-weight: 500;
    border-bottom: 3px solid #0097e0;
    margin: 3% 0;
    padding-bottom: 10px;
    font-size: 16pt;
}

a {
    text-decoration: none;
}
#common_hd a:hover {
    opacity: 0.5;
}
#common_hd {
    font-weight: 400;
    width: 100%;
    clear: both;
    border-top: solid 8px #0097e0;
    background-repeat: no-repeat;
    background-position: top center ;
    background-size: 100% auto;
}
#common_hd img{
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin-bottom: 2%;
}

#common_hd a{
    color: #101111;
}
body {
    font-family: "M PLUS 1p",sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #101111;
    list-style: none;
    overflow-X: hidden;
    font-weight: 100;
}
#nav {
    font-size: 10.5pt;
    position:absolute;
    top:22px;
    right: 10px;
    font: "M PLUS 1p";
}
#nav li{
    float: left;
    margin: 0;
    padding: 0 20px;
}
#nav li.on{
    border-right: solid 1px #101111;
}
#wrap {
	background-image: url(../images/bg1.jpg);
	background-repeat: no-repeat;
	background-position: 100% 0%;
	background-size: contain;
}
#works2 {
	background-image: url("../images/bg2.jpg");
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 20%;
    width: 100%;
}
#wrap3 {
	background-image: url(../images/bg3.jpg);
	background-repeat: no-repeat;
	background-position: 100% 0%;
	background-size:  contain;
}
/*相続対策をお考えの方*/

.works-2 {
	width: 900px;
	margin: 50px auto 0;
}
.works-2 img {
    max-width: 70%;
    text-align: center;
    margin: auto;
    display: block;
}
.element js-animation{
  position: absolute;
  top: 30px;
  margin-top: 10%;
  width: 100%;
}

.js-animation {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: all 1s;
  position: relative;
  top: 30px;
}
.js-animation.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
.works-2container {
    max-width: 100%;
    padding: 6%;
    background-color: #f1f5f9;
    margin: auto;
    display: block;
}
.workscontainer {
    display: flex;
    flex-wrap: wrap;
    width: 900px;
    margin: 0 auto 0;
    justify-content:space-between;
}
.workscontainer ul {
    padding-left: 25px;
}
.works-2container p {
    line-height: 30px;
}
.works-2in h4 {
    margin-bottom: 20px;
    color: #0097e0;
    font-size: 15pt;
    display: block;
    padding: 0px 10px 10px 30px;
    background-image: url(../images/Check.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 24px;
}
.works-2in {
	width: 36%;
    background-image: 
        url(../images/decoborder_top.png), url(../images/decoborder_btm.png), url(../images/decoborder_bdy.png);
    background-position: center top, center bottom, center center;
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-size: 100% auto;
    line-height: 25px;
    margin: 40px 0 0;
    padding: 5%;
}
#works-2 li {
    list-style: none;
}
#about p{
    text-align: left;
    line-height: 1.5;
    margin-bottom: 35px;
}

/*対策までの流れ*/
.flow{
    margin:100px auto 0px;
    width: 900px;
}
.flow4 {
    padding: 5% 5% 0;
}
.icon1{
    text-indent:100%;
    overflow:hidden;
    float: left;
    width: 100px;
    background-image: url(../images/number1.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 60px;
    padding-top: 100px;
    display: block;
}
.icon2{
    	text-indent:100%;
	overflow:hidden;
    float: left;
    width: 100px;
    background-image: url(../images/number2.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 60px;
    padding-top: 100px;
    display: block;
}
.icon3{
    	text-indent:100%;
	overflow:hidden;
    float: left;
    width: 100px;
    background-image: url(../images/number3.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 60px;
    padding-top: 100px;
    display: block;
}
.icon4{
    	text-indent:100%;
	overflow:hidden;
    float: left;
    width: 100px;
    background-image: url(../images/number4.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 60px;
    padding-top: 100px;
    display: block;
}
.icon5{
    	text-indent:100%;
	overflow:hidden;
    float: left;
    width: 100px;
    background-image: url(../images/number5.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 60px;
    padding-top: 100px;
    display: block;
}
.flow1 {
    overflow: hidden;
}
.flow2 {
    width:100;
}
.flow-1 {
    padding-top: 50px;
    padding-bottom: 30px;
    background-image: url(../images/arrow.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center bottom;
}
.flow-2 {
    padding-top: 50px;
    padding-bottom: 30px;
}
.flow-3{
    line-height: 40px;
    font-weight:500;
    border-bottom: solid 1px #0097e0;
    font-size: 18pt;
    width: 710px;
    float: right;
}
#flowmin {
    font-size: 20px;
    width: 100%;
    text-align: center;
    color: #0097e0;
}
.flow h2 {
     margin-bottom: 10px;
}
.works-2container h5{
    margin: 0;
    color: #ffffff;
    background-color: #0097e0;
    display: inline-block;
    padding: 10px;
}
.border {
    border-bottom: solid 1px #0097e0;
    font-weight: 600;
}
/*フッター*/
.ft_info {
  overflow: hidden;
  display: block;
  text-align: center;
  width: 900px;
  margin: 100px auto 7%;
}
#ftlogo {
     font-weight: 600;
    font-size: 20px;
    margin: 0 auto 1%;
}
.ft_info P {
    display: inline-block;
    text-align: center;
    line-height: 25px;
    font-size: 15px;
}
iframe {
     margin: auto;
     width: 100%;
}
#ft p{
     font-weight: 800;
    color: #0097e0;
    font-size: 18px;
    margin-top: 20px;
}
#ftup {
    display: inline-block;
    text-align: center;
    margin: 70px 0 0 0;
}

/*コンタクト*/
.contact1 {
    color: #ffffff;
    font-size: 23px;
    width: 310px;
    display: flex;
    text-align: center;
    line-height: 2;
    margin: 5px auto 20px;
}
.contact1 a{
    color: #ffffff;
    font-size: 23px;
    line-height: 2;
    float: right;
    background-color: #0097e0;
    padding: 5px 12px 5px;
}
.contact1 a:hover {
    opacity: 0.5;
}
.contact1 img {
    padding-top: 5px;
    display: block;
    width: 75%;
    margin: auto;
}
.tel1-1{
   font-size: 20px;
    font-weight: 400;
    margin: 0;
    padding-left:14.5px;
    padding-right: 7.5px;
    background-color: #0097e0;
    line-height: 2.3;
}
.tel1 {
    font-weight: 500;
    margin: 0 5px 0 0;
    padding-right:14.5px;
    background-color: #0097e0;
}


/*コピーライト*/
.ft_bottom {
    border-top: solid 2px #0097e0;
    text-align: center;
    color: #0097e0;
    margin: 0;
    padding: 0;
}
.ft_bottom p {
    margin: 2%;
    font-size: 12px;
}
.pc {
    display: block ;
    }
.sp {
    display: none ;
    }
/*レスポンシブ*/
@media only screen and (max-width: 920px) {
#wrap {
    width: 100%;
}
/*ごあいさつ*/
.works-2 {
	width: auto;
	}
.works-2 p{
    text-align: left;
    margin-bottom: 35px;
}
/*業務内容*/
.works-2container{
    width: auto;
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 15px;
    padding: 30px 5% 5px 5%;
    }
.workscontainer {
   width: auto;
    margin-right: 5%;
    margin-left: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}
.works-2in {
	width: 100%;
    background-image: 
        url(../images/decoborder_top.png), url(../images/decoborder_btm.png), url(../images/decoborder_bdy.png);
    background-position: center top, center bottom, center center;
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-size: 100% auto;
    line-height: 25px;
    margin: 20px 0;
}
.works-2in h4 {
    margin-bottom: 20px;
    color: #0097e0;
    font-size: 15pt;
    display: block;
    padding: 0px 10px 10px 30px;
    background-image: url(../images/Check.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 23px;
}
.item P {
    text-align: left;
    line-height: 18px;
    font-size: 12px;
}
.item{
    margin: 0% auto 3%;
    width: 368px;
    height: 163px;
    text-align: left;
}
/*フッター*/
.ft_info {
  text-align: center;
  width: auto;
  margin-right: 5%;
  margin-left: 5%;
}

iframe {
     margin: auto;
     clear: both;
}

#about img{
    width: 100%;
    max-width: 100%;
    height: 100%;
}
/*コピーライト*/
.ft_bottom {
    border-top: solid 2px #0097e0;
    text-align: center;
    color: #0097e0;
    margin: 0;
    padding: 0;
}
.ft_bottom p {
    margin: 2%;
}
.flow{
    text-align: center;
    max-width: 100%;
}
.pc {
    display: block ;
    }
.sp {
    display: none ;
    }
.flow {
    width: auto;
    }
.icon1{
    overflow: hidden;
    width: 10%;
    height: 0;
    background-position: center top;
    background-size: 100% auto;
    padding-top: 10%;
    margin: 0 auto;
    margin: auto;
    float: none;
    margin-bottom: 15px;
    margin-top: 15px;
    }
    .icon2{
    overflow: hidden;
    width: 10%;
    height: 0;
    background-position: center top;
    background-size: 100% auto;
    padding-top: 10%;
    margin: 0 auto;
    margin: auto;
    float: none;
    margin-bottom: 15px;
    margin-top: 15px;
    }
    .icon3{
    overflow: hidden;
    width: 10%;
    height: 0;
    background-position: center top;
    background-size: 100% auto;
    padding-top: 10%;
    margin: 0 auto;
    margin: auto;
    float: none;
    margin-bottom: 15px;
    margin-top: 15px;
    }
    .icon4{
    overflow: hidden;
    width: 10%;
    height: 0;
    background-position: center top;
    background-size: 100% auto;
    padding-top: 10%;
    margin: 0 auto;
    margin: auto;
    float: none;
    margin-bottom: 15px;
    margin-top: 15px;
    }
    .icon5{
    overflow: hidden;
    width: 10%;
    height: 0;
    background-position: center top;
    background-size: 100% auto;
    padding-top: 10%;
    margin: 0 auto;
    margin: auto;
    float: none;
    margin-bottom: 15px;
    margin-top: 15px;
    }
.flow2 {
     text-align: center;
    margin: auto;
    }
.flow-3 {
        text-align: center;
        margin: 0;
        padding: 0;
        width: 100%;
    }
.works-2 h2{
        width: auto;
        margin-right: 5%;
        margin-left: 5%;
    }
.flow h2 {
        width: auto;
        margin-right: 5%;
        margin-left: 5%;
    }
    }
@media screen and (max-width: 700px){
#works2 {
	background-image: url("../images/bg2.jpg");
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 20%;
    width: 100%;
}
h1 {
    top:15px;
    right: 0;
    left:0;
    margin: auto;
    text-align: center;
    }
#common_hd img{
    margin-bottom: 2%;
}
#nav {
    position:static;
    right: 0;
    top: 0;
}
.ft_info{
    margin-top: 15%;
    }
/*
#ftup img{
    padding-top: 30px;
    width: 70%;
    height: auto;
    margin-bottom: 15px;
    }
*/
/*ここからナビ*/
#nav {
    font-weight: 600;
    font-size: 10pt;
	max-width: 100%;
	background-color: #ffffff;
    padding: 30px 0 20px;
}
#nav {
	display: flex;
	list-style: none;
	max-width: 100%;
	margin: 0 auto;
    background-color: #ffffff;
}
#nav li {
	flex:1 0 auto;
    padding: 0;
}

#nav a {
    max-width: 100%;
    background-color: #ffffff;
	display: block;
	text-align: center;
	text-decoration: none;
	color: #0097e0;
	padding: 0px 4px;
}
#nav li.on {
     border-right: solid 2px #0097e0;
    }
.fixed {
	position: fixed;
	top: 0;
    width: 100%;
    z-index: 9999999;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);
}
.works-2 img{
    width: 100%;
    max-width: 60%;
    height: auto;
    }
}

@media screen and (max-width: 480px){
h1 {
    top:30px;
    }
.ft_info {
	width: auto;
    margin-right: 0%;
    margin-left: 0%;
	}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
.pc {
    display: none ;
    }
.sp {
    display: block ;
    margin: auto;
    }
#wrap
    {
     max-width: 100%;
     margin: 0;
}
#wrap p {
    margin: 0 3% 4%;
    }
    }