/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}

p, h2 {
    margin: 0;
}

.main {
    width: 100%;
    height: 100%;
    min-height: 450px;
    background: url(6aad202327b04f5e9a8cf4f0379ee326.png);
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contents-box{
    width: 300px;
    height: 365px;
    background: url(05cea0b8bf3b660919974aec4e96ed95.png) no-repeat 50% 50%;
    background-size: 100% 100%;
    padding-top: 35px;
    position: relative;
}

.logo{
    margin: 0 auto;
    overflow: hidden;
    text-indent: -1000em;
    background: url(28018aeea879a6ffcdf1c615b7822533.png) no-repeat 50% 50%;
    background-size: 100% 100%;
    width: 230px;
    height: 120px;
}

.contents-desc{
    margin-top: 28px;
    padding-top: 5px;
    text-align: center;

    min-height: 40px;
    font-size: 16px;
}
.contents-desc .title{
    height: 40px;
    line-height: 40px;
    font-weight: 400;
    margin-top: 0;
    font-size: 16px;
}

.contents-desc p {
    padding: 3px 20px;
    word-break: keep-all;
    font-size: 14px;
    line-height: 1.5em;
    color: #444;
}

.btn-group{
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 75px;
}
.coupon .btn-group{
    bottom: 30px;
}

.btn-group .btn {
    border: 0;
    display: inline-block;
    text-decoration: none;
    color: #fefefe;
    background-color: #37b8ef;
    border-radius: 20px;
    box-shadow: 0 5px 0 0 #1d90d5;

    width: 140px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 1px #333;
    font-size: 18px;
    vertical-align: top;
}

.btn.btn-submit{
    width: 80px;
    display: inline-block;
}

.input-coupon {
    border: none;
    background: transparent;
    width: 100%;
    height: 37px;
    line-height: 37px;
    font-size: 14px;
}

.input-coupon::placeholder{
    color: #666;
}

.input-wrap{
    background-color: #89beeb;
    display: inline-block;
    padding: 0 10px;
    width: 160px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    box-shadow: 0 -3px 0 0 #7babd7;
    margin-right: 5px;
    vertical-align: top;
    margin-top: 3px;
}

.lang-box {
    display: block;
    position: fixed;
    top: 30px;
    right: 25px;
}

.lang-box select {
    background-color: rgba(255, 218, 61, .5);
    border: 1px solid #444;
    border-radius: 8px;
    color: #444;
}


@media screen and (min-width: 700px){
    .main{
        min-height: 900px;
    }
    .contents-box{
        width: 600px;
        height: 730px;
        padding-top: 70px;
    }

    .logo{
        margin: 0 auto;
        width: 460px;
        height: 240px;
    }

    .contents-desc{
        margin-top: 56px;
        padding-top: 10px;
        min-height: 80px;
    }

    .btn-group {
        bottom: 150px;
    }
    .btn-group.coupon {
        bottom: 90px;
    }


    .btn-group .btn{
        width: 280px;
        height: 80px;
        line-height: 80px;
        border-radius: 40px;
        box-shadow: 0 10px 0 0 #52a1d8;
        /*font-size: 25px;*/
        font-size: 1.39em !important;
    }

    .btn.btn-submit{
        width: 160px;
    }

    .input-coupon {
        font-size: 25px;
    }
    .input-wrap{
        width: 320px;
        height: 80px;
        line-height: 80px;
        border-radius: 40px;
        box-shadow: 0 -5px 0 0 #52a1d8;
        margin-right: 10px;
        margin-top: 5px;
    }

    .contents-desc .title{
        height: 80px;
        line-height: 80px;
        font-size: 1.5em;
        margin-bottom: 40px;
    }
    .contents-desc p{
        font-size: 20px !important;
    }
}

@media screen and (min-width: 1000px){
    .main{
        align-items: normal;
    }
    .contents-box{
        margin-top: 100px;
    }

    .contents-desc .title{
        font-size: 2em;
    }
}


[lang=vi] .contents-desc .cmt1 {
    font-size: 13px;
}

[lang=de] .invite .contents-desc .title,
[lang=fr] .invite .contents-desc .title,
[lang=th] .invite .contents-desc .title,
[lang=pt] .invite .contents-desc .title
{
    line-height: 1.25em;
}

[lang=de] .logo { background-image: url(f8264f1a2d31d78feceae1c715e72efb.png); }
[lang=zh-TW] .logo { background-image : url(78a571afad0082c2fddd8b2807d86548.png); }
[lang=zh-CN] .logo { background-image : url(98112a5526e7c54478fb08b1026c6b98.png); }
[lang=ja] .logo { background-image : url(082fd0892e5e1278065f70be865a2352.png); }

[lang=ja] .contents-desc { font-size: 12px;}
[lang=ja] .contents-desc .title { font-size: 12px;}

[lang=zh-CN] .contents-desc p,
[lang=zh-TW] .contents-desc p,
[lang=ja] .contents-desc p { font-size: 11px; }


[lang=pt] .coupon .btn.btn-submit {
    font-size: 0.85em;
    padding: 1px 0;
}

[lang=pt] .input-coupon::placeholder,
[lang=es] .input-coupon::placeholder {
    font-size: 0.85em;
}

[lang=ar] body {
    direction: rtl;
}
