@charset "UTF-8";

/*-----------------------------------------mainvisual-----------------------------------------*/
.mainvisual {
    width: 100%;
    height: 100vh;
    position: relative;
    margin-bottom: 80px;
    overflow: hidden;
}
.mv-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(200,220,255,0.6), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(180,200,255,0.5), transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(46,70,108,0.6), transparent 60%),
        #ffffff;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: 0;
}
body.loaded .mv-bg {
    opacity: 1;
}
.mainvisual .text {
    position: absolute;
    top: 25%;
    left: 5%;
    transform: translate(0, 0) scale(1);
    transform-origin: left center;
    width: 100%;
    max-width: 1440px;
    z-index: 2;
    opacity: 0;
    transition:
        opacity 1.2s ease,
        transform 2s cubic-bezier(0.22, 1, 0.36, 1),
        top 2s cubic-bezier(0.22, 1, 0.36, 1),
        left 2s cubic-bezier(0.22, 1, 0.36, 1);
    margin-right: 3%;
}
.text.show {
    opacity: 1;
}
.text.shrink {
    transform: translate(0, 0) scale(0.7);
    transform-origin: left center;
}
.mainvisual .title {
    font-size: 4rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    color: #2E466C;
    margin-bottom: 75px;
    margin-right: 5%;
}
.mainvisual .sub-title {
    font-size: 3em;
    letter-spacing: 0.1em;
    font-weight: bold;
    color: #333;
    margin-right: 5%;
}
.mainvisual .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
.mv-logo {
    position: absolute;
    top: 70%;
    right: 5%;
    margin-left: 5%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0;
    transition:
        opacity 2s ease,
        transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}
.mv-logo img {
    width: 600px;
    height: auto;
    opacity: 0.15;
}
.mv-logo.show {
    opacity: 1;
}
#header {
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}
body.loaded #header {
    opacity: 1;
    transform: translateY(0);
}
.mainvisual .scroll {
    position: absolute;
    bottom: 30px;
    left: 30px;
    letter-spacing: 0.15em;
    animation: TextMove 2s infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
}
@keyframes TextMove {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
body.loaded .mainvisual .scroll {
    opacity: 1;
    transition-delay: 1.5s;
    pointer-events: auto;
}

/*---------------------------------------------head-title------------------------------------------------*/
#head-title {
    text-align: center;
    margin-bottom: 80px;
}
#head-title .text-box {
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin: 0 auto;
}
#head-title .title {
    font-size: 2rem;
    margin-bottom: 60px;
}
#head-title .text {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 60px;
}
#head-title .sub-title {
    font-size: 1.5rem;
    margin-bottom: 80px;
}

/*---------------------------------------------about-------------------------------------------------*/
#about {
    margin-bottom: 80px;
}
#about .inner {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}
#about .text {
    width: 50%;
}
#about .text .title {
    margin-bottom: 30px;
}
#about .img {
    width: 50%;
    padding-left: 8%;
}

/*-----------------------------------------------service-----------------------------------------------*/
#service {
    margin-bottom: 80px;
}
#service p {
    margin-bottom: 40px;
}
#service .inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
#service .card {
    max-width: 335px;
    background-color: rgba(245, 245, 245, 0.8);
    padding: 0 10px;
    text-align: center;
    border: solid 1px #bababa;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#service .card img {
    max-width: 100px;
    margin: 20px 0 30px;
}
#service .card .title {
    color: #2E466C;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 30px;
}
#service .card .text {
    text-align: left;
    margin-bottom: 50px;
}
#service .card .text span {
    color: #2E466C;
}
#service .card .min-btn {
    margin-top: auto;
    margin-bottom: 20px;
    color: #fff;
    background-color: #2E466C;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 15px;
}
#service .card .min-btn:hover {
    color: #2E466C;
    background-color: #fff;
}

/*-----------------------------------------------case-----------------------------------------------*/
#case {
    margin-bottom: 80px;
}
#case .detail {
    margin-bottom: 40px;
}
#case .detail .circle {
    color: #2E466C;
}
#case .detail .bold {
    font-size: 1.5rem;
    margin: 0 3px;
    font-weight: bold;
}
#case .inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
#case .card {
    max-width: 335px;
    background-color: rgba(245, 245, 245, 0.8);
    padding: 0 10px;
    text-align: center;
    border: solid 1px #bababa;
}
#case .card .title {
    color: #fff;
    background-color: #2E466C;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    margin: 20px 0 30px;
}
#case .card .text {
    margin-bottom: 50px;
    text-align: justify;
}
#case .card .text span {
    font-weight: bold;
}
#case .card .link {
    display: block;
    margin-top: auto;
    margin-bottom: 20px;
    text-align: right;
    font-size: 0.875rem;
}
#case .card .link:hover {
    font-weight: bold;
    transform: translateX(-3px);
}

