@charset "utf-8";

/* ---------------------------------------
all elements add box-sizing border-box
------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* -----------------------------------
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,
figure,
figcaption,
main,
aside {
    margin: 0;
    padding: 0;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    word-break: break-all;
}
/* -----------------------------------
body default settings
-------------------------------------- */
body {
    background-color: #fff;
    font-size: 16px;
}
/* -----------------------------------
table elements 
-------------------------------------- */
table {
    font-size: 100%;
}
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;
}
a:link {
    color: #000;
    text-decoration: none;
}
a:visited {
    color: #000;
    text-decoration: none;
}
a:hover,
a:hover img,
input[type="submit"]:hover {
    color: #000;
    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;
}
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;
}
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;
}
button {
    background: none;
}
select {
    vertical-align: middle;
}

*:first-child + html select {
    vertical-align: middle;
}

* html select {
    vertical-align: middle;
}
/* -----------------------------------
img 
-------------------------------------- */
*:first-child + html img {
    vertical-align: bottom;
}
* html img {
    vertical-align: bottom;
}
img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    margin: 0;
    border: none;
    font-size: 0;
    line-height: 0;
}
/* -----------------------------------
clearfix 
-------------------------------------- */
.cfx:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.cfx {
    min-height: 0px;
}

* html .cfx {
    height: 0px;
}
/* -----------------------------------
other 
-------------------------------------- */
a,
fieldset,
img {
    border: 0;
}
ol li,
ul li {
    list-style: none;
}
.SP {
    display: none;
}
@media only screen and (max-width: 768px) {
    .PC {
        display: none;
    }
    .SP {
        display: block;
    }
}
br.PC,
br.SP {
    width: 0;
    height: 0;
    line-height: 0;
}
.isHidden {
    overflow: hidden;
}
.inner {
    width: 1100px;
    margin-right: auto;
    margin-left: auto;
}
@media only screen and (max-width: 768px) {
    .inner {
        width: 90%;
    }
}
/* ------------------------------------------
携帯の文字の大きさを自動調整する機能を無効化
--------------------------------------------- */
@media only screen and (max-width: 768px) {
    body {
        -webkit-text-size-adjust: none;
    }
}
/* ---------------------------------
animationを無効に設定している人向け
------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
