@charset "UTF-8";

/*PCサイズレスポンシブ*/
@media(min-width:1000px) {
    body {
        min-width: 1000px;
        background-color: #f7f6f5;
    }

    nav {
        display: none;
    }

    .container {
        width: 100%;
        background-color: #f7f6f5;
        font-family: serif;
    }

    /* PCcss */

    a {
        text-decoration: none;
        color: #000;
    }

    h1 {
        font-size: 24px;
        margin: 0;
    }

    .header {
        background-color: #f7f6f5;
        width: 100%;
        display: flex;
        height: 100px;
        justify-content: space-between;
        align-items: center;

        position: fixed;
        /* ヘッダーを固定する */

        z-index: 100;
        /* ヘッダーを他の要素の上に表示 */
        top: 0;
    }

    .header1 {
        width: 20%;
        margin: 30px 0px 0px 50px;

    }

    .header1 h2 {
        font-size: 15px;
        margin: 0 0 0 25px;
    }


    .header2 {
        width: 40%;
        background-color: #ffffff;
        margin: 20px 0px 0px 0px;
    }

    .header2 ul {
        display: flex;
        align-items: center;
        list-style: none;
        margin-left: 30px;
    }

    .header2 img {
        width: 20%;
        margin-top: 5px;
    }

    .header2 li {
        margin-left: 25px;
    }

    .top {
        margin-top: 150px;
        position: relative;
    }

    .top1 p {
        color: #ffffff;
        font-size: 160px;
        position: absolute;
        line-height: 110%;
        margin: 50px 0 0 35px;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .top2 img {
        width: 100%;
    }

    .profile {
        text-align: center;
        margin: 40px 0 110px 0;
    }

    .profile h4 {
        margin: 0 0 5px 0;
        font-size: 16px;
    }

    .profile p {
        font-size: 14px;
        margin: 0 auto;
    }

    .profile a {
        padding-left: 45%;
        font-size: 15px;
    }

    .profile a:hover {
        font-size: 16px;
    }

    /*titleに下線引く https://takechi-web.com/underline-length/*/
    .title {
        font-size: 18px;
        text-align: center;
        margin-bottom: 85px;
        position: relative;
        /*positionをrelativeに指定*/
    }

    .title::after {
        position: absolute;
        /*positionをabsoluteに指定*/
        content: "";
        background-color: #000;
        /*下線の色*/
        width: 160px;
        /*線の幅*/
        height: 0.7px;
        /*線の太さ*/
        bottom: -15px;
        /*線のタテ位置*/
        left: 50%;
        /*線のヨコ位置*/
        transform: translateX(-50%);
        /*線のヨコ位置*/
    }

    .title h3 {
        font-weight: normal;
    }

    .service {
        width: 100%;
        margin-bottom: 140px;
    }

    .service ul {
        display: flex;
        list-style: none;
        text-align: center;
        margin: 0 auto;
        width: 80%;
        font-size: 15px;
        padding: 0;
    }

    .service img {
        width: 60%;
    }

    .service p {
        font-size: 15px;
        margin-left: 195px;
    }

    /* スライドショ https://codepen.io/125naroom/pen/zYOXjxy*/
    /*====================================================================
     slick
     ====================================================================*/
    html,
    body {
        margin: 0;
        padding: 0;
    }

    * {
        box-sizing: border-box;
    }

    .sliderArea {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 25px;
    }

    .sliderArea.w300 {
        max-width: 300px;
    }

    .slick-slide {
        margin: 0 5px;
    }

    .slick-slide img {
        width: 100%;

        /*写真を揃えたい
    height: 600px;
    object-fit: cover;*/
    }

    .slick-prev,
    .slick-next {
        z-index: 1;
    }

    .slick-prev:before,
    .slick-next:before {
        color: #000;
    }

    .slick-slide {
        transition: all ease-in-out .3s;
        opacity: .2;
    }

    .slick-active {
        opacity: 1;
    }

    .slick-current {
        opacity: 1;
    }

    .thumb {
        margin: 20px 0 0;
    }

    .thumb .slick-slide {
        cursor: pointer;
    }

    .thumb .slick-slide:hover {
        opacity: .7;
    }

    .section {
        text-align: center;
        margin-bottom: 150px;
    }

    .section a {
        font-size: 15px;
    }

    .section a:hover {
        font-size: 16px;
    }

    .scroll-infinity {
        display: none;
    }

    .contact {
        text-align: center;
        padding-bottom: 80px;
    }

    .contact a {
        font-size: 15px;
        padding: 5px 15px;
        border: solid 1px #5d5957;
    }

    .contact a:hover {
        color: #fff;
        background: #5d5957;
    }

    /***追従するトップへ戻るボタン https://www.fuji-blo.com/entry/page-top***/

    #page-top {
        position: fixed;
        right: 5px;
        bottom: 20px;
        height: 50px;
        text-decoration: none;
        font-weight: bold;
        transform: rotate(90deg);
        font-size: 100%;
        line-height: 1.5rem;
        color: #5d5957;
        padding: 0 0 0 35px;
        border-top: solid 1px;
    }

    #page-top::before {
        content: "";
        display: block;
        position: absolute;
        top: -1px;
        left: 0px;
        width: 15px;
        border-top: solid 1px;
        transform: rotate(35deg);
        transform-origin: left top;
    }

    /***トップへ戻るボタンここまで***/
}

