@charset "UTF-8";
/* CSS Document */

.page_title{
background-image: url("images/pagetitle.jpg");
background-image: -webkit-image-set(url("images/pagetitle.jpg") 1x, url("images/pagetitle@2x.jpg") 2x);
}

/* 中身-モバイルファースト======================================================================================================== */

#top .midashi{
text-align: center;
}
#top .midashi h2{
font-size: 20px;
font-weight: bold;
letter-spacing: .25em;
display: inline-block;
margin: 15vw auto;
text-align: left;
position: relative;
}
#top .midashi h2::before{
content: "";
display: block;
background-image: url("../images/decoration02.svg");
background-repeat: no-repeat;
background-position: left top;
background-size: 100%;
aspect-ratio: 213 / 216;
width: 30%;
position: absolute;
top: -10vw;
right: -20%;
}
#top .midashi h2::after{
content: "";
display: block;
background-image: url("../images/decoration03.svg");
background-repeat: no-repeat;
background-position: left top;
background-size: 100%;
aspect-ratio: 370 / 254;
width: 40%;
position: absolute;
bottom: -12vw;
left: -20%;
}
#top em{
display: block;
font-weight: bold;
}


#business{
background-color: #f9f6ed;
padding: 60px 0;
}
#business .box{
display: flex;
flex-direction: column;
}
#business .box:nth-child(even){
flex-direction: column-reverse;
}
#business .photo{
margin-bottom: 20px;
}
#business .box:nth-child(even) .photo{
margin-bottom: 0px;
}
#business .photo img{
border-radius: 50%;
}
#business .text h3{
font-size: 18px;
}
#business .text p{
margin-bottom: 20px;
}

#business .margin{
font-size: 12px;
margin-bottom: 40px;
}
#business .margin h4{
font-size: 12px;
background-color: #fff;
border-radius: 100px;
padding: 5px 15px 5px 5px;
text-align: center;
margin-bottom: 10px;
text-decoration: underline;
}
#business .margin h4::after{
right: 8px;
}
#business .margin table{
width: 100%;
border-collapse: collapse;
border-spacing: 0;
font-size: 12px;
border: solid 1px #ddd;
background-color: #fff;
margin-bottom: 10px;
}
#business .margin table th,
#business .margin table td{
border: solid 1px #ddd;
padding: 5px;
}
#business .margin table th{
background-color: #efeae4;
}
#business .margin table thead th{
text-align: center;
}
#business .margin table td{
text-align: right;
}
#business .margin table + p{
margin-bottom: 0;
}
#business .margin ul{
list-style: disc;
}
#business .margin ul li{
margin-left: 20px;
}



#link{
text-align: center;
}
#link em{
display: block;
font-weight: bold;
}
#link p{
width: 240px;
margin: 0 auto;
}

/* スマホのみ======================================================================================================== */
@media screen and (max-width: 750px){

#business .margin table th,
#business .margin table td{
display: block;
}

#business .margin table td{
text-align: left;
}

}



/* PCのみ======================================================================================================== */
@media print, screen and (min-width: 751px){
#top .midashi h2{
font-size: 40px;
margin: 80px auto;
letter-spacing: .5em;
}
#top .midashi h2::before{
width: 120px;
top: -40px;
right: -100px;
}
#top .midashi h2::after{
width: 200px;
bottom: -60px;
left: -200px;
}

#top em{
text-align: center;
font-size: 20px;
}



#business .box{
flex-direction: row-reverse;
}
#business .box.b02{
flex-direction: row;
}
#business .photo{
width: 300px;
margin-bottom: 0px;
}
#business .box.b01 .photo{
margin-left: 40px;
}
#business .box.b02 .photo{
margin-right: 40px;
}
#business .text{
flex: 1;
}
#business .text h3{
font-size: 20px;
}


#business .margin h4{
display: inline-block;
font-size: 14px;
text-align: left;
padding: 5px 2.5em 5px 1em;
}
#business .margin .flex{
display: flex;
justify-content: space-between;
}
#business .margin .flex table{
width: 49%;
}






}

