html {
    scroll-behavior: auto;
}
body {
    position: relative;
    font-family:Roboto , 'Sawarabi Gothic' !important;
    transition: color 0.6s ease-out;
}
.page a:active,
.page a:focus,
.page a:hover{
    text-decoration: none !important;
    color: #1d1d1d;
}
.pc-none {
    display: none !important;
}
a:focus, *:focus {
    outline: none;
}
.page a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    color: #1d1d1d;
}

ul {
    padding: 0;
}
.strong {
    font-weight: bold;
}
.text-black {
    color: #1d1d1d;
}
.wrap {
    overflow: hidden;
}

/*header*/
.header {
    padding: 20px 0;
    background-color: #FFF;
}
.header .row {
    display: grid;
    grid-template-columns: 130px 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.header .logo {
    align-self: center;
    z-index: 2;
}
.header .logo img{
    width: 100%;
    height: auto;
}
.header .header-menu {
    z-index: 3;
}
.header .header-menu .header-sns-list{
    display: grid;
    grid-template-columns: repeat(2, 25px);
    grid-column-gap: 20px;
    width: 100%;
    list-style: none;
    margin:5px 0 20px;
    justify-content: end;
}
.header .header-menu .header-menu-list{
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-column-gap: 30px;
    width: 100%;
    list-style: none;
    margin: 5px 0;
    justify-content: end;
}
.header .header-menu .header-menu-list li a{
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: #1d1d1d;
    -webkit-transition: all .4s cubic-bezier(.165,.84,.44,1);
    transition: all .4s cubic-bezier(.165,.84,.44,1);
    -webkit-transition-timing-function: cubic-bezier(.165,.84,.44,1);
    transition-timing-function: cubic-bezier(.165,.84,.44,1);
    -webkit-transition-property: color;
    transition-property: color;
    text-decoration: none;
}
.header .header-menu .header-menu-list li a:active,
.header .header-menu .header-menu-list li a:focus,
.header .header-menu .header-menu-list li a:hover{
    color: #73aab7;
}
.header .header-menu .header-menu-list li a span {
    position: relative;
}
.header .header-menu .header-menu-list li a span:before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #73aab7;
    opacity: 0;
    -webkit-transition: all .8s cubic-bezier(.19,1,.22,1);
    transition: all .8s cubic-bezier(.19,1,.22,1);
    -webkit-transition-timing-function: cubic-bezier(.19,1,.22,1);
    transition-timing-function: cubic-bezier(.19,1,.22,1);
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
}
.header .header-menu .header-menu-list li a:active span:before,
.header .header-menu .header-menu-list li a:focus span:before,
.header .header-menu .header-menu-list li a:hover span:before {
    opacity: 1;
    height: 2px;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
/*footer*/
.footer {
    padding: 50px 0 0;
    background-color: #1d1d1d;
    color: #FFFFFF;
}
.footer .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
}
.footer .footer-menu {
    padding: 0 0 20px 50px;
    list-style: none;
}
.footer .footer-menu li{
    margin-bottom: 10px;
    position: relative;
}
.footer .footer-menu li a{
    font-weight: 700;
    text-decoration: none;
    color: #FFF;
}
.footer .footer-menu li a:active,
.footer .footer-menu li a:focus,
.footer .footer-menu li a:hover{
    color: #FFF;
}
.footer .footer-menu li:before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: -40px;
    width: 15px;
    height: 2px;
    background: #73aab7;
}
.footer .logo {
    width: 150px;
}
.footer .logo img{
    width: 80%;
    height: auto;
}
.footer .copyright {
    text-align: center;
    background-color: #1d1d1d;
    color: #FFFFFF;
    margin: 0;
    padding: 10px 0;
}
/*bg*/
.bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #e9f2f4;
    background-image: url(/images/bg.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    pointer-events: none;
    opacity: 0.4;
}
/*section*/
section {
    padding: 100px 0;
    margin: auto;
    background: transparent;
}
section:nth-child(2n){
    background: #FFFFFF;
}
section figure.diagonal-images{
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
    background: #afd6df;
    height: 580px;
    margin-top: -100px;
    margin-bottom: -100px;
    padding: 0;
}

/*container*/
.page .container {
    max-width: 940px;
}

