/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */


/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@import url(https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css);
html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
}

body {
    background-color: rgb(244, 244, 244) !important;
    font-family: 'Rounded Mplus 1c' !important;
    height: 100%;
}

main {
    background-color: rgb(244, 244, 244);
}

form {
    margin: 0px auto;
    max-width: 800px;
    background-color: rgb(255, 255, 255);
}

.sans-serif {
    font-family: 'Rounded Mplus 1c' !important;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* Responsive */

@media (min-width: 1100px) {
    .title-wrapper img {
        width: 70% !important;
    }
    .et-cover {
        width: 70% !important;
    }
    .footer p {
        font-size: 1.0rem !important;
    }
}

@media (min-width: 720px) {
    form {
        border-radius: 10px;
    }
    .title h1 {
        font-size: 2.5rem !important;
    }
    .title p {
        font-size: 2.0rem !important;
    }
    .title-left {
        left: 100px;
    }
    .btn-wrapper {
        font-size: 2.0rem !important;
        max-width: 720px;
    }
    .et-btn-wrapper {
        top: 330px !important;
    }
    .contents-wrapper h2 {
        font-size: 2.5rem !important;
    }
    .description {
        font-size: 1.8rem !important;
    }
    .et-result {
        font-size: 1.8rem !important;
        padding: 70px 0 !important;
    }
    .icon-lamp {
        bottom: 60px !important;
    }
}

.header {
    height: 80px;
    background-color: rgb(123, 123, 123);
    width: 100%;
}

.logo {
    padding: 0;
    padding-left: 10px;
    padding-top: 15px;
}

.logo img {
    width: 90px;
}

.title-wrapper {
    position: relative;
    text-align: center;
}

.title-wrapper img {
    width: 100%;
}

.title {
    position: relative;
    top: 180px;
    width: 80%;
    text-align: center;
    margin: 0px auto;
}

.title h1 {
    font-size: 1.7rem;
    color: rgb(103, 103, 103);
    text-shadow: 1px 1px 0 rgb(255, 255, 255);
    display: none;
}

.title p {
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 0 rgb(103, 103, 103);
    display: none;
}

.title-badge {
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 100;
}

.title-badge-text {
    position: absolute;
    bottom: 100px;
    right: 50px;
    z-index: 130;
    font-size: 1.7rem;
    font-weight: bold;
    color: rgb(255, 255, 255);
    line-height: 30px;
}

.btn-wrapper {
    font-size: 1.5rem;
    display: table;
    width: 90%;
    height: 80px;
    margin: 0px auto;
    text-align: center;
    border-radius: 20px;
    background-color: rgb(53, 183, 41);
}

.btn-wrapper a:hover {
    opacity: 0.7;
    color: rgb(255, 255, 255);
}

.et-btn-wrapper {
    margin-top: 10px;
}

.signup-btn {
    display: table-cell;
    width: 90%;
    vertical-align: middle;
    text-align: center;
    color: rgb(255, 255, 255);
    text-shadow: 3px 3px 0 rgb(47, 158, 34);
}

.et-top {
    margin-top: 30px !important;
}

.contents-wrapper {
    margin-bottom: 50px;
    background-color: rgb(244, 244, 244);
}

.contents-wrapper h2 {
    font-size: 1.5rem;
    color: rgb(81, 81, 81);
    text-align: center;
    padding: 25px 0;
    margin: 0 auto;
    background-color: rgb(244, 244, 244);
}

.et-result {
    position: relative;
    font-size: 1.0rem;
    width: 95%;
    max-width: 800px;
    text-align: center;
    padding: 30px 0 20px 0;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}

.et-result p {
    font-weight: bold;
}

.et-underline {
    width: 70%;
    text-align: center;
    margin: 0px auto;
    border-bottom: solid 0.3rem rgb(254, 228, 65);
}

.icon-edge {
    position: absolute;
    top: 0px;
    width: 5%;
}

.icon-lamp {
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 150px;
    height: 150px;
    object-fit: contain;
    width: 15%;
}

.content-wrapper {
    text-align: center;
    margin: 40px 0;
}

.content-wrapper-d {
    text-align: center;
    margin: 0px 0;
}

.content-wrapper p {
    text-align: center;
    margin: 0 auto;
}


/* list */

.description {
    font-size: 1.0rem;
    text-align: center;
    padding: 20px 0;
}

.description p {
    margin: 0;
}

.et-left {
    text-align: left !important;
    padding: 0;
    padding-left: 30px;
    padding-right: 10px;
}

.et-adjust-left {
    padding-left: 10%;
}

.et-adjust-bottom {
    margin-bottom: -30px !important;
}

.et-cover {
    background-image: url("../img/background2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 30% 30%;
    padding: 0;
    margin: 0 auto;
    margin-bottom: 30px;
}

.et-mask {
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 0;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.et-lists {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgb(244, 244, 244);
    border-radius: 10px;
}

li {
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-color: rgb(255, 255, 255);
    background-size: 10%;
    margin: 0 auto;
    max-width: 800px;
    border-radius: 10px;
}

li.opacity {
    background-color: rgb(255, 255, 255, 0.7);
}

li.et-check {
    background-image: url("../img/icon-check.png");
}

li.et-number1 {
    background-image: url("../img/icon-number1.png");
}

li.et-number2 {
    background-image: url("../img/icon-number2.png");
}

li.et-number3 {
    background-image: url("../img/icon-number3.png");
}

li.et-eg1 {
    background-image: url("../img/eg-01.png");
    background-size: 20%;
    padding-left: 10%;
}

li.et-eg2 {
    background-image: url("../img/eg-02.png");
    background-size: 20%;
    padding-left: 10%;
}

li.et-eg3 {
    background-image: url("../img/eg-03.png");
    background-size: 20%;
    padding-left: 10%;
}

.et-icon-down {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}

.icon-down {
    width: 16%;
}

.footer {
    margin-top: 60px;
    background-color: rgb(123, 123, 123);
    padding: 10px 40px;
    height: 110px;
}

.footer p {
    font-size: 0.7rem;
    color: rgb(255, 255, 255);
    text-align: center;
}


/* thanks-page */

.thanks-wrapper {
    position: relative;
    text-align: center;
}

.thanks-icon {
    margin-top: 100px;
    width: 50px;
}

.thanks-title {
    margin: 0 10%;
    padding-top: 30px;
    padding-bottom: 20px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}


/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    /* 1 */
}


/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}


/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before, .clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *, *:before, *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after, a[href^="javascript:"]:after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}
