@charset "utf-8";
/* ------------------------------------------------------------ Initialization of the browser style */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
address,
code,
em,
span,
strong,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
hr {
    padding: 0;
    margin: 0;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    word-break: break-all;
}

/* ------------------------------------------------------------ body reset */
body {
    font-size: 16px;
    background-color: #fff;
}

table {
    font-size: 100%;
}

/* ------------------------------------------------------------ Table Elements */
table,
th,
td {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ------------------------------------------------------------ Form Elements */
input,
select,
textarea {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 0;
}

button:hover {
    cursor: pointer;
}

label {
    cursor: pointer;
}

::placeholder {
    color: #999;
}

*:focus {
    outline: none;
}

a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    color: #2f2f2f;
}

a:link,
a:visited {
    color: #2f2f2f;
    text-decoration: none;
}

a:hover,
a:hover img,
input[type="submit"]:hover {
    color: #2f2f2f;
    text-decoration: none;
}

input[type="text"],
select,
textarea {
    border: 1px solid #b5b5b5;
    border-radius: inherit;
    outline: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
    display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus {
    outline-offset: -2px;
}

button {
    background: none;
}

/* ------------------------------------------------------------ etc */
a,
fieldset,
img {
    border: 0;
}

ol li,
ul li {
    list-style-type: none;
}

/* ------------------------------------------------------------ img */
*:first-child + html img {
    vertical-align: bottom;
}

* html img {
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0;
    border: none;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
}

figure {
    margin: 0;
}

/* ------------------------------------------------------------ input */
input {
    vertical-align: middle;
    display: inline;
}

*:first-child + html input {
    vertical-align: middle;
}

* html input {
    vertical-align: middle;
}

input[type="submit"] {
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------ select */
select {
    vertical-align: middle;
}

*:first-child + html select {
    vertical-align: middle;
}

* html select {
    vertical-align: middle;
}

/* -----------------------------------
clear Fix 
-------------------------------------- */
.cfx:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.cfx {
    min-height: 0px;
}

* html .cfx {
    height: 0px;
}

/* -----------------------------------
携帯の文字の大きさを自動調整する機能を無効化
-------------------------------------- */
@media screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

/* ------------------------------
animationを無効に設定している人向け
--------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
