@charset "UTF-8";

:root {
    /* カラー */
    --black: #000;
    --white: #fff;

    --main: #76C3B1;
    --sub1: #50A2E8;
    --sub2: #00ffe5;
    --sub3: #DD4B39;
    --sub4: #FFC107;
    --sub5: #5382c7;
    --sub6: #76C3B1;
    --sub7: #84E389;
    --sub8: #73A776;
    --sub10: #fff59D;
    --sub11: #4DB6AC;
    --sub12: #A4F2AE;
    --sub13: #FAAAB0;
    --sub14: #A5DEFF;


    --blue1: #0022ff;
    --blue4: #628fff;
    --blue5: #5D90ff;

    --background: #fff;
    --btncolor: #444;
    --textcolor: #fff;
    --gray: #aaa;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    animation: fade 5s;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body * {
    font-family:
        'Noto Sans JP',
        sans-serif;
}

/* 基本 */
.page * {
    margin: 0;
}

/* グリッド */
.page {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, auto);
    min-height: 100vh;
    background-color: var(--sub10);
}

/* ヘッダー */
.page-head {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    justify-content: center;
    height: 200px;
    align-items: center;
    animation-name: fadeLeftAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-1000px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.page-headTrigger {
    opacity: 0;
}

.corp-logo {
    width: 300px;
    text-decoration: none;
}

.corp-logo img {
    width: 100%;
}

@media (max-width: 950px) {
    .page-head {
        grid-column: 1 / 6;
        height: 150px;
        padding: 0;
        padding-left: 20%;
    }

    .corp-logo {
        width: ;
    }
}

@media (max-width: 899px) {
    .page-head {
        padding-left: 20%;
    }
}

/* ナビゲーション */
.page-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    height: 100px;
    animation-name: fadeRightAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(1000px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 899px) {
    .page-nav {
        display: none;
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.page-navTrigger {
    opacity: 0;
}

.page-nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    list-style: none;
    color: var(--white);
}

.page-nav li {
    margin-left: 0px;
}

.page-nav a {
    display: flex;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
}

.nav-text {
    position: relative;
    color: var(--black);
    font-family: 'Noto Sans JP';
    font-size: 2rem;
    text-shadow: 1px 1px var(--sub11);
    z-index: 1;
}

.nav-text:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    /*テキストからの距離*/
    width: 0%;
    /*初期状態では下線非表示*/
    height: 2px;
    /*下線の高さ*/
    background: var(--sub11);
    /*下線の色*/
    box-shadow: 2px 2px var(--white);
    /*下線の影*/
    z-index: -1;
    transition: all 0.4s;
    /*アニメーション速度*/
}


.page-nav a:hover {
    font-style: oblique;
    background-color: var(--sub11);
    transition: 1s;
}

.page-nav a:hover .nav-text {
    color: var(--white);
}

.page-nav a:hover .nav-text:after {
    width: 100%;
    /*hover時に表示*/
}

@media (max-width: 1200px) {
    .page-nav {
        height: 50px;
    }

    .nav-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 950px) {
    .page-nav ul {
        padding: 15px 0;
    }
}

@media (max-width: 899px) {
    .nav-text {
        color: var(--black);
        font-size: 2rem;
    }

    .nav-text:after {
        /*下線の色*/
        background: var(--black);

    }
}

/* 現在ページ */
.now-page {
    color: var(--white);
    background-color: var(--sub11);
    text-shadow: none;
    border-radius: 5px;
    padding: 0 10px;
}


/* ナビメニュー：モバイル */
/* ナビボタン */
.openbtn {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 2.5%;
    right: 1px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border: 1px solid var(--sub11);
    background-color: var(--sub10);
    border-radius: 5px;
}

.menu {
    margin-top: 34px;
    margin-left: 10px;
    color: var(--sub11);
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

/*×に変化*/
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--sub11);
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 13px;
}

.openbtn span:nth-of-type(2) {
    top: 21px;
}

.openbtn span:nth-of-type(3) {
    top: 29px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 17px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 17px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active p {
    opacity: 0;
    transition: 0.3s;
}

@media (min-width: 900px) {
    .openbtn {
        display: none;
    }
}

#g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: linear-gradient(var(--sub10), var(--sub10));
    /*動き*/
    transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    padding: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#g-nav li {
    margin-bottom: 15px;
}

