@import url("http://fonts.googleapis.com/css?family=Fjalla+One");
html,
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    background: url("../images/bg001.png") no-repeat center top;
    background-size: cover;
    overflow-y: scroll; 
  overflow-x: hidden; 
}

a img:hover {
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

.page {
    margin: 0 auto;
    width: 90%;
    /*    background-color: #fff333;*/
    padding: 0px;
}

ul {
    margin: 25px auto;
    padding: 0;
    list-style: none;
}

#list {
    margin: 0 auto;
    /*    border: 1px solid #000;*/
    padding: 8px 8px 0;
    width: 916px;
    /*    background-color: yellow;*/
}

ul {
    margin-right: -8px;
    overflow: hidden;
}

li {
    float: left;
    margin: 0 8px 8px 0;
    padding-bottom:8px;
    width: 300px;
    height: 370px;
    background-color: yellow;
}

#list p {
    margin: 1px;
}

#profile {
    margin: 0 auto;
    /*    border: 1px solid #000;*/
    padding: 16px;
    width: 916px;
    background-color: #fff;
    text-align: center;
}

.prof{
    width: 50%;
}

h2{
    font-weight: bold;
    font-size:24px;
    margin-bottom: 5px;
    color:yellow;
}

h3{
    font-weight: bold;
    font-size:16px;
    margin-top:0px;
}

.logo {
    width: 100%;
}

.name-jp {
    font-size: 12px;
    padding-left: 6px;
}

.name-en {
    font-size: 16px;
    padding-left: 6px;
}

.katagaki {
    font-size: 8px;
    padding-left: 6px;
}

#photos:hover {
    filter: alpha(opacity=25);
    -moz-opacity: 0.25;
    opacity: 0.25;
}

.contents {
    text-align: left;
    margin: 10px;
}

.contents p{
    font-size:14px;
}

/*footer*/
.footerFloatingMenu {
    width:100%;
    display: block;
    position: fixed;
    bottom: 60px;
    z-index: 9999;
    text-align: center;
    margin: 0 auto;
}
.footerFloatingMenu img {
    max-width: 99%;
}
.fixed-share-buttons{
    width:100%;
    text-align: center;
    position:fixed; /* 表示位置を固定 */
    bottom:12px; /* 画面下からの距離 */
    z-index: 100; /* 他の要素より前面に表示 */
}
.fixed-share-buttons a {
    position: relative;
    display: inline-block; /* 横並び */
    width: 30px; /* 横幅 */
    text-align: center; /* ロゴの中央寄せ（縦） */
    text-decoration: none; /* ロゴに表示されてしまう下線を消す */
    padding: 0;
    margin: 10px 15px;
    opacity:0.8; /* ボタンの半透明化 */
}
#button{
    position: relative;
    width:50%;
    margin:0 auto;
}
#photos {
    display: none;
    text-decoration: none;
    position: fixed;
    top: 80%;
    right: 30%;
    overflow: hidden;
    border: none;
    font-size: 0;
    background: url("../images/photos.png") no-repeat center top;
    z-index: 999;
    width: 600px;
    height: 52px;
    opacity: 1;
    filter: alpha(opacity=50);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}




/*Photos page*/

.wrapper {
    height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
}

.wrapper-text {
    /*    height: 100%;*/
    background: scroll 50% no-repeat;
    background-size: cover;
    position: relative;
}

.wrapper-text .text-center p {
    width: 70%;
    /*    border: 1px solid #FF0000;*/
    margin: 0 auto;
}

.top-typo {
    width:100%;
    height:100%;
    position: relative;
    text-align: center;
    margin: 0 auto;
}

.top-typo p {
    position: absolute;
  top: 50%;
  left: 50%;
  transform : translate(-50%,-50%);
    text-align: center;
}


.caption {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.1em;
    display: table;
}

.caption span {
    display: table-cell;
    width: 100%;
    text-align: left;
    vertical-align: middle;
}

.credit {
    text-align: center;
    font-size: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.credit-prof {
    text-align: center;
    font-size: 8px;
    margin-top: 10px;
    margin-bottom: 135px;
}

.first {
    background-image: url('../images/first.jpg');
}

.second {
    background-image: url('../images/second.jpg');

}

.third {
    background-image: url('../images/third.jpg');
}

.fourth {
    background-image: url('../images/fourth.jpg');
}

.fifth {
    background-image: url('../images/fifth.jpg');
}
@media screen and (max-width:768px) {
body:before{
  background:url('../images/bg001.png') no-repeat center top;
  background-size: cover;
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
} 
body{
    background:initial;
}
    #profile {
        width: 100%;
        margin:0 auto;
        padding: 8px 0px;
    }
    #list {
        width: 100%;
        padding: 0;
    }
    #list h1 img {
        width: 100%;
        height: auto;
    }
    #list ul {
        margin: 25px auto;
    }
    #list ul li {
        float: none;
        width: 85%;
        height: auto;
        margin: 8px auto;
    }
    #list ul li img {
        width: 100%;
    }
.footerFloatingMenu {
    width: 100%;
    bottom: 55px;
}
.fixed-share-buttons{
    bottom:8px; /* 画面下からの距離 */
}
.fixed-share-buttons a {
    width: 30px; /* 横幅 */
    margin: 10px 15px;
}
.prof {
    width: 70%;
}
.credit {
    margin-bottom: 100px;
}
.credit-prof {
    margin-bottom: 100px;
}
.top-typo p {
 width:100%;
}
.top-typo p img{
    width: 75%;
}
.second {
    width:100%;
    background: url('../images/second-sp.jpg') no-repeat center top !important;
}
.third {
    width:100%;
    background: url('../images/third-sp.jpg') no-repeat center top !important;
}
.fourth {
    width:100%;
    background: url('../images/fourth-sp.jpg') no-repeat center top !important;
}
.fifth {
    width:100%;
    background: url('../images/fifth-sp.jpg') no-repeat center top !important;
}
}