@charset "UTF-8";

/*
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;
    font-weight: normal;
}
body {
    line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}
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;
    color: #2D5B89;
}
a:hover{
    color: #fd2d04;
}
/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#2D5B89;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#2D5B89;
    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;
}
/*Reset Stylesheet 終わり*/



body{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: #595959;
    background-color: #F4F5E1;
}
rt{
    font-size: 60%;
}
header{
    margin-top: 53px;
}
header #china p#text{
    position: absolute;
    top: 10%;
    left: 5%;
    color: rgba(6, 6, 80, 0.7);
    font-size: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 2px #efe0b5;
    letter-spacing: 0.2em;
}
header #china #title{
    font-size: 50px;
    color: rgba(6, 6, 80, 0.7);
    text-shadow: 5px 5px 5px #efe0b5;
    letter-spacing: 0.4em;
}
header #china #title:lang(zh){
    font-family: 'Zhi Mang Xing', cursive;
}
header #china #jpg768 img{
    width: 100%;
    height: auto;
}
header #china #jpg960 img{
    display: none;
}
header #china #jpg1920 img{
    display: none;
}
header #fannyss{
    position: relative;
    top: -30px;
    left: 3px;
    color: #fff;
}
header #fannyss a{
    color: #fff;
    text-decoration: none;
    font-size: 80%;
}
#navBtn{
    position: absolute;
    top: 14px;
    right: 12px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#navBtn p{
    position: relative;
}
#navBtn span{
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #2D5B89;
    transition: 0.2s;
}
#navBtn span:nth-child(1){
    top: 0;
    transform: rotate(30deg);
}
#navBtn span:nth-child(2){
    top: 11px;
    transform: rotate(30deg);
}
#navBtn span:nth-child(3){
    top: 22px;
    transform: rotate(30deg);
}
.page_nav{
    position: absolute;
}
.page_nav.sticky{
    position: fixed;
    top: 0;
}
#globalNav{
    position: absolute;
    top: -800px;
    left: 100%;
    transform: rotate(90deg);
    transform-origin: 0px 0px;
    background-color: rgba(79,162,246,0.4);
    text-align: center;
    transition: 0.4s;
}
#globalNav.open{
    position: fixed;
    top: 55px;
    left: 100%;
    transform: translate(0,0);
    z-index: 9999;
    transform: rotate(90deg);
    transform-origin: 0px 0px;
    width: 100vh;
}
#globalNav ul{
    position: relative;
    top: 0px;
    right: 0px;
    list-style-type: none;
    display: flex;
    flex-direction: row;
}
#globalNav ul li a{
    width: 100%;
    display: block;
    color: #2D5B89;
    font-size: 150%;
    padding: 18px 30px 18px 10px;
    box-sizing: border-box;
    text-decoration: none;
    border-left: 5px solid #2D5B89;
    border-left-style: double;
}
#globalNav ul li a:lang(en){
    font-family: 'Rozha One', serif;
}
#globalNav ul li a:hover{
    color: #fd2d04;
}
#navBtn.open{
    position: fixed;
}
#navBtn.open span:nth-child(1){
    top: 11px;
    transform: rotate(45deg);
    transform-origin: 50%;
}
#navBtn.open span:nth-child(2){
    width: 0;
    left: 50%;
}
#navBtn.open span:nth-child(3){
    top: 11px;
    transform: rotate(-45deg);
    transform-origin: 50%;
}
.toggle h2{
   display: inline-block;
    line-height: 2;
    margin-top: 30px;
   width: 98%;
   text-align: center;
  font-size: 130%;
  cursor: pointer;
  letter-spacing: 0.1em;
  position: relative;
  padding: 10px 5px;
  background-color: #f4f5e1;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}
.toggle h2:after {
  position: absolute;
 bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  background-image: -webkit-linear-gradient(315deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
  background-image: linear-gradient(135deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
}
.toggle h2:before {
  top: 0;
}
.toggle h2 span{
    display: inline-block;
    width: 95%;
    background-image: url("../images/icon_plus_white.png");
    background-repeat: no-repeat;
    background-position: right;
}
.toggle.close h2 span{
    display: inline-block;
    width: 95%;
    background-image: url("../images/icon_minus_white.png");
    background-repeat: no-repeat;
    background-position: right;
}
.toggle.close ul{
    display: inline-block;
}
#main #prologue{
    margin: 30px 0px;
    line-height: 2.0;
    font-size: 110%;
    background-color: rgba(244,245,225,0.8);
}
#main .figure{
    margin-top: 40px;
    max-height: 985px;
    max-width: 350px;
    float: left;
}
#main .figure ul li{
    list-style-type: none;
}
#main .figure .day{
    position: relative;
    top: -3px;
    left: -47px;
    padding-bottom: 8px;
    color: #000;
}
#main .figure .day:lang(en){
    font-family: 'Rozha One', serif;
}
#main .figure h4:lang(zh){
    font-size: 250%;
    writing-mode: vertical-rl;
    font-family: 'Zhi Mang Xing', cursive;
    padding: 8px;
    margin-top: 18px;
    margin-left: 15px;
    border-top: 5px solid #000;
    border-top-style: double;
    background-color: #fff;
    box-shadow: 0 0 0 0.1em #fff;
    color: #000;
    float: left;
}
#main .figure h4 ruby rt{
    font-size: 30%;
}
#main .figure figure img{
    margin-left: 12px;
    width: 260px;
    height: 312px;
}
#main .figure figcaption{
    line-height: 1.6;
    letter-spacing: 0.2;
    margin-top: 20px;
    margin-left:35px;
    padding: 5px;
    background-color: rgba(244,245,225,0.8);
}
#main #contact ul{
    margin-top: 20px;
    margin-left: 20px;
    list-style-type: none;
    font-size: 110%;
}
#main #contact ul li p{
    margin-bottom: 20px;
}
#main #contact ul li input[type="text"]{
    width: 25em;
    height: 1.5em;
    margin-top: 5px;
}
#main #contact ul li textarea{
    width: 25em;
    height: 5em;
    margin-top: 5px;
    vertical-align: top;
}
#main #contact ul li p input[type="submit"]{
    margin-left: 55px;
    background-color: rgba(79,162,246,0.6);
    border-left: 5px solid #2D5B89;
    border-right: none;
    border-top: none;
    border-bottom:none;
    border-left-style: double;
}
#main #contact ul li p input[type="reset"]{
    margin-left: 10px;
    background-color: rgba(79,162,246,0.6);
    border-left: 5px solid #2D5B89;
    border-right: none;
    border-top: none;
    border-bottom:none;
    border-left-style: double;
}
#main #contact ul li #iine_wrap{
    margin-left: 8px;
}
#gotop {
    position: fixed;
    left: 15px;
    top: -200px;
}
#gotop #nya{
    position: absolute;
    top: 35px;
    left: 40px;
    color: darkred;
    font-size: 60%;
    transform: rotate(30deg);
}
#gotop img{
    width: 50%;
    height: 50%;
}
footer{
    padding: 30px 10px;
}
footer #footernav dl{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 15px;
}
footer #footernav dt,footer #footernav dd,footer #link{
    width: 100%;
    margin-bottom: 5px;
    box-sizing: border-box;
    border-left: 5px solid #2D5B89;
    border-left-style: double;
}
footer #footernav a,footer #link a{
    padding: 5px;
    text-decoration: none;
    text-align: left;
}
footer #copy{
    margin-top: 20px;
    text-align: center;
}
/*@media screen700*/

