html,body{
  margin: 0;
  padding: 0;
}

body{
    line-height: 130%;
  background-color: white;
  background-repeat: repeat;
    font-family: "はれのそら明朝", "源ノ明朝 JP", "AR P明朝体L", serif;
    color: #444;
}

a{
    text-decoration: none;
    color: #444;
}

.backwhite{
    width: 70%;
    margin: 30px auto 0 auto;
    background-color: white;
}

.logo{
    width: 160px;
}

.flexbox{
  display: flex;
  background-color: transparent;
  font-family: "はれのそら明朝", "源ノ明朝 JP", "游明朝", serif;
}

.box1{
    flex-basis: 60%;
  background-color: transparent;
  min-height: 40px;
    text-align: left;
}

.box2{
  flex-basis: 12%;
  background-color: transparent;
  min-height: 40px;
    text-align: right;
}

.box3{
  flex-basis: 10%;
  background-color: transparent;
  min-height: 40px;
    text-align: right;
}

.box4{
  flex-basis: 8%;
  background-color: transparent;
  min-height: 40px;
    text-align: right;
}

.flexbase{
  align-items: baseline;
}

/* マウスオーバー */

.box1 .button{
  display: inline-block;
  width: auto;
  height: 40px;
  text-align: left;
  text-decoration: none;
  line-height: 40px;
  outline: none;
  background-color: transparent;
}

.box2 .button, .box3 .button, .box4 .button{
  display: inline-block;
  width: auto;
  height: 40px;
  text-align: right;
  text-decoration: none;
  line-height: 40px;
  outline: none;
  background-color: transparent;
}

.button::before,
.button::after{
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}

.button,
.button::before,
.button::after{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button{
  background-color: transparent;
}

.box1 .button:hover{
    opacity: 0.75;
}

.box2 .button:hover{
  color: gray;
}

.box3 .button:hover{
    color: gray;
}

.box4 .button:hover{
    color: gray;
}

.choose{
    color: gray !important;
}

/* 写真 */

table{
    border-collapse: collapse;
}

td{   
    padding: 0;    
}

.photo0{
    margin: 12px 0 40px 0;
    background-color: black;
}

.photo{
    margin: 20px 0;
    background-color: black;
}

.photo0 img, .photo img{
    width: 100%;
    vertical-align: bottom;
}

.photo0 img:hover, .photo img:hover{
    transition: all .3s;
    opacity: 0.75;
}

.yohaku{
    width: 20px;
}

/* フッター */

.footer0{
    display: table;
    width: 100%;
}

.footer{
    display: table-cell;
    height: 50px;
    width: 100%;
    margin-bottom: 0;
 background-color: black;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-size: x-small;
}

.footerbottom{
    position: absolute;
    bottom: 0;
}

/* トップへ戻るボタン */

.pagetopbox{
    position: relative;
    width: 70%;
    height: 40px;
    margin: 0 auto;
}

.ptbh{
    height: 25px;
}

.pagetop{
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 0;
    left: 100%;
}

.pagetop img{
    width: 100%;
}

.pagetop a{
    display: block;
    background-color: transparent;
}

.pagetop a:hover{
    display: block;
    background-color: transparent;
    text-decoration: none;
    opacity: 0.75;
    transition: 0.3s;
}
