@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;
    --blue2: #425AF8;
    --blue3: #4161ff;
    --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 0.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(3, 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(8, auto);
    font-family: "Noto Sans Japanese", sans-serif;
}

/* 共通パーツ */
.content-box {
    padding: 0 20%;
}

@media (max-width: 1260px) {
    .content-box {
        padding: 5% 10%;
    }
}

@media (max-width: 1024px) {
    .content-box {
        padding: 5%;
    }
}

.title-bar {
    text-align: center;
    color: var(--textcolor);
    background: linear-gradient(var(--main), var(--sub8));
}

.title-bar h2::first-letter {
    font-size: 1em;
    /* 文字サイズ   */
    padding: 2px;
    /* 余白         */
    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);
}

.link-bar {
    height: 35px;
    text-align: center;
    line-height: 35px;
    text-decoration: none;
    font-size: 1.8rem;
    color: var(--textcolor);
}

.link-color {
    position: relative;
    border: 3px solid var(--white);
    transform: skew(-15deg);
    z-index: 0;
}

.link-color::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    transition: 0.5s;
    background: linear-gradient(var(--main), var(--sub1));
}

.link-color::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    left: 0;
    transition: 0.5s;
    background: linear-gradient(var(--blue1), var(--blue1));
}

.link-color:hover {
    transform: skew(0);
    text-shadow: 2px 2px var(--black);
    transition: 0.5s;
}

.link-color:hover::before {
    opacity: 0;
}

/* serviceのタイトル */
.service-top {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 200px;
    text-align: center;
    background-color: var(--sub10);
    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;
}

.service-title {
    width: 50%;
    margin-top: 1%;
    margin-left: 25%;
    background: var(--sub11);
    box-shadow: 0px 0px 0px 5px var(--sub11);
    border: dashed 2px var(--white);
    color: var(--white);
    font-size: 3.5rem;
    padding: 0.2em 0.5em;
}


@media (max-width: 899px) {
    .service-top {
        height: 120px;
    }

    .service-title {
        grid-column: 2 / -2;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* message画像 */
.service-message {
    grid-column: 1 / -1;
    grid-row: 2;
    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);
    }
}

.service-messageTrigger {
    opacity: 0;
}

/* web-designのmessage */
.web-design-message {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 2rem;
    background: linear-gradient(var(--sub11), var(--sub11));
}

.web-design-message p {
    grid-column: 1/3;
    padding-top: 5%;
    font-size: 2rem;
    color: var(--white);
    text-align: start;
}

.web-design-message-img {
    grid-column: 3/-1;
    padding-top: 5%;
    width: 500px;
}

.web-design-message-img img {
    width: 100%;
}

@media (max-width: 899px) {
    .web-design-message {
        grid-template-rows: 1fr 300px;
    }

    .web-design-message p {
        grid-column: 1/-1;
        grid-row: 2;
        font-size: 1.8rem;
    }

    .web-design-message-img {
        grid-column: 1/-1;
        grid-row: 1;
        width: 100%;
        height: 100%;
        aspect-ratio: 5/3;
    }

}

@media (max-width: 400px) {
    .web-design-message p {
        font-size: 1.7rem;
    }
}

/* 事業内容メニュー */
.service-menu-box {
    grid-column: 1/ -1;
    grid-row: 3;
    padding-top: 2%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-gap: 5em;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: var(--sub11);
    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);
    }
}

@media (max-width: 709px) {
    .service-menu-box {
        grid-gap: 1em;
    }
}

@media (max-width: 500px) {
    .service-menu-box {
        padding: 10px;
        padding-bottom: 40px;
    }
}

.service-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: var(--sub11);
    border: 3px solid var(--white);
    text-decoration: none;
    color: var(--white);
    font-size: 3rem;
    line-height: 45px;
}

.service-menu:hover {
    background-color: var(--white);
    color: var(--black);
    transition: 1s;
}

.service-menu-boxTrigger {
    opacity: 0;
}

/* 背景が左から伸びるアニメーション */
.service-menu {
    background: transparent;
    position: relative;
    z-index: 1;
    transition: 1s;
}

.service-menu::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--sub10);
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform ease .3s;
}

.service-menu:hover {
    color: var(--black);
}

.service-menu:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

.service-menu span {
    display: flex;
    height: 100%;
}

.service-icon-wrap {
    height: 100%;
}

.service-icon {
    height: 100%;
    display: none;
}

.service-menu:hover .service-icon {
    margin-right: 1.5rem;
    display: block;
}

