@import url('https://fonts.googleapis.com/css?family=Kosugi|Saira+Condensed:wght@100|Noto+Sans+JP&display=swap');

/* 共通設定 */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-weight: normal;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  text-align: justify;
  word-break: break-all;
  line-height: 1.7;
  letter-spacing: 0.1em;
  background:  #e9dacb;
  font-size: 12px;
  color: #202020;
  /*ロード*/
  overflow-x: hidden;
  opacity: 1.0;
  -webkit-transition: 2s opacity;
  -moz-transition: 2s opacity;
  -ms-transition: 2s opacity;
  -o-transition: 2s opacity;
  transition: 2s opacity;
}

body.load-in {
  opacity: 0;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}

/* リンク */
a {
  transition: .8s color;
  text-decoration: none;
  color: #943c46;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  cursor:pointer;
}

footer a {
  font-weight: bold;
}

/* ホバー */
a:hover {
  color: #cfa946;
}

::selection
{
  background: #f5d789;
}
/* for Firefox */
::-moz-selection
{
  background: #f5d789;
}

/* メインコンテンツ */
main {
  margin: 5em auto 3em;
  width: 75%;
}

/*コンテンツ*/
section {
  padding: 0em 5em 1em 5em;
  text-align: justify;
  word-break: break-all;
}

article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #e9dacb;
  color: #943C46;
  margin:0 auto;
}

article ul {
  list-style-type: none;
}

article ul:last-of-type {
  margin-right: auto;
}

article ul li img {
  width: 100%;
  height auto;
}

.cap {
  position: absolute;
  transform: rotate(90deg);
  text-transform: left center;
  top:150;
}

/*フッター*/
footer {
  margin: 1em auto 2em;
  text-align: center;
}

/*先頭に戻る*/
#btop {
  position: fixed;
  right: 18px;
  bottom: 18px;
}
 
#btop svg {
  width: 30px;
  height: 30px;
}

/* スマホ端末（0px以上） */
@media screen and (min-width : 0px){
  article ul {
    flex-basis: 100%;
    padding: 2em 0;
  }
}

/* スマホ端末（414px以上） */
@media screen and (min-width : 414px){
  article ul {
    flex-basis: 100%;
    padding: 2em 2em;
  }
}

/* スマホ端末（701px以上） */
@media screen and (min-width : 701px){
  article ul {
    flex-basis: 50%;
    padding: 3em 3em;
  }
  article ul li img {
    display: block;
  }
}

/* デスクトップ（960px以上） */
@media screen and (min-width:960px) {
  article ul {
    flex-basis: 33.3%;
    padding: 3em 2em;
  }
}

/*画像リンクアニメーション*/
.view {
  width: auto;
  height: auto;
  float: left;
  border: 10px solid #fff;
  overflow: hidden;
  position: relative;
  text-align: center;
  -webkit-box-shadow: 1px 1px 2px #e6e6e6;
  -moz-box-shadow: 1px 1px 2px #e6e6e6;
  box-shadow: 1px 1px 2px #e6e6e6;
  cursor: default;
  background: #fff;
  -webkit-appearance: none;
  border-radius:10px;
}
.view .mask,.view .content {
  width: 100%;
  height:100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  display: table;
  -webkit-appearance: none;
}
.view img {
  display: block;
  position: relative;
  -webkit-appearance: none;
}
.view h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 17px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  margin: 10px 0 0 0;
  -webkit-appearance: none;
}
.view p {
  font-size: 1em;
  position: relative;
  color: #fff;
  padding: 1em;
  text-align: center;
  vertical-align:middle;
  display: table-cell;
  -webkit-appearance: none;
}
.view a.info {
  display: inline-block;
  text-decoration: none;
  padding: 0.5em 0.75em 0.65em;
  background-color: #943c46;
  color: #fff;
  text-transform: uppercase;
  -webkit-box-shadow: 0 0 1px #000;
  -moz-box-shadow: 0 0 1px #000;
  box-shadow: 0 0 1px #000;
  vertical-align:middle;
  -webkit-appearance: none;
}
.view a.info:hover {
  background-color: #000;
}

.view-tenth img {
  -webkit-transform: scaleY(1);
  -moz-transform: scaleY(1);
  -o-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
  -webkit-appearance: none;
}
.view-tenth .mask {
  background-color: #fff;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-appearance: none;
}
.view-tenth h2 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  background: transparent;
  margin: 1em;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  color: #333;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-appearance: none;
}
.view-tenth p {
  color: #333;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -webkit-appearance: none;
}
.view-tenth a.info {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -webkit-appearance: none;
}

.view-tenth:hover img {
  -webkit-transform: scale(10);
  -moz-transform: scale(10);
  -o-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-appearance: none;
}
.view-tenth:hover .mask {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
  -webkit-appearance: none;
}
.view-tenth:hover h2,.view-tenth:hover p,.view-tenth:hover a.info {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
  -webkit-appearance: none;
}
