/* 全体のスタイル */
body {
    font: normal 18px/1.7 "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ",  sans-serif;
    color: #000;
    text-align: center;
    overflow-x: hidden;
    background-color: #fff;
}

/* レスポンシブ設定 */
@media screen and (max-width: 640px) {
    body {
        min-width: inherit;
        height: 100%;
    }

    .sp-item {
        display: block !important;
    }

    .pc-item {
        display: none !important;
    }

    .sp-item img {
        width: 100%;
    }

    .sp img {
        max-width: 90%;
    }

    .btn img {
        max-width: 95%;
    }
}

@media screen and (min-width: 641px) {
    .sp-item {
        display: none !important;
    }

    .pc-item {
        display: block !important;
    }
}

/* 共通クラス */

.rollover:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}

/* フォーム要素 */
input[type=radio] {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

input[type=image]:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}

/* テキストスタイル */
em {
    text-decoration: underline;
    font-style: normal;
}

/* フォントスタイル */
.bold {
    font-weight: bold !important;
}

strong {
    font-weight: bold;
}

/* フロート */
.fr {
    float: right !important;
}

.fl {
    float: left !important;
}

.clear {
    clear: both;
}

/* 画像 */
img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    line-height: 0;
    padding: 0;
}

/* クリアフィックス */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.clearfix {
    min-height: 1px;
}

/* レイアウト */
#wrapper {
    margin: 0 auto;
    margin-right: 14%;
    width: 40%;
    max-width: 480px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}





#type{
    background-color: #f0fef3;
}
#naxlu,#paripari,#loofen,#recycler,#survey,#target,#cta{
    background-color: #f4efe2;
}

/* 1つ目のCTAセクションの背景色 */
#cta.cta-first {
    background-color: #f0fef3;
}

#service-flow{
    background-color: #f8fbf7;
}
#caution,#danger{
    background-color: #eeeeee;
}

/* トップに戻るボタン */
.gotop {
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid #999;
    border-radius: 50%;
    padding-top: 30px;
    text-indent: -9999px;
    opacity: 0.5;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.gotop::before {
    content: "";
    display: block;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    width: 15px;
    height: 15px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -25%) rotate(-45deg);
}

.gotop:hover {
    opacity: 1;
}

@media(max-width: 640px) {
    .gotop {
        width: 40px;
        height: 40px;
        opacity: 1;
        border: none;
        background: none;
        bottom: 10px;
        right: 10px;
    }

    .gotop::before {
        bottom: 0;
    }
}








/* フッター */
footer {
    background-color: #5fa768;
    text-align: center;
    padding: 16px 0;
    color: #FFFFFF;
    font-size: 90%;
    width: 100%;
    z-index: 999;
}

footer a {
    color: #FFF;
    text-decoration: none;
}

footer a:hover {
    color: #1997d1;
}

footer a:visited {
    color: #fff;
}

@media screen and (max-width: 640px) {
    footer {
        font-size: 12px;
        z-index: 900;
        padding-bottom: 116px;
    }

    body:not(.thanks-message) footer {
        padding-bottom: 200px;
    }
}

/* 注意書きテキスト */
.caution-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.8;
    padding: 15px 10px 30px 10px;
    margin: 0;
}

@media screen and (min-width: 641px) {
    .caution-text {
        font-size: 11px;
        padding: 20px 30px 40px 30px;
    }
}