@media (max-width: 899px) {
    .service-menu {
        font-size: 2.2rem;
    }

    .service-icon {
        transform: scale(0.7);
        display: none;
    }

    .service-menu:hover .service-icon {
        margin-right: 0;
        display: block;
    }

}

@media (max-width: 500px) {
    .service-menu {
        font-size: 1.5rem;
    }

    .service-menu:hover .service-icon {
        margin-right: 0;
        display: none;
    }

}

@media (max-width: 420px) {
    .service-menu {
        font-size: 1.2rem;
    }
}

.link-2row {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(335px, 1fr));
    grid-auto-rows: 1fr;
    grid-gap: 5em;
}

@media (max-width: 899px) {
    .link-2row {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        grid-gap: 1em;
    }
}

@media (max-width: 589px) {
    .link-2row {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        grid-gap: 1em;
    }
}

@media (max-width: 461px) {
    .link-2row {
        grid-template-columns: repeat(auto-fit, minmax(103px, 1fr));
        grid-gap: 1em;
    }
}

@media (max-width: 400px) {
    .link-2row {
        grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
        grid-gap: 1em;
    }
}

.link-text-m {
    display: none;
}


/* service-listのgrid */
.item-title {
    position: absolute;
    width: 100%;
    height: 160px;
    color: var(--textcolor);
    background-color: rgba(0, 34, 255, 0.6);
    z-index: 0;
}

.item:hover .item-title {
    background-color: rgba(0, 34, 255, 1);
    transition: all 1s;
}

.item-title h2 {
    padding-top: 10px;
    font-size: 4rem;
}

.item-title h2::first-letter {
    font-size: 1em;
    /* 文字サイズ   */
    padding: 2px;
    /* 余白         */
    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);
}

.item-title h3 {
    font-size: 2rem;
}

.item-title p {
    font-size: 1.5rem;
    padding-left: 10px;
    padding-right: 10px;
}

.item {
    position: relative;
    height: 450px;
    text-align: center;
}

.item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    z-index: -1;
}

.iwct .item-title h3 {
    font-size: 1.4rem;
}

.text-wrap {
    display: flex;
    text-align: left;
}

@media (max-width: 899px) {
    .item {
        height: 250px;
    }

    .item-title {
        height: 130px;
    }

    .item-title h2 {
        padding-top: 5px;
        font-size: 3rem;
    }

    .item-title h3 {
        font-size: 1.3rem;
    }

    .item-title p {
        font-size: 1.1rem;
    }

    .item img {
        height: 250px;
    }

}

/* serviceのgrid */
.service {
    grid-column: 1/-1;
    grid-row: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: repeat(4, 1fr);
    text-align: center;
}

/* web-designのgrid */
.web-design {
    grid-column: 1/-1;
}

/* web-designのtitle */
.web-design-title {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 140px;
    padding-top: 10px;
    text-align: center;
    color: var(--white);
    background: url(../img/壁紙/hardwood-wall.jpg);
    background-position-y: 43%;
}

.web-design-title h2 {
    position: relative;
    background: var(--sub10);
    width: 30%;
    margin: auto;
    height: 120px;
    padding-top: 1.5rem;
    font-size: 3rem;
    color: var(--sub11);
}

.web-design-title h2:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 10px transparent;
    border-right: solid 50px var(--gray);
}

.web-design-title span {
    margin-left: 10px;
}

@media (max-width: 1024px) {
    .web-design-title {
        height: 120px;
    }

    .web-design-title h2 {
        width: 50%;
        height: 100px;
        font-size: 2.5rem;
    }
}

@media (max-width: 899px) {
    .web-design-title {
        height: 100px;
    }

    .web-design-title h2 {
        height: 80px;
        width: 60%;
        font-size: 2rem;
    }
}

/* web-siteのtype */
.web-site-type {
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 120px repeat(3, 1fr);
    grid-row-gap: 1rem;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
        url(../img/壁紙/workplace-2303851_1920.jpg);
    padding: 1% 0;
}

.web-site-type-title {
    grid-column: 1 /-1;
    grid-row: 1;
    padding-top: 1%;
    margin-bottom: 1%;
}

.web-site-type-title h3 {
    position: relative;
    width: 30%;
    margin-left: 35%;
    color: var(--white);
    font-size: 2.5rem;
    padding: 1.5rem;
    line-height: 1.3;
    background: var(--sub11);
    vertical-align: middle;
    border-radius: 50px 0px 0px 50px;
    /*左側の角を丸く*/
}

