
/* -----------------------
全体レイアウト
----------------------- */
body {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2;
    margin: 0;
    position: relative;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.eng_title {
    /* 欧文タイトル */
    font-size: 3rem;
    display: block;
    text-align: center;
    width: 100%;
    font-family: 'Goldman', sans-serif;
    padding-bottom: 0;
    color: #191970;
    line-height: 1;
}

.jp_title {
    font-size: 1.25rem;
}


/*---------#generl スマホ対応------------*/

@media (max-width: 780px){
    .eng_title {
        font-size: 2rem;
    }
}
/*--------------------------------*/


/* -----------------------
ナビゲーションヘッダー
----------------------- */

nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    z-index: 3;
    position: fixed;
    background-color: #333;
    animation: fadeIn 1.5s ease;
    animation-fill-mode: forwards;
}


nav a {
    margin: 10px 34px;
    font-size: 1rem;
    color: #fff;
}

nav a:hover {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.contact-btn {
    background-color: rgba(240, 240, 240, 1);
    padding: 0 20px;
    border-radius: 30px;
    color: #333;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* -----------------------
メインビジュアル
----------------------- */

.hero-wrapper {
    min-height: 100vh;
    background: url(../images/serverlessone/top/serverlessONE.png) center / cover;
    position: relative;
}

.hero-container {
    position: absolute;
    margin: 30vh 0 10vh  20vh;
    text-align: left;
    animation: fadeInTttle 1.5s ease;
}

@keyframes fadeInTttle {
    from {
        margin-top: 0vh;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-title {
    /* サービスタイトル */
    font-size: 2.5rem;
    color: #191970;
}

.catchcopy {
    /* キャッチコピー */
    font-size:1.5rem;
}

.hero-container span {
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
}

.blue {
    color: #163170;
    font-size: 2rem;
}

#top_btn {
    width: 90px;
    height: 90px;
    position: fixed;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    z-index: 100;
}

#top_btn a {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
}

#top_btn a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #333;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    animation: floating 1.5s ease-in infinite;
}

#top_btn a::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    color: #333;
}

@keyframes floating {
    from {
        opacity: 0;
        top: -10px;
    }
    to {
        opacity: 1;
    }
}

/*-----------#hero スマホ対応--------------*/