/*text*/
.mainttl {
    width: 100%;
    text-align: center;
    font-size: 40px;
    letter-spacing: .04rem;
    padding: 10px 0;
    position: relative;
    margin-bottom: 60px;
}
.mainttl::after {
    position: absolute;
    content: '';
    bottom: -20px;
    left: 0;
    right: 0;
    margin: auto;
    width: 40px;
    height: 2px;
    background: #73aab7;
}
.sm-txt {
    font-size: 16px;
    margin-top: 10px;
    display: block;
}
/*button*/
.page .btn-black {
    margin: 30px auto 0;
    border: #1d1d1d solid 1px;
    line-height: 60px;
    height: 60px;
    width: 100%;
    max-width: 300px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    color: #FFF;
    background: #1d1d1d;
    text-align: center;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
    border-radius: 100px;
}
.page .btn-black a{
    color: #FFF;
}
.page .btn-black:hover {
    background: #FFF;
    color: #000;
}
.btn-black i {
    font-size: 3rem;
    position: absolute;
    right: 15px;
    top: 12px;
    line-height: 35px;
    -webkit-transition: right 0.2s ease;
    -o-transition: right 0.2s ease;
    transition: right 0.2s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.btn-black:hover i {
    right: 10px;
}
.icon-arrow:before {
    font-family: 'Material Icons';
    content: "\e8e4";
    font-size: 18px;
}
.btn-back {
    border: none;
    background-color: transparent;
}


/*page_top*/
#page_top {
    width: 60px;
    height: 60px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #111111;
    border-radius: 100px;
}
#page_top a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    text-decoration: none;
}
#page_top:hover {
    opacity: 0.8;
}
#page_top a::before {
    font-family: 'Material Icons';
    font-weight: 900;
    content: '\e5ce';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -15px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}
/*opening*/
.opening {
    width: 100%;
    height: 100%;
    background: #afd6df;
    animation: bgAnime 1s linear 1.8s forwards;
    position:fixed;
    top: 0;
    left: 0;
    z-index:9999;
}

.opening-text {
    text-align: center;
    font-size: 5.5vw;
    color: #fff;
    height: 1em;
    line-height: 1.2;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 7;
    opacity: 0;
    animation: textAnime1 .5s linear forwards;
}

.opening-text span{
    display: inline-block;
}

.opening-text span:nth-child(1){
    animation: textAnime2 .6s ease-in-out .4s forwards;
}

.opening-text span:nth-child(2){
    animation: textAnime2 .6s ease-in-out .5s forwards;
}

.opening-text span:nth-child(3){
    animation: textAnime2 .6s ease-in-out .6s forwards;
}

.opening-text span:nth-child(4){
    animation: textAnime2 .6s ease-in-out .7s forwards;
}
.opening-text span:nth-child(5){
    animation: textAnime2 .6s ease-in-out .8s forwards;
}

/*keyframe*/
@keyframes textAnime1{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes textAnime2 {
    0% {
        transform: translateY(0);
    }
    30%{
        transform: translateY(-25%);
    }
    80% {
        transform: translateY(0%);
    }
    100%{
        transform: translateY(0);
    }
}

@keyframes bgAnime{
    0%{
        opacity: 1;
    }
    99%{
        opacity: 0;
    }
    100%{
        opacity: 0;
        visibility: hidden;
    }
}
/*top*/
#top-main {
    height: 400px;
}
#top-main .container {
    position: relative;
    max-width: 1140px;
}
#top-main .title {
    left: 40%;
}
#top-main h2 {
    font-size: 40px;
    letter-spacing: 0.2rem;
    position: relative;
    line-height: 1.5;
}
#top-main .point{
    color: #73aab7;
}
#top-main .main-images{
    position: absolute;
    top: -230px;
    left: 10%;
    z-index: 1;
}
#top-main .main-images img{
    height: 530px;
}

#top-about .movie {
    width: 100%;
    aspect-ratio: 16 / 9;
}
#top-about .movie iframe {
    width: 100%;
    height: 100%;
}

.service-list {
    padding: 30px 30px 0;
    margin: 10px auto;
    overflow: hidden;
}
.service-list .service-item {
    margin-bottom: 30px;
}
.service-list .service-item .service-box{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    background-color: #FFF;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
}