/*-----------------------------------------------news-----------------------------------------------*/
#news {
    margin-bottom: 80px;
}
#news .news-list {
    margin-bottom: 50px;
}
#news .news-list p {
    position: relative;
    padding: 25px 0;
    border-bottom: solid 1px #bababa;
}
#news .news-list p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.8s ease;
}
#news .news-list a:hover p::after {
    width: 100%;
}
#news .news-list p:nth-child(1) {
    border-top: solid 1px #bababa;
}
#news .news-list p:last-of-type {
    border-bottom: none;
}
#news .news-list p span {
    margin: 0 10px;
    background-color: #f5f5f5;
    border: solid 1px #333;
    border-radius: 5px;
    padding: 3px 8px;
    display: inline-block;
    transition: 0.6s;
}
#news .news-list a:hover span {
    background-color: #2E466C;
    color: #fff;
}

/*-----------------------------------------------contact-----------------------------------------------*/
#contact {
    background: #f5f5f5;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
#contact .text {
    width: 55%;
}

#contact .text .main-text {
    line-height: 1.8;
    margin-bottom: 20px;
}
#contact .text .sub-text {
    margin-bottom: 50px;
}
#contact .img {
    width: 45%;
    margin-left: 8%;
}
#contact .main-btn {
    margin: 0;
}

/*-----------------------------------------------recruit-----------------------------------------------*/
#recruit {
    background-color: #F5F5F5;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}
#recruit .text {
    width: 55%;
}

#recruit .text .main-text {
    line-height: 1.8;
    margin-bottom: 20px;
}
#recruit .text .sub-text {
    margin-bottom: 50px;
}
#recruit .img {
    width: 45%;
    margin-right: 8%;
}
#recruit .main-btn {
    margin: 0;
}


/*---------------------------------------スマートフォン-----------------------------
----------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 767px) {
/*-----------------------------------------mainvisual-----------------------------------------*/
.mainvisual {
    margin-bottom: 50px;
}
.mainvisual .text {
    top: 20%;
    left: 5%;
}
.text.shrink {
    transform-origin: left top;
}
.mainvisual .title {
    font-size: 3rem;
    margin-bottom: 50px;
}
.mainvisual .sub-title {
    font-size: 2em;
}
.mv-logo {
    top: 70%;
    margin-left: 15%;
}
.mainvisual .scroll {
    bottom: 20px;
    left: 20px;
    font-size: 0.875rem;
}

/*---------------------------------------------head-title------------------------------------------------*/
#head-title {
    margin-bottom: 50px;
}
#head-title .text-box {
    max-width: 400px;
}
#head-title .title {
    font-size: 1.5rem;
    margin-bottom: 40px;
}
#head-title .text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}
#head-title .sub-title {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/*---------------------------------------------about-------------------------------------------------*/
#about {
    margin-bottom: 50px;
}
#about .inner {
    flex-direction: column;
    margin-bottom: 40px;
}
#about .text {
    width: 100%;
    margin-bottom: 30px;
}
#about .text .title {
    margin-bottom: 15px;
}
#about .img {
    width: 100%;
    padding-left: 0;
}
#about .img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/*-----------------------------------------------service-----------------------------------------------*/
#service {
    margin-bottom: 50px;
}
#service p {
    margin-bottom: 30px;
}
#service .inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
#service .card {
    max-width: none;
    width: 100%;
    margin-bottom: 20px;
}
#service .card:last-of-type {
    margin-bottom: 0;
}

/*-----------------------------------------------case-----------------------------------------------*/
#case {
    margin-bottom: 50px;
}
#case .detail {
    margin-bottom: 30px;
}
#case .inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
#case .card {
    max-width: none;
    width: 100%;
    margin-bottom: 20px;
}
#case .card:last-of-type {
    margin-bottom: 0;
}
#case .card .title {
    padding: 10px 20px;
    margin: 20px 0 30px;
}
#case .card .text {
    margin-bottom: 30px;
    text-align: center;
}

/*-----------------------------------------------news-----------------------------------------------*/
#news {
    margin-bottom: 50px;
}
#news .news-list {
    margin-bottom: 30px;
}
#news .news-list p {
    padding: 20px 0;
    font-size: 0.875rem;
}

/*-----------------------------------------------contact-----------------------------------------------*/
#contact {
    position: relative;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
#contact .text {
    width: 100%;
}
#contact .text .main-text {
    margin-bottom: 20px;
}
#contact .text .sub-text {
    margin-bottom: 30px;
}
#contact .img {
    width: 100%;
    margin-left: 0;
    margin-bottom: 80px;
}
#contact .img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
#contact .main-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/*-----------------------------------------------recruit-----------------------------------------------*/
#recruit {
    position: relative;
    padding: 20px;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}
#recruit .text {
    width: 100%;
}
#recruit .text .main-text {
    margin-bottom: 20px;
}
#recruit .text .sub-text {
    margin-bottom: 30px;
}
#recruit .img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 80px;
}
#recruit .img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
#recruit .main-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}




}