@media (max-width: 780px) {

    .hero-wrapper {
        position: relative;
    }

    .hero-container {
        position: absolute;
        margin: 10% 0;
        padding-top: 30%;
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .top-logo {
        width : 90%;
    }
}


.top-logo{
   max-width: 400px;
   height: auto;
}

/*----------------------------------*/


/* -----------------------
サービス紹介
----------------------- */

.introduction-wrapper {
    z-index: -1;
    position: relative;
}

.introduction-wrapper:before {
    background-color: rgba(240, 240, 240, 0.575);
    content: '';
    z-index: -2;
    position: absolute;
    display: block;
    top: -100%;
    right: 0%;
    left: 0%;
    bottom: -10%;
    transform: skewY(-15deg);
}

.introduction-container {
    margin: 0 auto;
    width: 75%;
    padding: 5%;
}

.introduction-container .underline {
    background: linear-gradient(transparent 50%, yellow 50%);
    white-space: nowrap;
}

/*-----------#introduction スマホ対応-------------*/

@media (max-width: 780px) {
    .introduction-container {
        width: 90%;
        padding: 0;
        margin: 10% auto;
    }
}

/*-------------------------------------*/




/* -----------------------
活用事例
----------------------- */

.case-study-wrapper {
    height: 50vh;
    padding: 5%;
}

.service-features-wrapper {
    position: relative;
    z-index: -1;
    height: 50vh;
}

.service-features-wrapper:before {
    content: '';
    display: block;
    position: absolute;
    top: 10%;
    right: 0%;
    bottom: -10%;
    left: 0%;
    background-color: rgba(240, 240, 240, 1);
    transform: skewY(-15deg);
    z-index: -2;
}

.service-features-container {
    width: 50%;
    margin: 0 auto;
    padding: 5%;
}




/*----------#service-feature スマホ対応----------------*/

.service-features-container {
    width: 80%;
}

/*-----------------------------------*/


/* -----------------------
Serverless ONEのメリット
----------------------- */

.service-benefits-container {
    margin: 2%;
    padding: 2%;
}

.benefits-list {
    margin: 0 auto;
    padding: 0 10%;
}

.benefits-media {
    margin: 5%;
}

.benefits-media-md {
    display: flex;
    width: 100%;
    margin: 0 auto;
    justify-content: space-around;
}

.md2 {
    display: flex;
    flex-direction: row-reverse;
}

.benefits-text-area {
    width: 40%;
    padding-top: 10%;
    text-align: left;
}

.benefits-icon {
    width: 60%;
}

.benefits-icon-md3 {
    width: 40%;
}

/*--------------------------------------*/

/* スクロールしてターゲットが画面下部（初期設定）から75%（初期設定）の位置にきた際 .ended が設定されます。 */

.md1.delighter {
    transition: all .4s ease-in;
    opacity: 0;
}

.md1.delighter.started {
    transform: none;
    opacity: 1;
}

.md2.delighter {
    transition: all .4s ease-in;
    opacity: 0;
}

.md2.delighter.started {
    transform: none;
    opacity: 1;
}

.md3.delighter {
    transition: all .4s ease-in;
    opacity: 0;
}

.md3.delighter.started {
    transform: none;
    opacity: 1;
}

.benefits-title {
    font-size: 2.5rem;
}

.service-bg {
    background: url(../images/serverlessone/bg/bg-03.jpg) center / cover;
}


@media (max-width: 780px) {
    .benefits-media {
        width: 100%;
        margin: 0 auto;
    }

    .benefits-media span {
        font-size: 2rem;
        white-space: nowrap;
    }

    .benefits-text-area {
        width: 100%;
    }
    .benefits-media-md {
        display: flex;
        flex-direction: column;
    }
    .benefits-title {
        padding-bottom: 30%;
    }

    .benefits-icon {
        width: 100%;
    }

    .benefits-icon-md3 {
        width: 100%;
    }

    .md1.delighter {
        transform:none;
        opacity: 0;
    }

    .md1.delighter.started {
        transform: none;
        opacity: 1;
    }

    .md2.delighter {
        transform: none;
        opacity: 0;
    }

    .md2.delighter.started {
        transform: none;
        opacity: 1;
    }

    .md3.delighter {
        transform: none;
        opacity: 0;
    }

    .md3.delighter.started {
        transform: none;
        opacity: 1;
    }
}


/* -----------------------
ソリューション事例
----------------------- */

.solutions-container {
    margin: 10% 0;
    padding: 10% 0;
}

.solutions-container h3 {
    font-size: 1.25rem;
}


.solutions-card > img {
    width:100%;
}
.solutions-card > p {
    text-align: left;
}

.solutions-list {
    margin: 0 auto;
    width: 100%;
    display: flex;
}

.solutions-card > h4 {
    position: relative;
    padding: 0 65px;
    text-align: center;
}

.solutions-card > h4:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background: #191970;
}

h4 > span {
    position: relative;
    padding: 0 1em;
    background: #fff;
}




.solutions-card {
    margin: 0 auro;
    display: block;
    width: 50%;
    position: relative;
    border-radius: 0.5rem;
    margin: 2%;
    padding: 2%;
    background-color: #fff;
    box-shadow: 0px 8px 16px -2px rgba(10, 10, 10, 0.1), 15px 15px 0px 5px rgba(10, 10, 10, 0.02);
}

.solutions-card p {
    line-height: normal;
}

.sc1.delighter {
    transition: all .6s ease-in;
    transform: translateX(-100%);
    opacity: 0;
}

.sc1.delighter.started {
    transform: none;
    opacity: 1;
}

.sc2.delighter {
    transition: all .5s ease-in;
    transform: translateX(-100%);
    opacity: 0;
}

.sc2.delighter.started {
    transform: none;
    opacity: 1;
}