@media screen and (min-width: 700px){

    header #china #jpg768 img{
        display: none;
    }
    header #china #jpg960 img{
        display: inline-block;
        width: 100%;
        height: auto;
    }
    #main .figure figure{
        height: 960px;
    }
    footer #footernav dd{
    width: 33%;
    padding-left: 0;
    }
}


/*@media screen955*/

@media screen and (min-width: 955px){
    #contents{
        width: 100%;
        background-image: url("../images/pic1.png");
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: top 0% right 0%;
    }
    #main{
        max-width: 1050px;
        margin-left: auto;
        margin-right: auto;
        font-size: 105%;
    }
    #navBtn{
        display: none;
    }
    #globalNav{
        position: relative;
        top: -20px;
        left: 0;
        transform: rotate(0deg);
    }
    #globalNav ul{
        width: 100%;
    }
    #globalNav ul li{
        width: 25%;
    }
    #globalNav ul li a{
        font-size: 160%;
    }
    #globalNav ul li a:hover{
        color: #fd2d04;
    }
    header{
        margin-top: 0;
    }
    header #china #jpg768 img{
        display: none;
    }
    header #china #jpg960 img{
        display: none;
    }
    header #china #jpg1920 img{
        display: inline-block;
        width: 100%;
        height: auto;
    }
    header #china p#text{
        position: absolute;
        top: 20%;
        left: 33%;
        font-size: 150%;
        line-height: 1.2;
        color: rgba(17,36,55,0.9);
        text-shadow: 2px 2px 2px #efe0b5;
        letter-spacing: 0.5em;
    }
    header #china #title{
        font-size:320%;
        color: rgba(17,36,55,0.9);
        text-shadow: 5px 5px 5px #efe0b5;
        letter-spacing: 0.5em;
    }
    header #happynewyear{
    position: absolute;
    top: 35%;
    left: 30%;
    }
    #main #prologue{
        position: relative;
        top: 20px;
        text-align: center;
        line-height: 2.0;
        font-size: 130%;
    }
　　.toggle h2{
        display: inline-block;
        width: 100%;
        font-size: 130%;
        text-align: center;
    }
    .toggle.close ul{
        display: inline-block;
    }
    .toggle.close h2{
        display: inline-block;
        width: 100%;
        font-size: 150%;
        text-align: center;
    }
   .toggle h2 span{
    display: inline-block;
    width: 95%;
    background-image: url("../images/icon_minus_white.png");
    background-repeat: no-repeat;
    background-position: right;
    }
    .toggle.close h2 span{
    display: inline-block;
    width: 95%;
    background-image: url("../images/icon_plus_white.png");
    background-repeat: no-repeat;
    background-position: right;
    }
    #main .figure{
        float: none;
        max-height: 380px;
        max-width: 100%;
    }
    #main .figure h4:lang(zh){
        margin-top: 28px;
    }
    #main .figure .day{
        position: relative;
        top: 5px;
    }
    #main .figure figure img{
        width:28%;
        height: auto;
    }
    #main .figure figcaption{
        float: right;
        margin-top: 0;
        margin-left: 5px;
        width: 58%;
    }
    #main #contact ul{
        width: 50%;
        margin-top: 20px;
        margin-left: 100px;
        font-size: 100%;
    }
    #main #contact ul li p input[type="text"]{

    }
    #main #contact ul li p input[type="submit"]{
        font-size: 90%;
    }
    #main #contact ul li p input[type="reset"]{
        font-size: 90%;
    }
    #gotop img{
        width: 70%;
        height: 70%;
    }
    #gotop #nya{
        position: absolute;
        top: 50px;
        left: 80px;
        font-size: 90%;
    }
    footer{
        max-width: 1050px;
        margin-left: auto;
        margin-right: auto;
    }
    footer #footernav a,footer #link a{
        font-size: 130%;
        text-align: center;
    }
    footer #footernav a:hover,footer #link a:hover{
    color: #fd2d04;
    }

}