#header {
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
width: 100%;
text-align: left;
position: absolute;
padding: 0;
z-index: 5000;
}
#top {

}
#mainimage {
padding: 180px 0 180px 0;
background-image: url("../image/top/mainimage.jpg");
background-size: cover;
background-position: top right;
position: relative;
overflow: hidden;
width: 100%;
text-align: left;
}
#mainimage .box {
width: 90%;
margin: 0px auto 0 auto;
}
#mainimage .box h1 {
font-size: clamp(24px, 1.06px + 6.12vw, 50px);
line-height: 1.5em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 600;
font-style: normal;
color: #000000;
padding: 0 0 0 0;
max-width: 900px;
width: 70%;
}
#mainimage .box p {
display: inline-block;
font-family: acumin-pro, sans-serif;
font-weight: 700;
font-style: normal;
font-size: 22px;
line-height: 1.3em;
padding: 1em 0 0 0;
background: linear-gradient(90deg, #f11300 0%, #08f100 28%, #0604ff 50%, #e700ec 78%, #920e14 100%);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
max-width: 900px;
width: 70%;
}

#top h2 {
font-family: "ryo-gothic-plusn", sans-serif;
font-weight: 500;
font-style: normal;
font-size: 20px;
line-height: 1.7em;
text-align: center;
padding: 80px 0 0 0;
}
#top h3 {
font-size: clamp(28px, 1.06px + 6.12vw, 80px);
line-height: 1.5em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 600;
font-style: normal;
color: #000000;
padding-bottom: 0.5em;
}
#top p {
font-size: clamp(16px, -0.13px + 2.52vw, 20px);
line-height: 1.8em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 500;
font-style: normal;
color: #000000;
padding-bottom: 2em;
}
#top .bt {
width: 420px;
}
#top .bt a {
background-color: #7392c9;
color: #FFF;
border-radius: 100vh;
display: block;
font-size: 26px;
line-height: 1.5em;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 700;
text-align: center;
padding: 0.4em 0 0.4em 0;
}
#top .bt a:hover {
background-color: #0e307b;
}

#service1,
#service2,
#service3 {
padding: 150px 0 150px 5%;
width: 100%;
box-sizing: border-box;
display: block;
background-size: cover;
}
#service1 {
margin: 80px 0 0 0;
background-image: url("../image/top/bg1.jpg");
background-position: top right;
text-align: left;
}
#service1 h3,
#service1 p {
max-width: 1000px;
padding-right: 25%;
}
#service2 {
margin: 0px 0 0 0;
background-image: url("../image/top/bg2.jpg");
background-position: top left;
text-align: right;
padding: clamp(50px, 6vw, 150px) 5% clamp(50px, 6vw, 150px) 0;
}
#service2 h3 {
font-size: clamp(28px, 1.06px + 6.12vw, 60px);
max-width: 1000px;
text-align: right;
margin: 0 0 0 auto;
padding-left: 35%;
}
#service2 .bt {
margin: 0px 0 0 auto;
}
#service3 {
margin: 0px 0 0 0;
background-image: url("../image/top/bg3.jpg");
background-position: top right;
text-align: left;
padding: clamp(50px, 6vw, 150px) 0 clamp(50px, 6vw, 150px) 5%;
}
#service3 h3 {
font-size: clamp(28px, 1.06px + 6.12vw, 60px);
max-width: 1000px;
padding-right: 35%;
}

#contents {
background-image: url("../image/top/bg4.jpg");
background-size: cover;
display: block;
padding: 80px 0 80px 0;
}
#contents ul {
width: 80%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin: 0px auto 0 auto;
}
#contents ul li {
width: 47%;
position: relative;
overflow: hidden;
display: block;
}
#contents ul li a {
position: relative;
z-index: 1;
display: flex;
align-items:flex-end;
justify-content: center;
}
#contents ul li:after {
content: "";
position: absolute;
display: block;
width: 100%;
height: 100%;
top: 0;
background-size: cover;
transition: all .3s ease-out;
opacity: 1;
}
#contents ul li h4 {
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 400;
font-style: normal;
position: relative;
display: block;
width: 100%;
font-size: 26px;
line-height: 1.6em;
color: #FFF;
padding: 70px 0 70px 0;
background-color: rgba(0, 0, 0, 0.5);
}
#contents ul li h4 b {
font-family: acumin-pro, sans-serif;
font-weight: 500;
font-style: normal;
font-size: 40px;
letter-spacing: 0.1em;
}
#contents ul li.bt1:after {
background-image: url("../image/top/recruit_bg.jpg");
}
#contents ul li:nth-child(2):after {
background-image: url("../image/top/aboutus_bg.jpg");
}
#contents ul li:hover:after {
transform: scale(1.1);
opacity: 1;
}

/****************************** topics　*/
#news {
margin: 80px auto 0 auto;
}
#news dl {
width: 70%;
min-width: 1200px;
margin: 0px auto 0 auto;
text-align: left;
font-family: ryo-gothic-plusn, sans-serif;
font-weight: 500;
font-style: normal;
}
#news dt {
width: 100%;
box-sizing: border-box;
padding: 0em 0em 0em 0em;
color: #444444;
font-size: 18px;
}
#news dt b {
font-family: acumin-pro, sans-serif;
font-weight: 300;
font-style: normal;
font-size: 60px;
line-height: 1.1em;
display: block;
}
#news dd {
box-sizing: border-box;
padding: 1.5em 0 0 0;
}
#news dd ul {}
#news dd ul li {
font-size: 18px;
line-height: 1.5em;
padding: 0.7em 1em 0.7em 1em;
}
#news dd ul li a {
color: #2d2d2d;
text-decoration: none;
display: block;
}
#news dd ul li b {
display: block;
color: #7c7c7c;
font-size: 14px;
font-weight: 400;
font-style: normal;
}
#news dd ul li a:hover {
color: #0e307b;
background-color: #EEEEEE;
}
/****************************** topics　*/









