@charset "utf-8";

/* ---------------------------------------------------------------
	Reset
--------------------------------------------------------------- */
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}


/*=========================
 common
==========================*/
body {
    height: auto;
    margin: 0 auto;
    background: #fff;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

a {
    display: block;
    color: #000;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
    opacity: 0.5;
}

/*=========================
 body
==========================*/
.container {
    max-width: 640px;
    width: 100%;
    margin: auto;
    padding-bottom: 6%;
    display: block;
    /*IE*/
    overflow-x: hidden;
    /*横スクロール回避*/
}

.footer {
    max-width: 640px;
    width: 100%;
    margin: auto;
    display: block;
    /*IE*/
    overflow-x: hidden;
    /*横スクロール回避*/
}

.cv_area, .search_head { position: relative; }
.cv_btn {
    position: absolute;
    right: 3.5%; bottom: 29.2%;
    display: block;
    max-width: 333px;
    width: calc(333 / 640 * 100%);
    animation-name: zoom-in-out;
    animation-duration: 1.75s;
    animation-iteration-count: infinite;
    z-index: 3;
}
.cv_2 .cv_btn { bottom: 16.8%; }

.tel_btn{
    position: relative;
    margin: calc(22 / 640 * 100%) auto 0;
    display: block;
    width: calc(577 / 640 * 100%);
    max-width: 577px;
    z-index: 3;
}

.youtube_wrap {
    padding: calc(45 / 640 * 100%) 0 calc(73 / 640 * 100%);
}
.youtube_inner {
    width: calc(600 / 640 * 100%);
    max-width: 600px;
    margin: 0 auto;
}
.youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.youtube iframe {
    position: absolute;
    top: 0; right: 0;
    width: 100% !important; height: 100% !important;
    z-index: 3;
}

.movie {
    margin: calc(90 / 640 * 100%) auto 0;
    width: calc(540 / 640 * 100%);
    max-width: 540px;
}
.movie video { width: 100%; }

.try { margin: calc(88 / 640 * 100%) auto 0; }

.arrow {
    position: absolute;
    width: calc(274 / 640 * 100%);
    max-width: 274px;
    left: 28.5%; top: 15.7%;
    animation: up-down .5s infinite alternate ease-in-out;
}


@keyframes zoom-in-out {
    0% { transform: scale(.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(.95); }
}
@keyframes up-down {
    form { transform: translateY(0); }
    to { transform: translateY(20px); }
}

/*=========================
 紙吹雪
==========================*/
.confetti{
    display: none;
    position: fixed;
    z-index: 2;
}

/*============================
 フッター固定ボタン
============================*/

#fixdBtn {
    margin: 0 auto;
    padding: calc(15 / 640 * 100%) 0;
    background: #FFF;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99;
    width: 100%;
    transform: translateY(101%);
    -webkit-transform: translateY(101%);
    transition: .3s;
    -webkit-transition: .3s;
    opacity: 0;
    overflow: hidden;
}

#fixdBtn a {
    display: block;
    width: calc(564 / 640 * 100%);
    max-width: 564px;
    margin: 0 auto;
}

.is-bnrShow {
    transform: translateY(0) !important;
    -webkit-transform: translateY(0) !important;
    opacity: 1 !important;

}

.is-bnrHide {
    transform: translateY(101%) !important;
    -webkit-transform: translateY(101%) !important;
    opacity: 0 !important;
}

@media screen and (min-width: 640px) {
    #fixdBtn { padding: 15px 0; }
}