.web-site-type-title span {
    margin-left: 10px;
}

@media (max-width: 1024px) {
     .web-site-type-title h3 {
        width: 50%;
        margin-left: 25%;
        font-size: 2rem;
    }
}

@media (max-width: 899px) {
    .web-site-type-title {
        grid-column: 1/-1;
        margin: 0 25%;
    }

    .web-site-type-title h3 {
        width: 80%;
        margin-left: 10%;
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .web-site-type-title {
        margin: 0 20%;
        padding-top: 7%;
    }

    .web-site-type-title h3 {
        width: 100%;
        margin-left: 0%;
    }
}


/*タイトル旧デザイン
.web-site-type-title {
    grid-column: 1 / 4;
    grid-row: 1;
    height: 100px;
    text-align: center;
}

.web-site-type-title h2 {
    position: relative;
    width: 30%;
    margin-left: 35%;
    color: var(--white);
    font-size: 2.5rem;
    padding: 1.5rem;
    line-height: 1.3;
    background: var(--sub11);
    vertical-align: middle;
    border-radius: 50px 0px 0px 50px;
    /*左側の角を丸く
}

.web-site-type-title h2:before {
    position: absolute;
    top: 30%;
    left: 30px;
    content: '●';
    color: var(--white);
}
*/

.corp {
    grid-row: 2;
}

.brand {
    grid-row: 3;
}

.lp {
    grid-row: 4;
}

/* type-box (ホームページの種類中身) */
.type-box {
    grid-column: 1 /-1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
}

.type-img-box {
    grid-column: 1/3;
    box-sizing: border-box;
    height: 100%;
    /* ここはheightかwidthの片方のみでおｋ */
    background-position: center;
    background-size: auto 80%;
}

.corp .type-img-box {
    background-image: url(../img/icon/corp-icon.png);
    background-color: var(--sub12);
}

.brand .type-img-box {
    background-image: url(../img/icon/brand-icon.png);
    background-color: var(--sub13)
}

.lp .type-img-box {
    background-image: url(../img/icon/landing-icon.png);
    background-color: var(--sub10)
}


.type-text-box {
    grid-column: 3/-1;
    color: var(--white);
    text-align: left;
    background-color: rgba(0, 0, 0, 0.7);
    border-left: solid 5px var(--sub11);
    padding: 0 6%;
}

.type-text-box h4 {
    padding-top: 1%;
    font-size: 2.5rem;
}

.type-text-box p {
    padding-top: 3%;
    padding-bottom: 3%;
    font-size: 1.7rem;
    line-height: 170%;
}

@media (max-width: 1400px) {
    .type-text-box h4 {
        padding-top: 1%;
        font-size: 2rem;
    }

    .type-text-box p {
        padding-top: 3%;
        font-size: 1.5rem;
        line-height: 200%;
    }
}

@media (max-width: 899px) {
    .type-box {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .type-img-box {
        grid-column: 1/-1;
        grid-row: 1;
        width: 100%;
        height: auto;
        /* ここはスマホ回転の対応 */
        aspect-ratio: 4/1;
        background-size: 16%;
    }

    .type-text-box {
        grid-column: 1/-1;
        grid-row: 2;
    }

    .type-text-box p {
        line-height: 150%;
    }

}

/* expression-methodのgrid */
.expression-method {
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 120px 200px repeat(3, 400px);
    padding-bottom: 2vw;
    background: url(../img/壁紙/leaves-wall-big.jpg);
    background-repeat: no-repeat;
}

.expression-method-title {
    grid-column: 1 /-1;
    grid-row: 1;
    padding-top: 1%;
    margin-bottom: 1%;
}

.expression-method-title h3 {
    position: relative;
    width: 30%;
    margin-left: 35%;
    color: var(--white);
    font-size: 2.5rem;
    padding: 1.5rem;
    line-height: 1.3;
    background: var(--sub11);
    vertical-align: middle;
    border-radius: 50px 0px 0px 50px;
    /*左側の角を丸く*/
}


@media (max-width: 1200px) {
    .expression-method {
        grid-template-rows: 120px 200px repeat(3, 300px);
    }
}

@media (max-width: 1024px) {
    .expression-method {
        grid-template-rows: 120px 200px repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .expression-method-title h3 {
        width: 50%;
        margin-left: 25%;
        font-size: 2rem;
    }
}

@media (max-width: 899px) {
    .expression-method-title {
        grid-column: 1/-1;
        margin: 0 25%;
    }

    .expression-method-title h3 {
        width: 80%;
        margin-left: 10%;
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .expression-method-title {
        margin: 0 20%;
    }

    .expression-method-title h3 {
        width: 100%;
        margin-left: 0%;
    }
}


.expression-method-message {
    grid-column: 1/-1;
    grid-row: 2;
    margin: 1% 0;
    font-size: 2rem;
    color: var(--white);
    text-shadow: 1px 1px var(--black);
}

.expression-method-message p {
    line-height: 200%;
    height: 170px;
    text-align: left;
    padding: 2%;
    background-color: rgba(77, 182, 172, 0.8);
}

@media (max-width: 1260px) {
    .expression-method-message {
        padding: 0 10%;
    }
}

@media (max-width: 1024px) {
    .expression-method-message {
        font-size: 1.7rem;
        padding: 0 5%;
        margin: 0;
    }
}

@media (max-width: 899px) {
    .expression-method-message {
        font-size: 1.5rem;
    }

    .expression-method-message p {
        line-height: 150%;
    }
}

.method-box {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    color: var(--white);
    text-shadow: 1px 1px var(--black);
    text-align: left;
}

@media (max-width: 1260px) {
    .method-box {
        padding: 0 10%;
    }
}

@media (max-width: 1024px) {
    .method-box {
        grid-template-rows: repeat(2, 1fr);
        padding: 0 5%;
    }
}

.method-box h4 {
    font-size: 2.5rem;
}

.method-box p {
    padding-top: 3%;
    font-size: 2rem;
    line-height: 200%;
}

@media (max-width: 1150px) {
    .method-box p {
        font-size: 1.7rem;
        line-height: 150%;
        padding: 2%;
    }
}

@media(max-width: 1024px) {
    .method-box h4 {
        padding: 2%;
    }
}

@media (max-width: 500px) {
    .method-box p {
        font-size: 1.5rem;

    }
}

.method-example {
    grid-column: 1;
    width: 30vw;
    height: auto;
    background-color: rgba(77, 182, 172, 0.8);
}

.method-example-R {
    grid-column: -1;
    width: 30vw;
    height: auto;
    background-color: rgba(77, 182, 172, 0.8);
    overflow: hidden;
}

.hop-up-title {
    width: 100%;
    text-align: right;
    margin-right: 10px;
    color: var(--sub12);
    text-shadow: 1px 1px var(--black);
    font-size: 1.6rem;
}

.method-text-box-L {
    grid-column: 1/6;
    padding-top: 2%;
    padding-left: 5%;
    background-color: rgba(77, 182, 172, 0.8);
}

.method-text-box-R {
    grid-column: 2/-1;
    padding-left: 5%;
    padding-right: 4%;
    background-color: rgba(77, 182, 172, 0.8);
}

@media (max-width: 1024px) {
    .method-box {
        grid-template-rows: 1fr 240px;
        padding: 0 5%;
    }

    .method-example,
    .method-example-R {
        grid-column: 1/-1;
        grid-row: 1;
        width: 100%;
        padding: 0;
    }

    .method-text-box-L,
    .method-text-box-R {
        grid-column: 1/-1;
        grid-row: 2;
        padding: 0;
    }

}

@media (max-width: 500px) {
    .method-box {
        grid-template-rows: 1fr 250px;

    }

}


.slide-show {
    grid-row: 3;
}

.slide-show .method-example {
    padding-top: 20px;
}

.slide-show .method-text-box-R {
    padding-top: 20px;
}

@media (max-width: 1024px) {
    .slide-show .method-text-box-R {
        padding-top: 0;
    }
}



/* スライド設定 */
.slick-slide img {
    height: 30vw;
    margin: auto;
    max-height: 350px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 1300px) {
    .slick-slide img {
        height: 100vw;
        max-height: 250px;
    }
}

@media (max-width: 1024px) {
    .slick-slide img {
        height: 100vw;
        max-height: 400px;
    }
}

@media (max-width: 500px) {
    .slick-slide img {
        height: 100vw;
        max-height: 220px;
    }
}

.animation-slide {
    position: relative;
}

.slide__content-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
}

.slide__content {
    display: block;
    opacity: 0;
    perspective: 1000;
    transform: translate(20%, -50%);
    transition: 0s;
}

.slide__content.on {
    opacity: 1;
    perspective: 1000;
    transform: translate(-50%, -50%);
    transition: .5s;
}

.slide__title {
    font-size: 3rem;
    color: var(--sub13);
    text-shadow: 1px 1px var(--black);
    white-space: nowrap;
}

.slide__text {
    font-size: 1.5rem;
    color: var(--sub13);
    text-shadow: 1px 1px var(--black);
    white-space: nowrap;
}



.hop-up {
    grid-row: 4;
}

.gallery-example {
    position: relative;
    grid-row: 5;
}

.gallery-example .method-text-box-R {
    padding-top: 2%;
}

.gallery {
    position: relative;
    width: 100%;
    text-align: center;
    cursor: pointer;
    -webkit-perspective: 200px;
    perspective: 200px;
}


.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    padding-bottom: 5%;
}

@media (max-width: 1024px) {
    .gallery img {
        padding: 0;
        margin-top: -5%;
    }

    .gallery-example .method-text-box-R h4 {
        margin-top: -7%;
    }
}

.gallery-R img {
    padding-left: 10%;
    text-align: left;
}

@media (max-width: 1024px) {
    .gallery-R img {
        padding: 0;
        text-align: left;
    }
}

/* maintenanceのgrid */
.maintenance {
    grid-column: 1/-1;
    grid-row: 6;
    background: url(../img/壁紙/wood-h.jpg);
    background-repeat: round;
}

/* maintenanceのtitle */
.maintenance-title {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 140px;
    padding-top: 10px;
    text-align: center;
    color: var(--white);
    background: url(../img/壁紙/hardwood-wall.jpg);
    background-position-y: 43%;
}

.maintenance-title h2 {
    position: relative;
    background: var(--sub10);
    width: 30%;
    margin: auto;
    height: 120px;
    padding-top: 1.5rem;
    font-size: 3rem;
    color: var(--sub11);
}

.maintenance-title h2:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 10px transparent;
    border-right: solid 50px var(--gray);
}

@media (max-width: 1024px) {
    .maintenance-title {
        height: 120px;
    }

    .maintenance-title h2 {
        width: 50%;
        height: 100px;
        font-size: 2.5rem;
    }
}

@media (max-width: 899px) {
    .maintenance-title {
        height: 100px;
    }

    .maintenance-title h2 {
        height: 80px;
        width: 60%;
        font-size: 2rem;
    }

}


/* maintenanceのmessage */
.maintenance-message {
    grid-row: 2;
    margin-top: 1%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.maintenance-message p {
    grid-column: 1/3;
    font-size: 2rem;
    color: var(--white);
    text-align: left;
    padding: 5%;
    background-color: var(--sub11);
}

.maintenance-message-img {
    grid-column: 3/-1;
    width: 500px;
}

.maintenance-message-img img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .maintenance-message p {
        grid-column: 1/-1;
        background-color: rgba(77, 182, 172, 0.8);
    }

    .maintenance-message-img {
        grid-column: 1/-1;
        width: 100%;
    }

    .maintenance-message-img img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 899px) {
    .maintenance-message p {
        font-size: 1.7rem;
    }

}


/* maintenanceのtype */
.maintenance-type {
    margin-bottom: 1%;
}

.maintenance-type-title {
    grid-column: 1 / -1;
    grid-row: 3;
    height: 120px;
    text-align: center;
    padding-top: 1%;
    margin-bottom: 1%;
}

.maintenance-type-title h3 {
    position: relative;
    width: 50%;
    margin-left: 25%;
    color: var(--white);
    font-size: 2.5rem;
    padding: 1.5rem;
    line-height: 1.3;
    background: var(--sub11);
    vertical-align: middle;
    border-radius: 50px 0px 0px 50px;
    /*左側の角を丸く*/
}

@media (max-width: 1024px) {
    .maintenance-type-title h3 {
        width: 50%;
        margin-left: 25%;
        font-size: 2rem;
    }
}

@media (max-width: 899px) {
    .maintenance-type-title {
        grid-column: 1/-1;
        margin: 0 25%;
    }

    .maintenance-type-title h3 {
        width: 80%;
        margin-left: 10%;
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .maintenance-type-title {
        margin: 0 20%;
    }

    .maintenance-type-title h3 {
        width: 100%;
        margin-left: 0%;
        font-size: 1.5rem;
    }
}

.basic {
    grid-row: 2;
    margin-bottom: 2%;
}

@media (max-width: 899px) {
    .basic {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
}

.each-time {
    grid-row: 3;
    margin-bottom: 2%;
}

.subscription {
    grid-row: 4;
}

.basic .type-img-box {
    height: 100%;
    background-image: url(../img/icon/check-icon.png);
    background-color: var(--sub12);
    background-size: 40%;
    aspect-ratio: auto;
}

.each-time .type-img-box {
    height: 100%;
    background-image: url(../img/icon/support-icon.png);
    background-color: var(--sub13);
    background-size: 40%;
    aspect-ratio: auto;
}

.subscription .type-img-box {
    height: 100%;
    background-image: url(../img/icon/subsc-icon.png);
    background-color: var(--sub10);
    background-size: 40%;
    aspect-ratio: auto;
}

.subscription span {
    margin-right: 3rem;
}

@media (max-width: 899px) {

    .basic .type-img-box,
    .each-time .type-img-box,
    .subscription .type-img-box {
        width: 100%;
        height: auto;
        background-size: 20%;
        aspect-ratio: 4/1;
    }
}

.img-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 45%;
    left: -5px;
    /* 表示させない */
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
    color: var(--textcolor);
    font-size: 2rem;
}

@media (max-width: 899px) {
    .maintenance-text ,
    .each-time-text,
    .subscription-text
     {
        padding: 3% 6%;
    }

    .maintenance-text p,
    .each-time-text p,
    .subscription-text p
     {
        padding-top: 3%;
        padding-bottom: 0%;
        font-size: 1.5rem;
        line-height: 120%;
    }
}

@media (max-width: 500px) {
    .basic {
        grid-template-rows: 1fr auto;
    }
    .each-time {
        grid-template-rows: 1fr auto;
    }
    .subscription {
        grid-template-rows: 1fr auto;
    }


    .maintenance-text p,
    .each-time-text p,
    .subscription-text p
     {
        font-size: 1.4rem;
        line-height: 130%;
    }
}


/* other-servicesのgrid */
.other-services {
    grid-column: 1/-1;
    grid-row: 7;
    background: url(../img/壁紙/wood-h.jpg);
}

.other-services-title {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 140px;
    padding-top: 10px;
    text-align: center;
    color: var(--white);
    background: url(../img/壁紙/hardwood-wall.jpg);
    background-position-y: 43%;
}

.other-services-title h2 {
    position: relative;
    background: var(--sub10);
    width: 30%;
    margin: auto;
    height: 120px;
    padding-top: 1.5rem;
    font-size: 3rem;
    color: var(--sub11);
}

.other-services-title h2:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 10px transparent;
    border-right: solid 50px var(--gray);
}

.other-services-title span {
    margin-left: 10px;
}


@media (max-width: 1024px) {
    .other-services-title {
        height: 120px;
    }

    .other-services-title h2 {
        width: 50%;
        height: 100px;
        font-size: 2.5rem;
    }
}

@media (max-width: 899px) {
    .other-services-title {
        height: 100px;
    }

    .other-services-title h2 {
        height: 80px;
        width: 60%;
        font-size: 2rem;
    }
}


.other-services-message {
    grid-row: 2;
    margin-top: 1%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.other-services-message p {
    grid-column: 1/3;
    font-size: 2rem;
    color: var(--white);
    text-align: left;
    padding: 5%;
    background-color: var(--sub11);
}

.other-services-message-img {
    grid-column: 3/-1;
    width: 500px;
}

.other-services-message-img img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .other-services-message {
        padding-bottom: 0;
    }

    .other-services-message p {
        grid-column: 1/-1;
        background-color: rgba(77, 182, 172, 0.8);
    }

    .other-services-message-img {
        grid-column: 1/-1;
        width: 100%;
    }

    .other-services-message-img img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 899px) {
    .other-services-message p {
        font-size: 1.7rem;
    }
}

@media (max-width: 500px) {
    .other-services-message p {
        font-size: 1.5rem;
    }
}

.row2-box {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
}

.row2-box img {
    width: 100%;
    height: auto;
}


@media (max-width: 1024px) {
    .row2-box {
        flex-direction: column;
        column-gap: 0;
    }

    .row2-img {
        margin-bottom: -3px;
    }

}

@media (max-width: 899px) {
    .row2-box {
        display: none;
    }
}


.induction-btn {
    grid-column: 1/-1;
    grid-row: -1;
    text-decoration: none;
}

.price-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(--white);
    background-color: var(--sub11);
    border: solid 3px var(--sub11);
}

.price-link:hover {
    color: var(--black);
    text-shadow: 2px 2px var(--white);
    background-color: var(--sub10);
    border: solid 3px var(--white);
    font-style: oblique;
    transition: 0.5s;
}



/* フッター */
.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;
}