/* TOP */
/*--------メイン--------*/
#page-home .main-visual-section {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}
#page-home .main-visual-section .main-visual-background {
    position: absolute;
    top: 0;
    left: -2%;
    width: 105%;
    height: 100%;
    z-index: 0;
    background-image: url('/assets/img/001_top/main.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    animation: gentleWaveBackground 12s ease-in-out infinite alternate;
}
@keyframes gentleWaveBackground {
    0% {
        transform: translate(-1.5%, 0) scale(1);
    }
    100% {
        transform: translate(1.5%, 0) scale(1.1);
    }
}
#page-home .main-visual-section .main-inner {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}
#page-home .main-visual-section .main-catch {
    position: absolute; 
    top: 80px;
    left: 70px;
    z-index: 1;
    color: #191919;
}
#page-home .main-visual-section .main-catch h2.title,
#page-home .main-visual-section .main-catch h2.title span {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2px;
    margin-bottom: 10px;
    -webkit-text-stroke: 2px #fff;
    paint-order: stroke;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.12);
}
#page-home .main-visual-section .main-catch h2.title span {
    color: #AE2324;
    display: inline;
}
#page-home .main-visual-section .main-catch p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    -webkit-text-stroke: 2px #fff;
    paint-order: stroke;
}
#page-home .main-visual-section .newsrelease {
    position: absolute; 
    bottom: 20px;
    right: 0;
    z-index: 1;
    color: #fff;
    background-color: rgba(127, 128, 128, 0.92);
    border-radius: 5px;
    padding: 20px 20px 10px;
    width: 45%;
}
#page-home .main-visual-section .newsrelease h2.title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    margin: 0 0 20px;
}
#page-home .main-visual-section .newsrelease ul li a {
    color: #fff;
    margin-bottom: 10px;
    font-weight: 300;
    font-size: 14px;
}
#page-home .main-visual-section .newsrelease ul li a span.date {
    margin-right: 1em;
}

/*TB*/
@media all and (max-width: 1199px) {
    #page-home .main-visual-section {
        height: 400px;
    }
    #page-home .main-visual-section .main-inner {
        width: 100%;
    }
    #page-home .main-visual-section .main-catch {
        top: 40px;
        left: 40px;
    }
    #page-home .main-visual-section .main-catch h2.title,
    #page-home .main-visual-section .main-catch h2.title span {
        font-size: 34px;
    }
    #page-home .main-visual-section .main-catch p {
        font-size: 12px;
    }
    #page-home .main-visual-section .newsrelease {
        bottom: 20px;
        right: 20px;
    }
    #page-home .main-visual-section .newsrelease ul li a {
        font-size: 12px;
    }
}

/*SP*/
@media all and (max-width: 430px) {
    #page-home .main-visual-section {
        height: 600px;
    }
    #page-home .main-visual-section .main-visual-background {
        background-image: url('/assets/img/001_top/main_sp.webp');
    }
    #page-home .main-visual-section .main-catch h2.title,
    #page-home .main-visual-section .main-catch h2.title span {
        font-size: 26px;
        font-weight: 800 !important;
        line-height: 1.7;
        letter-spacing: 0.5px;
        text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.12);
    }
    #page-home .main-visual-section .main-catch {
        width: 90%;
        top: 40px;
        left: 5%;
    }
    #page-home .main-visual-section .main-catch p {
        font-size: 12px;
    }
    #page-home .main-visual-section .newsrelease {
        width: 100%;
        bottom: 0;
        left: 0;
        border-radius: 0;
        padding: 25px 20px 15px;
    }
    #page-home .main-visual-section .newsrelease ul li a {
        font-size: 13px;
    }
}

/*--------について--------*/
#page-home .aboutus {
    margin: 80px auto;
}
#page-home .aboutus .inner {
    width: 800px;
}
#page-home .aboutus h2.title {
    color: #AE2324;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    text-align: center;
}
#page-home .aboutus p {
    font-size: 14px;
    line-height: 1.6;
}

/*TB*/
@media all and (max-width: 1199px) {
    #page-home .aboutus .inner {
        width: 100%;
    }
}

/*SP*/
@media all and (max-width: 430px) {
    #page-home .aboutus {
        margin: 50px auto;
    }
    #page-home .aboutus h2.title {
        font-size: 24px;
    }
    #page-home .aboutus p {
        width: 90%;
        margin: 0 auto;
    }
}