.service-list .service-item dl{
    margin-bottom: 0;
}
.service-list .service-item dt{
    margin-bottom: 15px;
    font-size: 18px;
    width: 60%;
}
.service-list .service-item img{
    width: 100%;
    height: auto;
}
.service-list .service-item .service-item-images{
    overflow: hidden;
    background-color: #000;
    margin: 0;
}
.service-list .service-item .service-item-images img{
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.service-list .service-item a:hover .service-item-images img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
#top-recruit .diagonal-images img{
    height: 100%;
    width: auto;
}
/*contact*/
#contact form .full{
    margin: auto;
}
#contact form {
    display: block;
    width: 100%;
}
#contact .postWrap{
    max-width: 800px;
    width: 100%;
    margin: auto;
}
#contact form .full input{
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 0.75rem;
    border-style: none;
    margin-bottom: 25px;
}
#contact form .full textarea{
    width: 100%;
    min-height:300px;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 0.75rem;
    border-style: none;
    margin-bottom: 25px;
}
#contact form .full p{
    margin: 0;
    font-weight: bold;
}
#contact form .btn-black {
    height: 70px;
}
#contact form .errorMessage ul {
    color: #ff2e2e;
    padding-inline: 1em;
    padding: 0.125rem 0 0;
    list-style: inside;
}
#contact .contact-list{
    display: grid;
    grid-template-columns: 20% 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    width: 100%;
    margin: 50px 0;
}
#contact .finish p {
    text-align: center;
}
/*company*/
#company .company-list{
    display: grid;
    grid-template-columns: 20% 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    width: 100%;
    margin-top: 50px;
}
#company .company-list .company-item{
    padding-inline: 1em;
    padding-top: 0.125rem;
}
/*recruit*/
#recruit h4{
    text-align: center;
    font-size: 35px;
    margin: 30px 0 50px;
}
#recruit .postWrap{
    width: 100%;
    margin: auto;
}
#recruit .post{
    box-sizing: border-box;
    padding: 50px;
    background-color: #FFF;
    border-radius: 20px;
}
#recruit .recruit-list{
    display: grid;
    grid-template-columns: 25% 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    width: 100%;
    margin-top: 50px;
}

#recruit .recruit-list .recruit-item{
    padding-inline: 1em;
    padding-top: 0.125rem;
}
#recruit .nav-tabs {
    border:none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    margin: 30px 0;
}
#recruit .nav-tabs .nav-item {
    border:none;
}
#recruit .nav-tabs .nav-link {
    border: 4px solid #FFFFFF;
    border-radius: 10px;
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
}
#recruit .nav-tabs .nav-link.active{
    border: 4px solid #73aab7;
    color: #73aab7;
}
#recruit .nav-tabs .nav-link:hover{
    color: #73aab7;
}
#recruit .btn-black {
    height: 70px;
    line-height: 70px;
}

#entry form{
    display: block;
    width: 100%;
}
#entry .post {
    box-sizing: border-box;
    padding: 50px;
    background-color: #FFF;
    border-radius: 20px;
}
#entry form .full p{
    margin: 0;
    font-weight: bold;
}
#entry form .full input{
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 0.75rem;
    border-style: none;
    margin-bottom: 25px;
    background-color: #ededed;
}
#entry form .full select{
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 0.75rem;
    border-style: none;
    margin-bottom: 25px;
    background-color: #ededed;
}
#entry form .full input.file{
    background-color: #FFF;
    padding: 0.5rem 0;
}
#entry form .full textarea{
    width: 100%;
    min-height:300px;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 0.75rem;
    border-style: none;
    margin-bottom: 25px;
    background-color: #ededed;
}
#entry form .full p{
    margin: 0;
    font-weight: bold;
}

#entry form .btn-black {
    height: 70px;
}
#entry form .errorMessage ul {
    color: #ff2e2e;
    padding-inline: 1em;
    padding: 0.125rem 0 0;
    list-style: inside;
}

#entry .finish p {
    text-align: center;
}
#service h4{
    text-align: center;
    font-size: 35px;
    margin: 80px auto 0;
}

/*
右から左へ
----------------------------*/
@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/*
IE11対策
----------------------------*/
_:-ms-lang(x)::-ms-backdrop,
.d-demo {
    display: -ms-grid;
    overflow: hidden;
}

/*----------------------------*/
.d-demo__wrap {
    display: flex;
    overflow: hidden;
}
.d-demo__list {
    display: flex;
    list-style: none;
    margin: 0;
}
.d-demo__list--left{
    animation :infinity-scroll-left 95s infinite linear 0.5s both;
}

