@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;
}

.title p {
    margin: 150px 0px 0px 80px;
    font-size: 12px;

    /* 下からフェードイン参照 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);
        /* アニメーション終了時の位置 */
    }
}

.title h3 {
    text-align: center;
    margin: 80px 0 90px 0;

    /* 下からフェードイン参照 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);
        /* アニメーション終了時の位置 */
    }
}

.text {
    font-size: 15px;
    margin: 0 auto;
    text-align: center;
    margin: 0 0 80px 0;
}

.text p {
    display: inline-block;
    text-align: left;
}

/* google連携 */
.main {
    margin-left: 29%;
    font-size: 15px;
}

.maintxt {
    display: inline-block;
    width: 60%;
    padding: 0.3em;
    border: 1px solid #000000;
    box-sizing: border-box;
    background-color: #ffffff;
    margin: 0.7em 0;
}

.mainarea {
    display: inline-block;
    width: 60%;
    padding: 0.3em;
    height: 50vh;
    border: 1px solid #000000;
    box-sizing: border-box;
    background-color: #ffffff;
    margin: 0.7em 0;
}

.btn {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 60px;
}

.btn button {
    font-size: 15px;
    padding: 5px 40px;
    border: solid 1px #5d5957;
}

.btn button:hover {
    color: #fff;
    background: #5d5957;
}

@media (min-width: 640px) {
	.c-form__item {
		flex-wrap: nowrap;
	}
	.c-form__label {
		width: 40%;
	}
	.c-form__input {
		width: 55%;
	}
}
}

/*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%;
    }
    
    .title p {
        margin: 130px 0px 0px 70px;
        font-size: 12px;
    
        /* 下からフェードイン参照 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);
            /* アニメーション終了時の位置 */
        }
    }
    
    .title h3 {
        text-align: center;
        margin: 60px 0 70px 0;
    
        /* 下からフェードイン参照 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);
            /* アニメーション終了時の位置 */
        }
    }
    
    .text {
        font-size: 15px;
        margin: 0 auto;
        text-align: center;
        margin: 0 0 80px 0;
    }
    
    .text p {
        display: inline-block;
        text-align: left;
    }
    
    /* google連携 */
    .main {
        margin-left: 27%;
        font-size: 15px;
    }
    
    .maintxt {
        display: inline-block;
        width: 63%;
        padding: 0.3em;
        border: 1px solid #000000;
        box-sizing: border-box;
        background-color: #ffffff;
        margin: 0.7em 0;
    }
    
    .mainarea {
        display: inline-block;
        width: 63%;
        padding: 0.3em;
        height: 50vh;
        border: 1px solid #000000;
        box-sizing: border-box;
        background-color: #ffffff;
        margin: 0.7em 0;
    }
    
    .btn {
        text-align: center;
        margin-top: 60px;
        padding-bottom: 60px;
    }
    
    .btn button {
        font-size: 15px;
        padding: 5px 40px;
        border: solid 1px #5d5957;
    }
    
    .btn button:hover {
        color: #fff;
        background: #5d5957;
    }
    
    @media (min-width: 640px) {
        .c-form__item {
            flex-wrap: nowrap;
        }
        .c-form__label {
            width: 40%;
        }
        .c-form__input {
            width: 55%;
        }
    }
}

/*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%;
}

.title p {
    margin: 110px 0px 0px 40px;
    font-size: 8px;

    /* 下からフェードイン参照 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);
        /* アニメーション終了時の位置 */
    }
}

.title h3 {
    text-align: center;
    margin: 60px 0 70px 0;
    font-size: 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);
        /* アニメーション終了時の位置 */
    }
}

.text {
    font-size: 10px;
    margin: 0 auto;
    text-align: center;
    margin: 0 0 80px 0;
}

.text p {
    display: inline-block;
    text-align: left;
}

/* google連携 */
.main {
    margin-left: 29%;
    font-size: 10px;
}

.maintxt {
    display: inline-block;
    width: 60%;
    padding: 0.3em;
    border: 1px solid #000000;
    box-sizing: border-box;
    background-color: #ffffff;
    margin: 0.7em 0;
}

.mainarea {
    display: inline-block;
    width: 60%;
    padding: 0.3em;
    height: 50vh;
    border: 1px solid #000000;
    box-sizing: border-box;
    background-color: #ffffff;
    margin: 0.7em 0;
    
}

.btn {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 60px;
}

.btn button {
    font-size: 10px;
    padding: 5px 40px;
    border: solid 1px #5d5957;
    color: #000;
}

.btn button:hover {
    color: #fff;
    background: #5d5957;
}

@media (min-width: 640px) {
	.c-form__item {
		flex-wrap: nowrap;
	}
	.c-form__label {
		width: 40%;
	}
	.c-form__input {
		width: 55%;
	}
}
}