/*--------3つの事業--------*/
#page-home .business3 {
    background: #AE2324 url(/assets/img/001_top/business_bg.png) center 30px no-repeat;
    background-size: contain;
    padding: 30px 0;
}
#page-home .business3 .inner-wide {
    position: relative;
}
#page-home .business3 h2.title {
    width: 220px;
    margin: 0 auto 30px;
}
#page-home .business3 .tothelist {
    position: absolute;
    top: 25px;
    right: 0;
}
#page-home .business3 .tothelist a {
	display: block;
	color: #fff;
	padding: 8px 25px;
	border-radius: 9999px;
	background: #191919;
	font-size: 16px;
}
#page-home .business3 .tothelist a:hover {
	color: #AE2324;
	background: #fff;
    opacity: 1;
}
#page-home .business3 ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 20px;
}
#page-home .business3 ul li {
    text-align: center;
    width: 380px;
    border-radius: 3px;
    display: flex;
    align-items: stretch;
}
#page-home .business3 ul li a {
    display: block;
    padding: 25px 5px;
    background: #fff;
    width: 100%;
}
#page-home .business3 ul li a:hover {
    background-color: #EFF1EF;
    opacity: 1;
}
#page-home .business3 ul li figure{
    width: 164px;
    height: 164px;
    margin: 0 auto 15px;
}
#page-home .business3 ul li p:nth-child(2) {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}
#page-home .business3 ul li p:nth-child(3) {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 15px;
}
#page-home .business3 ul li p.morebtn {
    border: 1px solid #AE2324;
    color: #AE2324;
	padding: 8px 15px;
	border-radius: 9999px;
	font-size: 14px;
    width: 50%;
    margin: 0 auto;
}
#page-home .business3 ul li a:hover p.morebtn {
    background: #AE2324;
    color: #fff;
}
/*TB*/
@media all and (max-width: 1199px) {
    #page-home .business3 h2.title {
        width: 170px;
        margin: 0 auto 30px;
    }
    #page-home .business3 .inner-wide {
        width: 95%;
    }
    #page-home .business3 ul li {
        width: 32%;
    }
    #page-home .business3 .tothelist {
        top: 15px;
        right: 0;
    }
    #page-home .business3 ul li p:nth-child(2) {
        font-size: 18px;
    }
    #page-home .business3 ul li p:nth-child(3) {
        font-size: 14px;
    }
    #page-home .business3 ul li p.morebtn {
        width: 80%;
    }
}
/*SP*/
@media all and (max-width: 430px) {
    #page-home .business3 .inner-wide {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    #page-home .business3 h2.title {
        margin: 0 auto;
    }
    #page-home .business3 .tothelist {
        position: static;
        width: 70%;
        text-align: center;
        margin: 0 auto;
        order: 1;
    }
    #page-home .business3 .tothelist a {
        font-size: 16px;
    }
    #page-home .business3 ul {
        margin-bottom: 0;
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    #page-home .business3 ul li {
        width: 100%;
    }
    #page-home .business3 ul li a {
        padding: 15px 5px;
    }
    #page-home .business3 ul li figure{
        margin-bottom: 8px;
    }
    #page-home .business3 ul li p:nth-child(2) {
        margin-bottom: 8px;
        font-size: 20px;
    }
    #page-home .business3 ul li p:nth-child(3) {
        margin-bottom: 8px;
        font-size: 16px;
    }
}

