@charset "utf-8";

/* CSS Document */

*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    color: #444;
    background: #FFF;
    -webkit-font-feature-settings: 'palt';
    font-feature-settings: 'palt';
}

body {
    -webkit-font-feature-settings: 'palt';
    font-feature-settings: 'palt';
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
figure {
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    *font-size: small;
    *font: x-small;
    font-family: 'Kosugi Maru', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
    width: 100%;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

li {
    list-style: none;
    background-repeat: no-repeat;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

input,
textarea,
select {
    *font-size: 100%;
}

legend {
    color: #000;
}

html {
    overflow-y: scroll;
}

div:after {
    content: "";
    display: block;
    clear: both;
}

div {
    display: block;
}

img,
object {
    vertical-align: bottom;
    width: 100%;
}

hr {
    display: none;
}

a {
    outline: none;
    text-decoration: none;
}

h1 {
    position: absolute;
    top: 0px;
    left: 120px;
    font-size: 12px;
}

* {
    box-sizing: border-box;
}

.jp {
    font-family: kosugi maru, sans-serif;
}

.th {
    font-family: 'Bai Jamjuree', sans-serif;
}

.en {
    font-family: Roboto;
    text-align: justify;
    text-justify: inter-ideograph;
}

.zh {
    font-family: 'Noto Sans TC', sans-serif;
    text-align: justify;
    text-justify: inter-ideograph;
}


/* ローディング画面 */

#loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #0bd;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200000;
}

.sk-folding-cube {
    margin: 250px auto 20px;
    width: 40px;
    height: 40px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

#loading p {
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.1rem;
}

.sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
    animation: sk-foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.sk-folding-cube .sk-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
    transform: scale(1.1) rotateZ(90deg);
}

.sk-folding-cube .sk-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
    transform: scale(1.1) rotateZ(180deg);
}

.sk-folding-cube .sk-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
    transform: scale(1.1) rotateZ(270deg);
}

.sk-folding-cube .sk-cube2:before {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-folding-cube .sk-cube3:before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.sk-folding-cube .sk-cube4:before {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

@-webkit-keyframes sk-foldCubeAngle {
    0%,
    10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes sk-foldCubeAngle {
    0%,
    10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

.loaded {
    opacity: 0;
    visibility: hidden;
    font-family: Roboto;
}

@media only screen and (max-width:980px) {
    body {
        padding-top: 0px;
        font-size: 1.0rem;
    }
    .bread_box {
        width: 95%;
        margin: 10px auto;
        z-index: 30;
    }
    .bread {
        font-size: 14px;
        font-size: 0.9rem;
        float: left;
    }
}

@media only screen and (max-width:680px) {
    body {
        padding-top: 0px;
    }
    .bread_box {
        width: 95%;
        margin: 5px auto;
        z-index: 30;
    }
    .bread {
        font-size: 14px;
        font-size: 1.1rem;
        float: left;
    }
}

@media only screen and (max-width:390px) {
    body {
        padding-top: 0px;
    }
}