@charset "utf-8";

/* ローディング用
____________________________________*/

#loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-text {
  font-size: 1.5rem;
  color: #999;
}

/* レイアウト
____________________________________*/

body {
  width: 100%;
  height: 100%;
  background: #F4F4F4;
}

#logo {
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: 'Poiret One', cursive;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  z-index: 9999;
  }

#box1 {
  background: #F4F4F4;
}

footer {
  background: #F4F4F4;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-block-start: 0em;
  margin-block-end: 0em;
}

h1 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate( -50%, -50%);
  text-align: center;
  margin: 150px 0 0 0;
  letter-spacing: 0.1em;
  font-family: 'M PLUS 2', sans-serif;
  color: #fff;
  font-size: 3.7rem;
  text-transform: uppercase;
  text-transform: capitalize;
  z-index: 0;
}

h1 span {
  display: block;
}

h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.07em;
  color: #333;
  padding: 20px 0 0 0;
  background: #FFF;
}

h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #3394FF;
  letter-spacing: 0.1rem;
  padding: 5px 0 20px 0;
  background: #FFF;
}

.comment {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  padding: 10px 0 10px 0;
  background: #FFF;
}

.detail-content {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: #222;
  padding: 5px 0 10px 0;
}

.title {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 0.5rem;
  line-height: 2.0;
}

.btn-works {
  display: inline-block;
  padding: 7px 40px;
  margin: 3px 0 0 0;
  border: 2px solid #fff;
  border-radius: 50px;
  font-family: 'M PLUS 2', sans-serif;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: capitalize;
  line-height: 50px;
  background-color: rgba(255, 255, 255, .3);
}

.btn-works:hover {
  color: #222;
  background-color: rgba(255, 255, 255, .9);
}

.btn-works-about {
  display: inline-block;
  letter-spacing: 0.1em;
  padding: 1em 2em;
  margin: 1em;
  width: 100%;
  max-width: 220px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 3px;
  border: 1px solid #1b1b1b;
  background: #1b1b1b;
}

.btn-works-about:hover {
  color: #222;
  border: 1px solid #1B1B1B;
  background: #fff;
}

.color-w {
  color: #FFF;
}

.color-b {
  color: #222;
  text-align: start;
  line-height: 150%;
}

main {
  position: relative;
  z-index: 2;
  margin-bottom: 350px;
}

.box {
  color: #fff;
  padding: 40px 20px 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.box-gallery {
  padding: 40px 20px 40px 20px;
  align-items: center;
  text-align: center;
}

.item1 {
  grid-area: item1;
}

.item2 {
  grid-area: item2;
  padding: 50px 5px;
}

.card-list {
  display: block;
  margin: 1rem auto;
  padding: 0;
  font-size: 0;
  text-align: center;
  list-style: none;
}

.muuri {
  display: flex;
  flex-wrap: wrap;              /* 複数行に折り返し可 */
  justify-content: center;      /* 横方向中央寄せ */
  width: 100%;
  margin: 0 auto;
  max-width: 970px;
  padding: 10px;                /* オプション：間隔調整 */
  box-sizing: border-box;       /* パディングが幅に含まれるように */
}

.card {
  width: 100%;
  max-width: 29rem;
  margin: 10px;
  text-decoration: none;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0.2em 2rem -1rem rgba(0, 0, 0, 0.5);
}

@media screen and (min-width:1536px) {
    /*　画面サイズが1536pxからはここを読み込む　*/
     .muuri {
        width: 95%;
        max-width: 100%;
        /*　background-color: aqua;　*/
    }
     .card {
        max-width: 28rem;
    }
}

.card:hover {
  transform: translateY(-0.5rem) scale(1.0125);
  border-radius: 10px;
  box-shadow: 0 0.5em 3rem -1rem rgba(0, 0, 0, 0.5);
}
.card-description {
  display: block;
  padding: 0;
  color: #515151;
  text-decoration: none;
}

.btn-works-newwindow {
  position: relative;
  top: 100px;
  left: 0px;
  display: inline-block;
  letter-spacing: 0.1em;
  padding: 1em 2em;
  margin: 1em;
  width: 100%;
  max-width: 350px;
  text-align: center;
  text-decoration: none;
  color: #222;
  border-radius: 3px;
  border: 1px solid #1b1b1b;
  background: #fff;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.btn-works-newwindow:hover {
  color: #fff;
  border: 1px solid #fff;
  background: #222;
}

/* Material Icons */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  padding: 5px 0 0 5px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


.saisei {
  position: relative;
}
.saisei img.imagup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: rgba(255, 255, 255, 0.6);
}
.imagup {
  width: 90px !important;
  height: auto;
  opacity: 0.6;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 350px;
}


/* topへ戻る
____________________________________*/

#page-top {
  position: absolute;
  right: 20px;
  bottom: 10%;
  z-index: 99;
}

#page-top img {
  width: 50px;
}

#page-top li {
  margin: 0 0 15px 0;
}


/* 横幅が768px以下になった際の指定 */

@media only screen and (max-width: 768px) {

  /* page-top
        ____________________________________*/
  #page-top {
    left: 10%;
  }
}

/* 初期状態は透明 */
img.fadein {
  opacity: 0;
  transition: opacity 1s ease-in;
}

/* 読み込み後に追加されるクラス */
img.fadein.loaded {
  opacity: 1;
}