/*--------5つの強み--------*/
#page-home .strong5 {
    margin: 90px 0;
}
#page-home .strong5 .inner-wide {
    position: relative;
}
#page-home .strong5 h2.title {
    position: absolute;
    top: -20px;
    left: 80px;
    width: 230px;
}
#page-home .strong5 ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: 
    ". item-a item-b"
    "item-c item-d item-e";
  gap: 37px;
  width: 1200px;
}
#page-home .strong5 ul li {
    position: relative;
}
#page-home .strong5 ul li:nth-child(1) {
  grid-area: item-a;
}
#page-home .strong5 ul li:nth-child(2) {
  grid-area: item-b;
}
#page-home .strong5 ul li:nth-child(3) {
  grid-area: item-c;
}
#page-home .strong5 ul li:nth-child(4) {
  grid-area: item-d;
}
#page-home .strong5 ul li:nth-child(5) {
  grid-area: item-e;
}
#page-home .strong5 ul li figure {
    width: 35px;
    position: absolute;
    top: 5px;
    left: 0;
}
#page-home .strong5 ul li h3 {
    color: #191919;
    border-bottom: 2px dotted #AE2324;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0 0 10px 35px;
    padding-bottom: 10px;
    text-align: center;
}
#page-home .strong5 ul li p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 0 35px;
}
/*TB*/
@media all and (max-width: 1199px) {
    #page-home .strong5 {
        margin: 50px 0;
    }
    #page-home .strong5 .inner-wide {
        width: 95%;
    }
    #page-home .strong5 h2.title {
        top: 20px;
        left: 50px;
        width: 20%;
    }
    #page-home .strong5 ul {
        gap: 40px 2%;
        width: 100%;
    }
    #page-home .strong5 ul li h3 {
        font-size: 16px;
    }
    #page-home .strong5 ul li p {
        font-size: 12px;
    }
}
/*SP*/
@media all and (max-width: 430px) {
    #page-home .strong5 {
        margin: 50px 0 60px;
    }
    #page-home .strong5 h2.title {
        position: static;
        width: 50%;
        margin: 0 auto 40px;
    }
    #page-home .strong5 ul {
        display: flex;
        flex-direction: column;
        gap: 35px;
        width: 100%;
    }
    #page-home .strong5 ul li {
        width: 100%;
        margin-bottom: 0;
    }
    #page-home .strong5 ul li figure {
        width: 35px;
        position: absolute;
        top: 0;
        left: 0;
    }
    #page-home .strong5 ul li h3 {
        font-size: 19px;
    }
    #page-home .strong5 ul li p {
        font-size: 15px;
    }
}

/*--------ピックアップ--------*/
#page-home .pickupitem {
    background: #F5F5F5;
    padding: 40px 0;
}
#page-home .pickupitem .inner-wide {
    position: relative;
}
#page-home .pickupitem h2.title {
    color: #191919;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    text-align: center;
}
#page-home .pickupitem h2.title span {
    display: block;
    color: #AFAFAF;
    font-size: 18px;
    margin-top: 15px;
}
#page-home .pickupitem .tothelist {
    position: absolute;
    top: 10px;
    right: 0;
}
#page-home .pickupitem .tothelist a {
	display: block;
	color: #fff;
	padding: 8px 25px;
	border-radius: 9999px;
	background: #191919;
	font-size: 16px;
}
#page-home .pickupitem .tothelist a:hover {
	color: #fff;
	background: #AE2324;
    opacity: 1;
}
#page-home .pickupitem ul {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 20px;
}
#page-home .pickupitem ul li {
    width: 236px;
}
#page-home .pickupitem ul li p {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}
#page-home .pickupitem ul li figure {
    position: relative;
}
#page-home .pickupitem ul li figure::after {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: url('/assets/img/001_top/arrow01.png') 0 0 no-repeat;
    background-size: cover;
}

/*TB*/
@media all and (max-width: 1199px) {
    #page-home .pickupitem .inner-wide {
        width: 95%;
    }
}

/*SP*/
@media all and (max-width: 430px) {
    #page-home .pickupitem .inner-wide {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    #page-home .pickupitem h2.title {
        margin: 0 auto;
    }
    #page-home .pickupitem .tothelist {
        position: static;
        width: 70%;
        text-align: center;
        margin: 0 auto;
        order: 1;
    }
    #page-home .pickupitem .tothelist a {
        font-size: 16px;
    }
    #page-home .pickupitem ul {
        flex-wrap:wrap;
        gap: 25px 2%;
        margin-bottom: 0;
    }
    #page-home .pickupitem ul li {
        width: 49%;
    }
    #page-home .pickupitem ul li p {
        margin-top: 5px;
    }
}