.sc3.delighter {
    transition: all .4s ease-in;
    transform: translateX(-100%);
    opacity: 0;
}

.sc3.delighter.started {
    transform: none;
    opacity: 1;
}


/*------------#solutions スマホ対応--------------*/

@media (max-width: 780px) {
    .solutions-list {
        display: block;
        width: 100%;
    }
    .solutions-card {
        width: 90%;
    }
}

/*--------------------------------------------*/




/* -----------------------
導入事例
----------------------- */

.service-works-wrapper {
    /* 導入事例　背景画像 */
    background-image: linear-gradient(to bottom, #fff, #f5f7fa, #c3cfe2); /*背景画像*/
}

.service-works-container {
    width: 60%;
    margin: 0 auto;
    text-align: center;
    padding: 5% 0;
    background-color: #fff;
}

@media (max-width: 700px) {
    .service-works-container {
        width: 90%;
    }
}

.service-works-container hr {
    /* 区切り線 */
    border: solid #000 1px;
}

.service-works-box {
    padding-top: 3%;
}

.service-works-media {
    /* 導入事例カード */
    display: flex;
    padding: 0 3%;
}

.service-work-case {
    /* 導入事例タイトル */
    font-size: 1.25rem;
}

.service-works-description {
    /* 導入事例説明 */
    padding: 5% 0;
    text-align: left;
}

.works-icon {
    /* 導入事例イメージアイコン */
    margin: auto;
    padding: 5%;
    width: 30%;
    height: 20%;
}

.service-works-table {
    margin: 0 auto;
    text-align: center;
    width: 80%;

}


.service-works-table th {
    padding: 10px 5px;
    white-space: nowrap;
}

.service-works-table td {
    text-align: left;

}
.keyword-tag {
    display: inline-block;
    max-width: 100%;
}

.post-tag-list {
    word-break: break-all;
    line-height: 3;
}

.post-tag-list > li {
    margin: 10px;
        /*導入事例ハッシュタグ*/
        display: inline;
        background: #759BBF;  /* fallback for old browsers */
        padding: 4px 6px;
        color: #fff;
        font-size: 0.8rem;
    }




/*------------スマホ対応-------------*/

@media (max-width: 780px) {
    .service-works-media {
        display: block;
    }

    .service-works-media dt h3 {
        font-size: 1rem;
    }

    .works-icon {
        margin: auto;
        padding: 2%;
        width: 80%;
        height: 20%;
    }


    .post-tag-list {
        word-break: break-all;
        line-height: 3;
    }
    .keyword-tag {
        font-size: 0.75rem;
    }

    .post-tag-list > li {
        margin: 5px;
    }

}
/*-------------------------------*/


/* -----------------------
ニュース
----------------------- */

.news-container {
    margin: 3%;
}


/* -----------------------
お問合せ
----------------------- */
.contact-wrapper {
   /*  background-color:#20639B; */
   background-image: url(../images/serverlessone/shapelined-_JBKdviweXI-unsplash.jpg);
   background-size: cover;
}


.contact-area > .contact-btn {
    font-size:1.5rem;
    border: none;
    padding: 20px 30px;
    margin: 3% 0;
    border-radius: 60px;
    background-color: #333;
    color: #fff;
}

.contact-area > .contact-btn:hover {
    opacity: 0.7;
    transition:  0.2s;
}


.contact-area {
    padding: 5%;
}




@keyframes bg_slide {
    0% {
        transform-origin: left top;
        transform: skewX(0.0);
    }
    100% {
        transform-origin: left top;
        transform: skewX(1.0);
    }
}



/* -----------------------
フッター
----------------------- */
footer {
    background-color: #333;
}

footer a {
    color: #fff;
    padding: 20px 40px 0 20px;
}

footer a:hover {
    opacity: 0.5;
}

footer > ul {
    display: flex;
}

small {
    color: #fff;
    bottom:0;
}


/*-------------#footer スマホ対応--------------*/
@media (max-width: 780px) {

footer  {
    font-size: 0.75rem;
}
    footer a {
        padding: 10px 20px 0 10px;
    }

}


/*--------------------------------------------*/
