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

body {
	background: top center no-repeat url(/img/inquiry/inquiry-top.png), top center no-repeat url(/img/bg.jpg);
}


h2.pc {
position: absolute;
    top: -455px;
    left: 160px;
}

.black-bg {
    background:center center / cover no-repeat url(/img/inquiry/inquiry-blkbg.png);
    margin-top: 260px;
    padding-top: 300px;
    padding-bottom: 80px;
    margin-bottom: 20px;
}

main.main {
    position: relative;
    overflow: hidden;
}

.black-bg {
    background: center center / cover no-repeat url(/img/inquiry/inquiry-blkbg.png);
    position: absolute;
    bottom: -20px;
    right: -10%;
    width: 80%;
    height: auto;
    aspect-ratio: 1920 / 966;
}

.wrap{
    position: relative;
}

.black-bg .wrap {
    position: relative;
}
.black-bg h2 {
    position: absolute;
    top: -430px;
    left: 160px;
}
#president .pic {
    float: right;
    padding: 0 0 1em 1em;
}
section.vision-c {
    padding-top: 80px;
}
section.vision-c .flex:not(.reverse) .tate {
    margin-right: 40px;
}
section.vision-c .flex.reverse .tate {
    margin-left: 40px;
}
section.vision-c .tate h3 {
    font-size: 36px;
    line-height: 2.5em;
}
section.vision-c .tate p {
    font-size: 28px;
}
section.vision-c .column {
    max-width: 660px;
}
section.vision-c .column p {
    line-height: 2em;
    padding-top: 1em;
}
@media screen and (max-width: 767px) {
    body {
background:
  center 50px / contain no-repeat url(/img/inquiry/inquiry-top-sp.png),
  center 0 / cover no-repeat url(/img/bg-sp.jpg);
}
.black-bg {
        background: bottom center / contain no-repeat url(/img/inquiry/inquiry-blkbg-sp.png);
        aspect-ratio: 125 / 137;
        width: 100%;
        top: 120px;
        bottom: auto;
    }
    #president {
        display: flex;
        flex-direction: column-reverse;
    }
    #president p {
        padding: 0 10px 2em;
    }
    #president .pic {
        float: none;
        padding: 0;
        width: 80%;
        margin: 0 auto;
    }
    #president .pic img {
        width: 100%;
    }
    .black-bg + .wrap {
        padding-left: 0;
        padding-right: 0;
    }
    section.vision-c .column p {
        line-height: 1.5em;
        padding: 1em 10px 0;
    }
    section.vision-c {
        padding-top: 30px;
    }
}