/*--------バナーエリア--------*/
#page-home .bannerset {
    margin: 80px auto;
}
#page-home .bannerset .inner-wide ul.bannersetT {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
#page-home .bannerset .inner-wide ul.bannersetT li {
    width: 48%;
    position: relative;
}
#page-home .bannerset .inner-wide ul.bannersetT li a {
    display: flex;
    align-items:center;
    width: 100%;
    border: 1px solid #efefef;
    border-radius: 5px;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
    padding: 25px;
}
#page-home .bannerset .inner-wide ul.bannersetT li a p {
    font-size: 18px;
    font-weight: 600;
}
#page-home .bannerset .inner-wide ul.bannersetT li a:hover {
    background: #f5f5f5;
}
#page-home .bannerset .inner-wide ul.bannersetT li figure {
    width: 40px;
    margin-right: 20px;
}
#page-home .bannerset .inner-wide ul.bannersetT li figure::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    width: 42px;
    height: 100%;
    background: url('/assets/img/001_top/arrow02.png') 0 center no-repeat;
    background-size: contain;
}
#page-home .bannerset .inner-wide ul.bannersetM {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
#page-home .bannerset .inner-wide ul.bannersetM li {
    width: 31%;
    position: relative;
}
#page-home .bannerset .inner-wide ul.bannersetM li a {
    display: block;
    width: 100%;
    border: 1px solid #9F1112;
    border-radius: 5px;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
    padding: 20px;
    background: #AE2324;
    color: #fff;
}
#page-home .bannerset .inner-wide ul.bannersetM li a p {
    font-size: 17px;
    font-weight: 600;
}
#page-home .bannerset .inner-wide ul.bannersetM li a p::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    width: 35px;
    height: 100%;
    background: url('/assets/img/001_top/arrow02.png') 0 center no-repeat;
    background-size: contain;
}
#page-home .bannerset .inner-wide .bannersetB {
    width: 800px;
    margin: 0 auto;
}
#page-home .bannerset .inner-wide .for_sp {
    display: none;
}

/*TB*/
@media all and (max-width: 1199px) {
    #page-home .bannerset .inner-wide {
        width: 95%;
    }
    #page-home .bannerset .inner-wide ul.bannersetT li a p {
        font-size: 16px;
    }
    #page-home .bannerset .inner-wide ul.bannersetM li a p {
        font-size: 15px;
    }
    #page-home .bannerset .inner-wide .bannersetB {
        width: 100%;
    }
}

/*SP*/
@media all and (max-width: 430px) {
    #page-home .bannerset .inner-wide ul.bannersetT {
        flex-direction:column;
        gap: 25px;
        margin-bottom: 40px;
    }
    #page-home .bannerset .inner-wide ul.bannersetT li {
        width: 100%;
    }
    #page-home .bannerset .inner-wide ul.bannersetM {
        flex-direction:column;
        gap: 20px;
        margin-bottom: 40px;
    }
    #page-home .bannerset .inner-wide ul.bannersetM li {
        width: 100%;
    }
    #page-home .bannerset .inner-wide .for_sp {
        display: block;
    }
    #page-home .bannerset .inner-wide .for_pc {
        display: none;
    }
}

/*--------導入実績--------*/
#page-home .clientslist {
    margin: 80px auto;
    border-top: 1px solid #EFF1EF;
    padding-top: 50px;
}
#page-home .clientslist .inner-wide {
    width: 930px;
    margin: 0 auto;
    text-align: center;
}
#page-home .clientslist .inner-wide h2.title {
    color: #191919;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: flex;
    flex-direction:column;
    align-items: center;
}
#page-home .clientslist .inner-wide h2.title::after {
    content: "";
    width: 50px;
    border-top: 5px solid #AE2324;
    display: block;
    margin-top: 20px;
}
#page-home .clientslist .inner-wide p {
    font-size: 14px;
    margin-bottom: 30px;
}
#page-home .clientslist .inner-wide .companyname ul {
    font-size: 13px;
    line-height: 1.2;
    display: flex;
    flex-wrap:wrap;
}
#page-home .clientslist .inner-wide .companyname ul li {
    width: 31%;
    margin-right: 2%;
    margin-bottom: 5px;
    text-align: left;
}
#page-home .clientslist .inner-wide .companyname ul li::before {
    content: "・";
    text-indent: 1em;
    margin-left: -1em;
}
#page-home .clientslist .inner-wide .companyname .companyname_last {
    width: 850px;
    font-size: 13px;
    line-height: 1.2;
    text-align: right;
}

/*TB*/
@media all and (max-width: 1199px) {
    #page-home .clientslist .inner-wide {
        width: 95%;
    }
    #page-home .clientslist .inner-wide .companyname ul {
        font-size: 12px;
    }
    #page-home .clientslist .inner-wide .companyname .companyname_last {
        width: 90%;
    }
}

/*SP*/
@media all and (max-width: 430px) {
    #page-home .clientslist .inner-wide {
        width: 90%;
    }
    #page-home .clientslist .inner-wide .companyname ul {
        font-size: 13px;
        line-height: 1.2;
        display: flex;
        flex-direction:column;
        flex-wrap: nowrap;
    }
    #page-home .clientslist .inner-wide .companyname ul li {
        width: 100%;
        margin-right: 0;
    }
}