#g-nav a {
    display: block;
    width: 100vw;
}

#g-nav a:hover {
    background-color: var(--sub11);
    transition: 0.5s;
    /*hover時に表示*/
}

#g-nav a:hover .nav-text {
    color: var(--white);
}



/* 現在ページ */
.now-page-m {
    position: relative;
    color: var(--white);
    background-color: var(--sub11);
    border-radius: 10px;
    font-size: 2rem;
    padding: 3px;
    margin-top: 35px;
    z-index: 1;
    text-shadow: 2px 2px var(--black);
}

#g-nav a:hover .now-page-m {
    background-color: transparent;
    text-shadow: none;
}

/*リストのレイアウト設定*/

#g-nav li {
    list-style: none;
    text-align: center;
}

#g-nav li a {
    text-decoration: none;
    display: block;
}

/* メインコンテンツ */
.page-main {
    grid-column: 1 / -1;
    grid-row: 3;
    background-color: var(--background);
    margin: 0;
}

/* グリッド */
.post * {
    margin: 0;
}

.post {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, auto);
    font-family: "Noto Sans Japanese", sans-serif;
}

/* トップ画像 */
.hero-img {
    grid-column: 1 / -1;
    grid-row: 1;
    position: relative;
    background-image: url(../img/laptop-336373_1920.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    animation-name: fadeUpAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(1000px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-img::before {
    content: '';
    display: block;
    padding-top: 25%;
}

.hero-imgTrigger {
    opacity: 0;
}

.hero-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    color: var(--white);
    text-shadow: 2px 2px var(--black);
    font-size: 4rem;
    font-family: 'Noto Sans JP';
    white-space: nowrap;
}

@media (min-width: 1600px) {
    .hero-message {
        font-size: 3.8rem;
    }
}

@media (max-width: 1260px) {
    .hero-message {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-message {
        font-size: 2.8rem;
    }
}

@media (max-width: 899px) {
    .hero-message {
        text-shadow: 1px 1px var(--black);
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .hero-img::before {
        content: '';
        display: block;
        padding-top: 35%;
    }

    .hero-message {
        font-size: 1.5rem;
    }
}


/* 共通パーツ */
.content-box {
    padding: 0 20%;
}

@media (max-width: 1260px) {
    .content-box {
        padding: 5% 10%;
    }
}

@media (max-width: 1024px) {
    .content-box {
        padding: 5%;
    }
}


.link-btn {
    text-decoration: none;
}

.title-bar {
    height: 70px;
    margin-top: 30px;
    text-align: center;
    color: var(--textcolor);
    background: linear-gradient(var(--sub7), var(--main));
}

.title-bar h2 {
    font-size: 3rem;
}

.title-bar h3 {
    font-size: 1.6rem;
}

.title-bar h2::first-letter {
    font-size: 1em;
    /* 文字サイズ   */
    padding: 1px;
    /* 余白         */
    color: var(--black);
    text-shadow: 1px 1px 1px var(--white),
        -1px 1px 1px var(--white),
        1px -1px 1px var(--white),
        -1px -1px 1px var(--white),
        1px 1px 1px var(--white),
        -1px 1px 1px var(--white),
        1px -1px 1px var(--white),
        -1px -1px 1px var(--white);
}

@media(max-width: 899px) {
    .title-bar {
        border: solid 3px var(--white);
        background: var(--main);
    }
}

.link-bar {
    height: 35px;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    font-size: 1.8rem;
    border-radius: 20px;
    color: var(--black);
}

.link-color {
    position: relative;
    border: 3px solid var(--white);
    z-index: 0;
}

.link-color::before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 19px;
    position: absolute;
    z-index: -1;
    left: 0;
    transition: 0.5s;
    background: linear-gradient(var(--sub10), var(--sub10));
}

.link-color::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 19px;
    position: absolute;
    z-index: -2;
    left: 0;
    transition: 0.5s;
    background: linear-gradient(var(--sub11), var(--sub11));
}

.link-color:hover {
    color: var(--white);
    text-shadow: 2px 2px var(--black);
    transition: 0.5s;
}

.link-color:hover::before {
    opacity: 0;
}

.list-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 5rem;
    text-align: center;
    justify-content: center;
}

@media (max-width: 1700px) {
    .list-box {
        grid-gap: 5em;
    }
}

@media (max-width: 1150px) {
    .list-box {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 899px) {
    .list-box {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(335px, 1fr));
        grid-auto-rows: 1fr;
        grid-gap: 1em;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .list-box {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 1fr;
        grid-gap: 1em;
        padding: 0;
        text-align: center;
        justify-content: center;
    }
}

/* 強みメッセージ */
.strong-point {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr;
    animation-name: fadeUpAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(1000px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.strong-pointTrigger {
    opacity: 0;
}

.strong-point-box {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    padding-top: 5%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 1fr);
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url(../img/壁紙/ceramic-g04e9bc7a2_1920.jpg), no-repeat;
    background-size: cover;
    background-position: center center;
}

.strong-point-title {
    color: var(--black);
    text-shadow: 1px 1px var(--white);
    font-size: 4.5rem;
    white-space: nowrap;
}

@media (min-width: 1600px) {
    .strong-point-title {
        font-size: 4rem;
    }
}

@media (max-width: 1400px) {
    .strong-point-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .strong-point-title {
        font-size: 3rem;
    }
}

@media (max-width: 899px) {
    .strong-point-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 500px) {
    .strong-point-title {
        font-size: 1.2rem;
    }
}

.strong-point-text {
    color: var(--black);
    text-shadow: 1px 1px var(--white);
    font-size: 2.5rem;
    white-space: nowrap;
}

@media (min-width: 1600px) {
    .strong-point-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 1400px) {
    .strong-point-text {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .strong-point-text {
        font-size: 1.7rem;
    }
}

@media (max-width: 899px) {
    .strong-point-text {
        font-size: 1.4rem;
        white-space: normal;
    }
}

@media (max-width: 500px) {
    .strong-point-text {
        font-size: 1rem;
    }
}

.follow {
    grid-column: 1/-1;
    grid-row: 1;
    margin-bottom: 5%;
}

.no-change {
    grid-column: 1/-1;
    grid-row: 2;
    margin-bottom: 5%;
}

.web-only {
    grid-column: 1/-1;
    grid-row: 3;
}


/* サービス内容 */
.service {
    grid-column: 1 / -1;
    grid-row: 3;
    padding-bottom: 30px;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
        url(../img/壁紙/blur-BG.jpg);
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 100px 1fr;
    grid-row-gap: 5em;
    text-align: center;
}

@media (max-width: 899px) {
    .service {
        background: linear-gradient(var(--main), var(--white));
    }
}

/* serviceのgrid */
.service-top {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.service-title {
    grid-column: 1 / 4;
    height: 100px;
    text-align: left;
    color: var(--sub11);
    text-shadow: 1px 1px var(--white);
    font-size: 2.5rem;
    background: var(--sub10);
    border-left: solid 10px var(--sub11);
    padding: 1.2rem 1.5rem;
}

@media (max-width: 899px) {
    .service-title {
        grid-column: 1 /-1;
    }
}

/* serviceのアニメーション */

.service-top {
    animation-name: fadeUpAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(500px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-topTrigger {
    opacity: 0;
}


/* サービス内容リスト */

.item-list {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 5rem;
    text-align: center;
    justify-content: center;
    animation-name: fadeUpAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(500px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-listTrigger {
    opacity: 0;
}

.item-list {
    margin-top: 100px;
}

@media (max-width: 1865px) {
    .item-list {
        grid-gap: 5em;
    }
}

@media (max-width: 1150px) {
    .item-list {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 899px) {
    .item-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(335px, 1fr));
        grid-auto-rows: 1fr;
        grid-gap: 1em;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        justify-content: center;
    }

    .service-top,
    .item-list {
        margin-top: 0px;
    }
}

@media (max-width: 500px) {
    .item-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 1fr;
        grid-gap: 1em;
        padding: 0;
        text-align: center;
        justify-content: center;
    }
}

/* item-listのgrid */

.item {
    position: relative;
    height: 300px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
}

.item-bg {
    position: relative;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: .3s ease-in-out;
    z-index: 0;
}

.item .caption {
    font-size: 150%;
    color: var(--black);
    text-align: left;
    padding-top: 25%;
    padding-left: 5%;
    padding-right: 5%;
}

@media (max-width: 899px) {
    .item .caption {
        padding-top: 15%;
    }
}

@media (max-width: 500px) {
    .item .caption {
        padding-top: 2%;
    }
}

.item .mask {
    width: 50%;
    /* 画像の半分の大きさにする */
    height: 75%;
    position: absolute;
    top: 0;
    left: 0;
    margin-left: -50%;
    /* 枠の左に置いて表示させない */
    background-color: var(--sub10);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.item:hover .mask {
    margin-left: 0px;
    /* 右にずらして表示する */
}

.item .item-bg {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.item:hover .item-bg {
    margin-left: 50%;
    /* 画像を半分サイズ、右にずらす */
}

@media (max-width: 899px) {
    .item .caption {
        padding-top: 35%;
    }
}

@media (max-width: 500px) {
    .item .caption {
        padding-top: 20%;
    }

    .item .mask {
        width: 100%;
        /* 画像の大きさにする */
        height: 75%;
        position: absolute;
        top: 0;
        left: 0;
        margin-left: -100%;
        /* 枠の左に置いて表示させない */
        background-color: var(--sub10);
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }

    .item:hover .mask {
        margin-left: 0px;
        /* 右にずらして表示する */
    }

    .item .item-bg {
        -webkit-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }

    .item:hover .item-bg {
        margin-left: 100%;
        /* 画像を右にずらす */
    }
}



.web-design {
    background-image: url(../img/laptop-336373_1920.jpg);
}

.maintenance {
    background-image: url(../img/electric-g434a73607_640.jpg);
}

.other-service {
    background-image: url(../img/webinar-g240adc2ef_640.jpg);
}

.item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    color: var(--white);
    pointer-events: none;
}

.item-title h2,
.item-title p {
    font-family: 'Noto Sans JP';
}

.item-title h2 {
    font-size: 3rem;
}

.item-en {
    font-size: 1.8rem;
}

.web-design-title {
    background-color: var(--sub13);
}

.maintenance-title {
    background-color: var(--sub1);
}

.other-service-title {
    background-color: var(--sub11);
}

.item-content {
    background-color: var(--white);
    height: 100%;
}


.service-link {
    width: 50%;
    margin-top: 25%;
}

@media (max-width: 500px) {
    .item {
        height: 200px;
    }

    .item-bg {
        height: 200px;
    }

    .item-title {
        height: 50px;
    }

    .item-title h2 {
        font-size: 1.5rem;
    }

    .service-link {
        width: 100%;
        margin-top: 25%;
    }

}


/* 製作・施工実績 */
.works-wrap {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 100px 1fr;
    grid-row-gap: 2em;
}

.works {
    grid-column: 1 / -1;
    grid-row: 4;
    background: linear-gradient(var(--white), var(--main));
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(1000px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.worksTrigger {
    opacity: 0;
}

/* worksのgrid */

.works-title {
    grid-column: 1 / 4;
    grid-row: 1;
    margin-top: 90px;
    height: 100px;
    text-align: left;
    color: var(--sub11);
    text-shadow: 1px 1px var(--white);
    font-size: 2.5rem;
    background: var(--sub10);
    border-left: solid 10px var(--sub11);
    padding: 1.2rem 1.5rem;
}

@media (max-width: 899px) {
    .works-title {
        grid-column: 1 / -1;
    }
}


.works-img {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 130px;
    margin-bottom: 30px;
    text-align: center;
    justify-content: center;
}

.works-img-box {
    width: 100%;
    overflow: hidden;
}

.works-img-box img {
    width: 100%;
    height: 100%;
    aspect-ratio: 5/3;
    object-fit: cover;
}

.works-img-box img:hover {
    transform: scale(1.3);
    transition: 0.3s;
}

@media (max-width: 899px) {

    .works-title,
    .works-img {
        margin-top: 0px;
    }
}

.works-link {
    width: 50%;
    margin-top: 25%;
}

@media (max-width: 500px) {

    .works-link {
        width: 100%;
        margin-top: 25%;
    }
}

/* 料金表のwrap */
.price-wrap {
    grid-column: 1 / -1;
    grid-row: 5;
    height: auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, auto);
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
        url(../img/notebook-614213_1920.jpg);
    background-size: cover;
    background-position: bottom;
}

@media (max-width: 899px) {
    .price-wrap {}
}

/* 料金表 */
.price {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-top: 90px;
    padding-bottom: 90px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 100px repeat(2, auto);
    grid-row-gap: 10px;
    justify-content: center;
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(1000px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.priceTrigger {
    opacity: 0;
}

/* priceのgrid */
.price-title {
    grid-column: 1 / 4;
    height: 100px;
    text-align: left;
    color: var(--sub11);
    text-shadow: 1px 1px var(--white);
    font-size: 2.5rem;
    background: var(--sub10);
    border-left: solid 10px var(--sub11);
    padding: 1.2rem 1.5rem;
}

@media (max-width: 899px) {
    .price-title {
        grid-column: 1 / -1;
    }
}

.setplan {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding-bottom: 30px;
}

@media (max-width: 899px) {
    .setplan {
        grid-template-rows: repeat(3, 1fr);
    }
}

.setplan-content {
    text-align: center;
    background-color: var(--white);
}

.setplan-content p {
    padding-bottom: 1%;
    text-align: center;
    color: var(--black);
    font-family: 'Noto Sans JP';
}

.setplan-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 75px;
}

.setplan-title p,
.top-page-box p,
.under-page-box p,
.contact-page-box p,
.base-cost-box p,
.price-box p,
.plan-info-box p {
    font-size: 2rem;
}

.lp-plan .top-page-box p {
    font-size: 1.7rem;
}


@media (max-width: 1024px) {

    .top-page-box p,
    .contact-page-box p,
    .base-cost-box p,
    .price-box p,
    .plan-info-box p {
        font-size: 1.8rem;
    }

}

@media (max-width: 500px) {
    .setplan-title p {}

    .top-page-box p,
    .contact-page-box p,
    .base-cost-box p,
    .price-box p,
    .plan-info-box p {
        font-size: 1.5rem;
        padding: 1%;
    }
}

.lp-title,
.lp-plan-price {
    background-color: var(--sub12);
}

.three-title,
.three-plan-price {
    background-color: var(--sub10);
}

.five-title,
.five-plan-price {
    background-color: var(--sub13);
}

.top-page-box {
    background-color: var(--white);
}

.under-page-box {
    height: 110px;
    background-color: var(--sub14);
}

.blank {
    background-color: var(--white);
}

.contact-page-box {
    background-color: var(--white);
}

.base-cost-box {
    background-color: var(--sub14);
}

.price-box {
    height: 50px;
}

.price-box p {
    color: var(--black);
    padding-top: 10px;
    text-shadow: 1px 1px var(--white);
}

@media (max-width: 500px) {
    .price-box p {
        padding-top: 15px;
    }
}

.plan-info-box {
    padding: 3%;
    background-color: var(--white);
}

.plan-info-box p {
    text-align: left;
    font-size: 1.7rem;
}

.lp-plan {
    grid-column: 1;
    border: solid 3px var(--sub12);
}

.three-plan {
    grid-column: 2;
    border: solid 3px var(--sub10);
}

.five-plan {
    grid-column: 3;
    border: solid 3px var(--sub13);
}

.icon-box {
    width: 100px;
}

.icon-box img {
    width: 100%;
}

.top-page-icon {
    margin: auto;
}

.icon-box-2 {
    display: flex;
    width: 25%;
    margin-left: 23%;
}

.icon-box-2 img {
    margin-right: 15%;
}

.icon-box-4 {
    display: flex;
    width: 23%;
    margin-left: 2%;
}

.icon-box-4 img {
    margin-right: 5%;
}

.contact-page-icon {
    margin: auto;
}

.price-link {
    grid-column: 6 / 8;
    grid-row: 3;
}

@media(max-width: 899px) {
    .lp-plan {
        grid-column: 1/-1;
        grid-row: 1;
        border: solid 3px var(--sub12);
    }

    .three-plan {
        grid-column: 1/-1;
        grid-row: 2;
        border: solid 3px var(--sub10);
    }

    .five-plan {
        grid-column: 1/-1;
        grid-row: 3;
        border: solid 3px var(--sub13);
    }

    .icon-box-2 {
        width: 220px;
        margin: auto;
    }

    .icon-box-2 img {
        width: 100px;
        margin-right: 20px;
    }

    .icon-box-4 {
        width: 430px;
        margin: auto;
    }

    .icon-box-4 img {
        width: 100px;
        margin-right: 10px;
    }
}


@media (max-width: 768px) {
    .price-link {
        grid-column: 3 / -3;
    }
}

@media (max-width: 500px) {
    .icon-box {
        display: none;
    }

    .under-page-box {
        height: auto;
    }
}




/* 制作の流れ */
.flow {
    grid-column: 1 / -1;
    grid-row: 2;
    background-size: cover;
    background-position: center;
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(1000px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flowTrigger {
    opacity: 0;
}

/* flowのgrid */
.flow-wrap {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 100px 1fr 100px;
    grid-row-gap: 2em;
}

.flow-title {
    position: relative;
    grid-column: 1 / 4;
    grid-row: 1;
    background: var(--sub11);
    padding-top: 1rem;
    padding-left: 3rem;
    font-size: 2.5rem;
    color: var(--white);
}

.flow-title:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 10px transparent;
    border-right: solid 20px rgb(20, 86, 110);
}

@media (max-width: 899px) {
    .flow-title {
        grid-column: 1 / -1;
    }
}

.flow-detail {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    grid-gap: 2rem;
    text-align: center;
    justify-content: center;
}

.flow-box {
    grid-column: 1/-1;
    height: auto;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.step-title {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    padding: 50px 2rem 1rem 120px;
    text-align: left;
    font-size: 2.8rem;
    border: solid 2px var(--sub11);
    background: var(--white);
}

.step-title:before {
    position: absolute;
    content: '';
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    transform: rotate(25deg);
    background: var(--sub11);
}

.step-title span {
    position: absolute;
    display: block;
    top: 15px;
    left: 0;
    z-index: 1;
    font-size: 4rem;
    padding-left: 16px;
    color: var(--white);
}

.step-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;
    width: 100%;
    height: 150px;
    color: var(--black);
    border: solid 2px var(--sub11);
    border-left: none;
    background-color: var(--white);
}

.step-detail p {
    padding: 0 30px;
    font-size: 1.8rem;
}

@media (max-width: 899px) {

    .flow-box {
        flex-direction: column;
    }

    .step-title {
        border: solid 3px var(--white);
    }

    .step-detail {
        border: solid 2px var(--sub11);
    }


}

@media (max-width: 600px) {
    .step-title {
        font-size: 2.4rem;
    }

}

@media (max-width: 499px) {
    .step-title {
        font-size: 2rem;
        white-space: nowrap;
    }
}

@media (max-width: 399px) {
    .step-title {
        padding: 50px 1.5rem 1rem 100px;
        font-size: 1.9rem;
    }
}


.step1 {
    grid-row: 1;
}

.step2 {
    grid-row: 2;
}

.step3 {
    grid-row: 3;
}

.step4 {
    grid-row: 4;
}

.step5 {
    grid-row: 5;
}

.step6 {
    grid-row: 6;
}

.step7 {
    grid-row: 7;
}

.step8 {
    grid-row: 8;
}

.flow-link {
    grid-column: 6/8;
    grid-row: 3;
}

@media (max-width: 768px) {
    .flow-link {
        grid-column: 3 / -3;
    }
}



/* フッター */
.page-foot {
    grid-column: 1 / -1;
    grid-row: 8;
    background: linear-gradient(var(--sub11), var(--sub11));
    color: var(--white);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr 40px;
    grid-row-gap: 30px;
    text-align: center;
}

.page-foot p {
    font-size: 2.5rem;
    font-family: 'Noto Sans JP';
}

.page-foot a {
    text-decoration: none;
    color: var(--white);
}


.f-nav-title:hover {
    font-style: oblique;
    text-shadow: 2px 2px var(--black);
    transition: 0.5s;
}


.f-nav-list {
    text-align: left;
    padding: 10px;
}

@media (max-width: 500px) {
    .f-nav-list {
    padding: 0px;
}
}

.f-nav-list li {
    list-style: none;
    margin-bottom: 5%;
}

.f-nav-text {
    position: relative;
    color: var(--white);
    padding: 3%;
    font-size: 1.4rem;
    z-index: 1;
}

.f-nav-text:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    /*テキストからの距離*/
    width: 0%;
    /*初期状態では下線非表示*/
    height: 100%;
    /*下線の高さ*/
    background: var(--sub10);
    /*下線の色*/
    border-radius: 5%;
    z-index: -1;
    transition: all 0.4s;
    /*アニメーション速度*/
}

.f-nav-text:hover {
    color: var(--black);
    text-shadow: 2px 2px var(--sub10);
    font-style: oblique;
    transition: all 0.4s;
}

@media (max-width: 500px) {
    .flow-nav .f-nav-list {
        column-count: 2;
        padding: 0px;
    }

    .flow-nav .f-nav-list li {
        padding-top: 5px;
        margin-bottom: 5px;
    }

    .flow-nav .f-nav-text {
        white-space: nowrap;
    }
}


.f-nav-list a:hover .f-nav-text:after {
    width: 100%;
    box-shadow: 2px 2px var(--black);
    /*下線の影*/
    /*hover時に表示*/
}

/* page-footのgrid */
.footer-box {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-top: 80px;
    display: flex;
    text-align: center;
    justify-content: center;
}

.company-info {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-logo {
    width: 200px;
}

.contact-link {
    text-align: center;
    line-height: 30px;
    margin: 5px auto;
    height: 35px;
    width: 180px;
    border-radius: 19px;
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 30px;
    color: var(--sub11);
    background-color: var(--sub10);
    border: solid 3px var(--white);
}

.contact-link:hover {
    color: var(--black);
    text-shadow: 1px 1px var(--white);
    border: solid 3px var(--black);
    font-style: oblique;
    transition: 0.5s;
}

.service-nav {
    width: 200px;
    text-align: start;
}

.works-nav {
    width: 150px;
    text-align: start;
    padding-bottom: 10px;
}

.price-nav {
    width: 150px;
    text-align: start;
}

.flow-nav {
    width: 360px;
    text-align: start;
}

.copy {
    grid-column: 1 / -1;
    grid-row: 2;
}


@media (max-width: 899px) {
    .footer-box {
        flex-direction: column;
        margin-top: 2%;
        margin-left: 5%;
    }

    .company-info {
        flex-direction: row;
        text-align: left;
    }

    .contact-link {
        margin-top: 7%;
        margin-left: 1%;
    }

    .service-nav {
        margin-top: 3%;
    }

    .copy p {
        font-size: 1.3rem;
    }
}

@media (max-width: 500px) {
    .footer-box {
        flex-direction: column;
        margin-top: 2%;
        margin-left: 2%;
    }

    .footer-logo {
    width: 40vw;
}

    .flow-nav {
        width: 300px;
    }

    .copy p {
        font-size: 1rem;
    }
}

/* TOPへスクロールのボタン */
#page_top {
    width: 80px;
    height: 80px;
    position: fixed;
    right: 2px;
    bottom: 1px;
    border: 1px solid var(--white);
    border-radius: 50%;
    background: var(--sub10);
    opacity: 1;
}

#page_top a {
    position: relative;
    display: block;
    width: 80px;
    height: 60px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 2.5rem;
    color: var(--sub11);
    text-shadow: 2px 2px var(--white);
    position: absolute;
    width: 20px;
    height: 20px;
    top: -15px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'PAGE TOP';
    font-size: 1.3rem;
    color: var(--sub11);
    text-shadow: 2px 2px var(--white);
    position: absolute;
    top: 40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}