/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
    body {
        min-width: 600px;
        max-width: 999px;
        background-color: #f7f6f5;
    }

    .container {
        width: 100%;
        background-color: #f7f6f5;
        font-family: serif;
    }

    /* ipadcss */

    a {
        text-decoration: none;
        color: #000;
    }

    h1 {
        font-size: 20px;
        margin: 0;
    }

    .header {
        background-color: #f7f6f5;
        width: 100%;
        display: flex;
        height: 100px;
        justify-content: space-between;
        align-items: center;

        position: fixed;
        /* ヘッダーを固定する */

        z-index: 100;
        /* ヘッダーを他の要素の上に表示 */
        top: 0;
    }

    .header1 {
        width: 30%;
        margin: 30px 0px 0px 40px;
    }

    .header1 h2 {
        font-size: 12px;
        margin: 0 0 0 25px;
    }

    .header2 {
        display: none;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav-list img {
        width: 15%;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 35px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        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: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .top {
        margin-top: 150px;
        position: relative;
    }

    .top1 p {
        color: #ffffff;
        font-size: 110px;
        position: absolute;
        line-height: 110%;
        margin: 15px 0 0 35px;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .top2 img {
        width: 100%;
    }

    .profile {
        text-align: center;
        margin: 40px 0 110px 0;
    }

    .profile h4 {
        margin: 0 0 5px 0;
        font-size: 15px;
    }

    .profile p {
        font-size: 13px;
        margin: 0 auto;
    }

    .profile a {
        padding-left: 45%;
        font-size: 14px;
    }

    .profile a:hover {
        font-size: 15px;
    }

    /*titleに下線引く https://takechi-web.com/underline-length/*/
    .title {
        font-size: 16px;
        text-align: center;
        margin-bottom: 85px;
        position: relative;
        /*positionをrelativeに指定*/
    }

    .title::after {
        position: absolute;
        /*positionをabsoluteに指定*/
        content: "";
        background-color: #000;
        /*下線の色*/
        width: 160px;
        /*線の幅*/
        height: 0.7px;
        /*線の太さ*/
        bottom: -15px;
        /*線のタテ位置*/
        left: 50%;
        /*線のヨコ位置*/
        transform: translateX(-50%);
        /*線のヨコ位置*/
    }

    .title h3 {
        font-weight: normal;
    }

    .service {
        width: 100%;
        margin-bottom: 140px;
    }

    .service ul {
        display: flex;
        list-style: none;
        text-align: center;
        margin: 0 auto;
        width: 90%;
        font-size: 13.5px;
        padding: 0;
    }

    .service img {
        width: 80%;
    }

    .service p {
        font-size: 13.5px;
        margin-left: 80px;
    }


    /* スライドショ https://codepen.io/125naroom/pen/zYOXjxy*/
    /*====================================================================
slick
====================================================================*/
    html,
    body {
        margin: 0;
        padding: 0;
    }

    * {
        box-sizing: border-box;
    }

    .sliderArea {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 25px;
    }

    .sliderArea.w300 {
        max-width: 300px;
    }

    .slick-slide {
        margin: 0 5px;
    }

    .slick-slide img {
        width: 100%;

        /*写真を揃えたい
    height: 600px;
    object-fit: cover;*/
    }

    .slick-prev,
    .slick-next {
        z-index: 1;
    }

    .slick-prev:before,
    .slick-next:before {
        color: #000;
    }

    .slick-slide {
        transition: all ease-in-out .3s;
        opacity: .2;
    }

    .slick-active {
        opacity: 1;
    }

    .slick-current {
        opacity: 1;
    }

    .thumb {
        margin: 20px 0 0;
    }

    .thumb .slick-slide {
        cursor: pointer;
    }

    .thumb .slick-slide:hover {
        opacity: .7;
    }

    .section {
        text-align: center;
        margin-bottom: 150px;
    }

    .section a {
        font-size: 15px;
    }

    .section a:hover {
        font-size: 16px;
    }

    .scroll-infinity {
        display: none;
    }

    .contact {
        text-align: center;
        padding-bottom: 80px;
    }

    .contact a {
        font-size: 14px;
        padding: 5px 15px;
        border: solid 1px #5d5957;
    }

    .contact a:hover {
        color: #fff;
        background: #5d5957;
    }

    /***追従するトップへ戻るボタン https://www.fuji-blo.com/entry/page-top***/

    #page-top {
        position: fixed;
        right: 5px;
        bottom: 20px;
        height: 50px;
        text-decoration: none;
        font-weight: bold;
        transform: rotate(90deg);
        font-size: 100%;
        line-height: 1.5rem;
        color: #5d5957;
        padding: 0 0 0 35px;
        border-top: solid 1px;
    }

    #page-top::before {
        content: "";
        display: block;
        position: absolute;
        top: -1px;
        left: 0px;
        width: 15px;
        border-top: solid 1px;
        transform: rotate(35deg);
        transform-origin: left top;
    }

    /***トップへ戻るボタンここまで***/
}

