@charset "UTF-8";
body {
    padding: 0px;
    margin: 0px;
    color: #FFFFFF;
    width: 100vw;
    height: 100%;
    background-image: url(img/background.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    background-attachment: fixed;
}
a {
    text-decoration: none;
    color: rgba(255,255,255,1.00);
}
p {
    margin: 2px;
}
section{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

#crest {
    background-image: url(img/crest.png);
    background-repeat: no-repeat;
    width: 100vw;
    background-position: 50% 50%;
    background-size: 35% auto;
    background-attachment: fixed;
    height: 100vh;
}
#toppage {
    width: 100vw;
    height: 100vh;
    text-align: center;
    position: absolute;
}
#toppage .logo {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#toppage .slogan {
    width: 30%;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#nav   {
    width: 15%;
    text-align: left;
    margin-left: auto;
    position: fixed;
    right: 5%;
    top: 15%;
    z-index: 2;
}
#nav div {
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 10px;
}
#nav .menu {
    border-bottom: 1px solid #FFFFFF;
    cursor: pointer;
}
#nav .active,.menu:hover {
    text-align: right;
    border-bottom-color: #D5B60E;
    color: #D5B60E;
}
#nav .language {
    text-align: right;
    margin-top: 25px;
    display: none;
}
#nav .language .jpn {
    color: #D5B60E;
}
#nav .language .eng {
    color: #FFFFFF;
    text-decoration: none;
}
#section-1  {
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    height: 0px;
    position: absolute;
    bottom: 0;
    overflow-y: hidden;
}
#section-1 .info  {
    margin-bottom: 25px;
    font-weight: bold;
    margin-top: 5px;
    font-size: 16px;
}
#section-2  {
    height: 0px;
    position: absolute;
    bottom: 0px;
    overflow-y: hidden;
}
#section-2 p {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}
#section-2 p:last-child {
    text-align: center;
    margin-top: 30px;
}
#section-3 {
    overflow-y: hidden;
    position: absolute;
    bottom: 0px;
    height: 0px;
}
#section-3 #myBtnContainer {
    padding-left: 15px;
    position: absolute;
    left: 15%;
}
#section-3 .btn  {
    border: none;
    outline: none;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 5px;
    cursor: pointer;
    color: #FFFFFF;
    background-color: transparent;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}
#section-3 .btn:hover {
    background-color: transparent;
    border-bottom: thin solid #FFFFFF;
}
#section-3 .btn.active {
    color: #FFFFFF;
    border: thin solid #FFFFFF;
}
.row  {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    height: 70vh;
    overflow-y: scroll;
}
.column  {
    display: none;
    margin-bottom: 30px;
    width: 40%;
    float: left;
    margin-left: 35px;
    margin-right: 35px;
}
.row:after  {
    content: "";
    display: table;
    clear: both;
}
.content  {
    position: relative;
}
.content img   {
}
.content div {
    border: 1px solid #FFFFFF;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    margin-top: -45px;
}
.content div p {
    padding-left: 10px;
    padding-bottom: 5px;
}
.show {
  display: block;
}
#section-4 {
    text-align: center;
    height: 0px;
    position: absolute;
    bottom: 0px;
    overflow-y: hidden;
}
#section-4 table {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
#section-4 table tr td {
    padding-bottom: 15px;
}
#section-4 table tr td:last-child  {
    padding-left: 30px;
}
#section-4 iframe {
}

@media (min-width:1024px) and (max-width:1279px){
#crest {
    background-size: 50% auto;
}
#toppage .logo {
    width: 65%;
}
#toppage .slogan {
    width: 40%;
}
#nav   {
    top: 10%;
}
#section-1 div {
    position: relative;
    top: 60px;
}
#section-2 p {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 60px;
}
#section-3 #myBtnContainer {
    padding-left: 15px;
    position: absolute;
    left: 10%;
}
.row {
    width: 50%;
    height: 60vh;
    position: relative;
    top: 60px;
}
.column {
    margin-bottom: 30px;
    margin-left: 25px;
    margin-right: 25px;
}
}

@media (min-width:744px) and (max-width:1023px){
#crest {
    background-size: 60% auto;
}
#toppage .logo {
    width: 75%;
}
#toppage .slogan {
    width: 50%;
    top: 60%;
}
#nav   {
    top: 5%;
}
#section-1 div {
    position: relative;
    top: 50px;
}
#section-2 p {
    width: 55%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 50px;
}
#section-3 #myBtnContainer {
    padding-left: 15px;
    position: absolute;
    left: 5%;
}
.row {
    width: 60%;
    height: 50vh;
    position: relative;
    top: 50px;
}
.column {
    margin-bottom: 30px;
    width: 40%;
    margin-left: 20px;
    margin-right: 20px;
}
}

@media (max-width:743px){
section{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
#crest {
    background-size: 60% auto;
}
#toppage .logo {
    width: 75%;
}
#toppage .slogan {
    width: 50%;
    top: 60%;
}
#nav   {
    width: 100%;
    text-align: center;
    margin-left: 0px;
    position: fixed;
    right: 0%;
    top: 7%;
    z-index: 2;
}
#nav div {
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 10px;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}
#section-1 div {
    position: relative;
    height: 55%;
    overflow-y: scroll;
    top: 75px;
}
#section-1 .info {
    margin-bottom: 15px;
    font-weight: bold;
    margin-top: 3px;
    font-size: 16px;
}
#section-2 div {
    height: 55%;
    position: relative;
    top: 100px;
    overflow-y: scroll;
}

#section-2 p {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}
#section-2 p:last-child {
    text-align: right;
    margin-top: 0px;
}
#section-3 #myBtnContainer {
    padding-left: 0px;
    position: absolute;
    left: 0%;
    width: 100%;
    bottom: 0px;
    text-align: center;
    top: auto;
}
#section-3 .btn  {
    border: none;
    outline: none;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 5px;
    cursor: pointer;
    color: #FFFFFF;
    background-color: transparent;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}
.row {
    width: 90%;
    height: 50vh;
    position: relative;
    top: 50px;
}
.column {
    margin-bottom: 30px;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    top: auto;
}
#section-4 table  {
    position: relative;
    top: 100px;
}
#section-4 iframe {
    display: none;
}

}