.d-demo__item {
    width: calc(100vw / 6);
}
.d-demo__item > img {
    width: 100%;
}
#access .access-list{
    display: grid;
    grid-template-columns: 25% 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    width: 100%;
    margin-top: 50px;
}
.header-menu .input-hidden{
    display: none;
}
/* Smartphone*/
@media (max-width: 768px) {
    /* bootstorap*/
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col-auto, .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-auto, .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md-auto, .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-auto {
        padding-right: 10px;
        padding-left: 10px;
    }
    .pc-none {
        display: block !important;
    }
    .sm-none {
        display: none !important;
    }
    img{
        width: 100%;
        height: auto;
    }
    /* hamburgerここから */
    /* inputを非表示 */
    /* label */
    .header {
        height: 64px;
    }
    .header-menu .header-menu-hamburger-switch{
        cursor: pointer;
        position: absolute;
        right: 0;
        z-index: 9999;
        width: 4em;
        height: 4em;
        top: 0;
        margin: 0;
    }
    .header .header-menu .header-menu-list li a {
        color: #FFFFFF;
    }
    /* メニュー展開時にハンバーガーアイコンを固定 */
    .header-menu #header-menu-hamburger:checked ~ .header-menu-hamburger-switch{
        position: fixed;
    }
    /* ハンバーガーアイコン */
    .header-menu .header-menu-hamburger-switch-line1, .header-menu-hamburger-switch-line1:before, .header-menu-hamburger-switch-line1:after{
        width: 25px;
        height: 3px;
        background: #73aab7; /* ハンバーガーアイコンの色 */
        position: absolute;
        top: 50%;
        left: 50%;
        transition: .3s;
        content: "";
    }
    .header-menu .header-menu-hamburger-switch-line1{
        transform: translate(-50%, -50%);
    }
    .header-menu .header-menu-hamburger-switch-line1:before{
        transform: translate(-50%, -300%);
    }
    .header-menu .header-menu-hamburger-switch-line1:after{
        transform: translate(-50%, 200%);
    }
    /* ハンバーガーアイコン･アニメーション */
    .header-menu #header-menu-hamburger:checked ~ .header-menu-hamburger-switch .header-menu-hamburger-switch-line1{
        width: 0;
    }
    .header-menu #header-menu-hamburger:checked ~ .header-menu-hamburger-switch .header-menu-hamburger-switch-line1:before{
        transform: rotate(45deg) translate(-40%, 325%);
        background: #FFFFFF; /* ハンバーガーアイコンの色 */
    }
    .header-menu #header-menu-hamburger:checked ~ .header-menu-hamburger-switch .header-menu-hamburger-switch-line1:after{
        transform: rotate(-45deg) translate(-40%, -325%);
        background: #FFFFFF; /* ハンバーガーアイコンの色 */
    }
    /* メニューエリア */
    .header-menu .header-menu-hamburger-menuwrap{
        position: fixed;
        height: 100%;
        background-color: #73aab7;
        padding: 7em 3% 2em;
        z-index: 9998;
        transition: .3s;
        overflow-y: scroll; /* メニュー内容が多い場合に縦スクロールする */
        top: 0;
        left: 100%;
        width: 70%;
    }
    /* メニューリスト */
    .header-menu .header-menu-hamburger-menuwrap{
        margin-right: 3%;
        padding-left: 5% !important; /* !important不要な場合もあり */
        list-style: none;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 50px;
    }
    .header .header-menu .header-sns-list { grid-area: 2 / 1 / 3 / 2;
        justify-content: center;}
    .header .header-menu .header-menu-list { grid-area: 1 / 1 / 2 / 2; }
    /* メニューエリア･アニメーション */
    /* 右から */
    .header-menu #header-menu-hamburger:checked ~ .header-menu-hamburger-menuwrap{
        left: 30%;
    }
    /* コンテンツカバー */
    .header-menu #header-menu-hamburger:checked ~ .header-menu-hamburger-cover{
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 9997;
        background: rgba(3,3,3,.5);
        display: block;
    }
    .header .logo {
        padding-left: 20px;
    }
    .header .header-menu .header-menu-list {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
        width: 100%;
        list-style: none;
        margin: 5px 0;
        justify-content: end;
    }
    section {
        padding: 50px 15px;
        margin: auto;
        background: transparent;
    }
    section figure.diagonal-images {
        display: none;
    }
    .d-demo__item {
        width: calc(100vw / 3);
    }
    .footer {
        padding: 50px 25px 0;
    }
    .footer .row {
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 10px;
    }
    #top-main {
        height: auto;
        padding: 0;
        overflow: hidden;
    }
    #top-main .main-images {
        top: 0px;
        bottom: 0;
        width: auto;
        padding: 0;
        margin: 0;
        height: 100%;
        left: 0;
    }
    #top-main .main-images img {
        height: 100%;
        width: auto;
        opacity: 0.4;
    }
    #top-main .title {
        left:0;
    }
    #top-main h2 {
        font-size: 30px;
        text-align: center;
        padding: 50px 0;
        margin: 0;
    }
    #top-main p {
        text-align: center;
    }
    .mainttl {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .sm-txt {
        font-size: 14px;
    }
    #service h4{
        font-size:25px;
        margin: 30px auto 0;
    }
    .service-list {
        padding: 30px 0 0;
    }
    .service-list .service-item .service-box {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        grid-row-gap: 10px;
    }
.service-list .service-item .service-item-images {
    position: relative;
    }
    .service-list .service-item .service-item-images img.centered{
        top: -35%;
        position: absolute;
    }
    #recruit .nav-tabs .nav-item {
        display: flex;
    }
    #recruit .nav-tabs .nav-link {
        display: flex;
        align-items: center;
    }
    #entry .post {
        padding: 20px;
    }
    #recruit .post {
        padding: 20px;
    }
}