/*SPサイズレスポンシブ*/
@media (max-width:599px) {
    body {
        max-width: 599px;
        background-color: #f7f6f5;
    }

    .container {
        width: 100%;
        background-color: #f7f6f5;
        font-family: serif;
    }

    /* SPcss */

    a {
        text-decoration: none;
        color: #000;
    }

    h1 {
        font-size: 15px;
        margin: 0;
    }

    .header {
        background-color: #f7f6f5;
        width: 100%;
        display: flex;
        height: 100px;
        justify-content: space-between;
        align-items: center;

        position: fixed;
        /* ヘッダーを固定する */

        z-index: 100;
        /* ヘッダーを他の要素の上に表示 */
        top: 0;
    }

    .header1 {
        width: 50%;
        margin: 0px 0px 0px 20px;
    }

    .header1 h2 {
        font-size: 9px;
        margin: 0 0 0 19px;
    }

    .header2 {
        display: none;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 15px;
    }

    #g-nav-list img {
        width: 15%;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 25px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        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: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .top {
        margin-top: 110px;
        position: relative;
    }

    .top1 p {
        color: #ffffff;
        font-size: 61px;
        position: absolute;
        line-height: 110%;
        margin: 17px 0 0 15px;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .top2 img {
        width: 100%;
    }

    .profile {
        text-align: center;
        margin: 40px 0 80px 0;
    }

    .profile h4 {
        margin: 0 0 5px 0;
        font-size: 12px;
    }

    .profile p {
        font-size: 9px;
        margin: 0 auto;
    }

    .profile a {
        padding-left: 45%;
        font-size: 11px;
    }

    .profile a:hover {
        font-size: 12px;
    }

    /*titleに下線引く https://takechi-web.com/underline-length/*/
    .title {
        font-size: 13px;
        text-align: center;
        margin-bottom: 65px;
        position: relative;
        /*positionをrelativeに指定*/
    }

    .title::after {
        position: absolute;
        /*positionをabsoluteに指定*/
        content: "";
        background-color: #000;
        /*下線の色*/
        width: 160px;
        /*線の幅*/
        height: 0.7px;
        /*線の太さ*/
        bottom: -15px;
        /*線のタテ位置*/
        left: 50%;
        /*線のヨコ位置*/
        transform: translateX(-50%);
        /*線のヨコ位置*/
    }

    .title h3 {
        font-weight: normal;
    }

    .service {
        width: 100%;
        margin-bottom: 100px;
    }

    .service ul {
        display: flex;
        list-style: none;
        text-align: center;
        margin: 0 auto;
        width: 90%;
        font-size: 8.5px;
        padding: 0;
    }

    .service img {
        width: 90%;
    }

    .service p {
        font-size: 8.5px;
        margin-left: 40px;
    }

    .section {
        display: none;
    }

/*SPスライドショー*/

@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(-100%);
    }
    }

    .scroll-infinity {
        text-align: center;
        height: 100%;
        margin-bottom: 100px;
    }

    .scroll-infinity__wrap {
      display: flex;
      overflow: hidden;
      margin-bottom: 10px;
    }
    .scroll-infinity__list {
      display: flex;
      list-style: none;
      padding: 0
    }

    .scroll-infinity__list--left {
      animation: infinity-scroll-left 30s infinite linear 0.5s both;
    }
    .scroll-infinity__item {
      width: calc(100vw / 2);
      border: solid 1px #f7f6f5;
    }
    .scroll-infinity__item>img {
      width: 100%;
    }

    .scroll-infinity a {
        font-size: 11px;
    }

    .scroll-infinity a:hover {
        font-size: 12px;
    }

    .contact {
        text-align: center;
        padding-bottom: 40px;
    }

    .contact a {
        font-size: 10px;
        padding: 5px 15px;
        border: solid 1px #5d5957;
    }

    .contact a:hover {
        color: #fff;
        background: #5d5957;
    }

    /***追従するトップへ戻るボタン https://www.fuji-blo.com/entry/page-top***/

    #page-top {
        position: fixed;
        right: 5px;
        bottom: 20px;
        height: 50px;
        text-decoration: none;
        font-weight: bold;
        transform: rotate(90deg);
        font-size: 100%;
        line-height: 1.5rem;
        color: #5d5957;
        padding: 0 0 0 35px;
        border-top: solid 1px;
        font-size: 10px;
    }

    #page-top::before {
        content: "";
        display: block;
        position: absolute;
        top: -1px;
        left: 0px;
        width: 15px;
        border-top: solid 1px;
        transform: rotate(35deg);
        transform-origin: left top;
    }

    /***トップへ戻るボタンここまで***/
}