@charset "utf-8";

/* 共通部分の設定ここから
--------------------------------------*/
* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
}

body {
  font-family: "Cardo", serif;
  line-height: 1.7;
  color: #000;
}

a {
  text-decoration: none;
  cursor: pointer;
}

img {
  max-width: 100%;
}
/* 共通部分の設定ここまで */

/* headerの設定ここまで
-----------------------------------------------*/
.logo {
  width: 172px;
}

.nav {
  display: flex;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
}

.main-nav {
  list-style: none;
}

.main-nav li {
  list-style: none;
}

.main-nav a {
  color: #000;
  padding: 2px 10px 2px 70px;
}

.main-nav a:hover {
  background-color: #aaa;
  color: #fff;
}

.main-nav ul li:nth-child(2) a {
  padding: 2px 64px 2px 70px;
}

nav button {
  display: none;
}

.wrapper {
  max-width: 70vw;
  margin: 0 auto;
  margin-left: 20em;
  margin-top: 40px;
}

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  z-index: 2000;
  width: 19em;
  height: 100%;
  background-color: #fff;
}

.header-innner {
  position: absolute;
  top: 40px;
  left: 40px;
  padding: 0;
  margin: 0;
}

/* headerの設定ここまで */

/* mainの設定ここから
--------------------------------------------------*/
main {
  width: 100%;
  height: 100%;
}

#vegas {
  width: calc(100% - 350px);
  height: calc(100vh - 72px);
  padding-right: 40px;
  margin-top: 40px;
}

/* mainの設定ここまで */

/* home contentsの設定ここから
--------------------------------------------------*/
.img-area {
  position: relative;
}

.img-area img {
  width: 100%;
  margin-bottom: 10px;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

#slide ul,
#slide2 ul {
  list-style: none;
  position: relative;
}

#slide li,
#slide2 li {
  position: absolute;
  width: 100%;
}

.start p {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
}

.start {
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9000;
}

/* home contentsの設定ここまで */

/* photo contentsの設定ここから
--------------------------------------------------*/
.all-photo,
.color,
.mono-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 28px;
}

.all-photo img:hover {
  opacity: 0.7;
}

.mono-photo img:hover {
  opacity: 0.7;
}

.words-head {
  position: relative;
}

.words {
  position: absolute;
  color: #fff;
  font-size: 1.5em;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

/* 画像を大きく表示する設定
------------------------------------*/

/* 半透明部分 ---------------*/
#bg {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  z-index: 9998;
}

/* 拡大部分 -----------------------*/
#photo {
  position: fixed;
  top: 12%;
  left: 18em;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 60%;
  z-index: 9999;
}

/* photo contentsの設定ここまで */

/* footerの設定ここから
--------------------------------------------------*/
footer {
  position: fixed;
  bottom: 28px;
  left: 50px;
  font-size: 0.7rem;
  z-index: 3000;
  color: #aaa;
}

footer p {
  letter-spacing: 0.5px;
}

/* footerの設定ここまで */

/* 上部へ戻るボタンの設定ここから */
#page-top {
  display: none;
  position: fixed;
  bottom: 55px;
  left: 40px;
  z-index: 9999;
}
#page-top a {
  display: block;
  background-color: #ccc;
  text-align: center;
  color: #222;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 10px;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}
#page-top a:hover {
  display: block;
  background-color: #aaa;
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 10px;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}
/* 上部へ戻るボタンの設定ここまで */

/* exhibition設定ここから */
.article {
  margin-bottom: 1rem;
}

.article a {
  color: #999;
}

.article a:hover {
  color: #000;
}

.article-title {
  margin-bottom: 20px;
}

/* exhibition設定ここまで */

/* モバイル版
--------------------------------------------------*/
@media (max-width: 600px) {
  /* headerの設定 */

  .wrapper {
    max-width: 90vw;
    margin: 0 auto;
  }

  .page-header {
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0);
  }

  .header-innner {
    position: relative;
    left: 0;
    top: 21px;
    padding: 0;
  }

  .header-innner h1 {
    text-align: center;
  }

  .main-nav {
    flex-direction: column;
    font-size: 0.8rem;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0;
    position: fixed;
    left: -80%;
    text-align: left;
    padding: 50px 30px 0;
    transition: 0.5s;
    z-index: 9;
  }

  .main-nav a {
    padding: 2px 10px;
  }

  .main-nav ul li:nth-child(2) a {
    padding: 2px 10px;
  }

  .main-nav.open {
    left: 0;
  }

  .main-nav p {
    padding-bottom: 10px;
  }

  .btn-line.open {
    background-color: transparent; /* 真ん中の線を透明に */
  }

  .btn-line.open::before,
  .btn-line.open::after {
    content: "";
    transition: 0.3s;
  }

  .btn-line.open::before {
    top: 0px;
    transform: rotate(45deg); /* 上の線を傾ける */
  }

  .btn-line.open::after {
    top: 0px;
    transform: rotate(-45deg); /* 下の線を傾ける */
  }

  .btn {
    position: fixed;
    top: 25px;
    width: 30px;
    height: 30px;
    z-index: 10;
  }

  .btn-line {
    display: block;
    position: relative; /* バーガー線の位置基準として設定 */
    width: 100%; /* 線の長さと高さ */
    height: 2px;
    background-color: #aaa; /* バーガー線の色 */
    transition: 0.2s;
  }

  .btn-line::before,
  .btn-line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #aaa;
    transition: 0.5s;
  }

  .btn-line::before {
    /* 上の線の位置 */
    top: -10px;
    left: 0px;
  }

  .btn-line::after {
    /* 下の線の位置 */
    top: 10px;
    left: 0px;
  }

  .main-nav li {
    margin: 0;
    border-bottom: 0.3px solid #aaa;
    padding: 20px 0;
  }

  .main-nav a {
    color: #000;
  }

  .page-header {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .logo {
    width: 150px;
  }

  .start p,
  .start {
    display: none;
  }

  /* homeの設定 */
  .home-contents {
    margin-top: 26px;
  }

  .sp {
    display: block;
  }

  .img-area img {
    width: 100%;
    margin: 0;
  }

  #vegas {
    width: 100%;
    height: 70vh;
    padding-right: 0px;
    margin-top: 28px;
    margin-bottom: 20px;
  }

  .sp .vegas-slide-inner {
    background-size: contain;
  }

  /* photographyの設定 */
  .photo-contents {
    margin-top: 26px;
  }

  .all-photo,
  .color,
  .mono-photo {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  #photo {
    position: fixed;
    top: 30%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
  }

  .all-photo img:hover {
    opacity: 0.7;
  }

  .mono-photo img:hover {
    opacity: 0.7;
  }

  .words {
    font-size: 1em;
  }

  /* footerの設定 */
  footer {
    position: relative;
    left: 0;
    bottom: 5px;
    text-align: center;
    margin-top: 20px;
    font-size: 0.55rem;
  }

  .container {
    display: flex;
    flex-direction: column;
  }

  /* exhibition設定 */
  .article p {
    font-size: 0.8rem;
  }

  /* 上部へ戻るボタンの設定ここから */
  #page-top {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 20px;
    z-index: 9999;
  }
  #page-top a {
    display: block;
    background-color: #ccc;
    text-align: center;
    color: #222;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
  }
  #page-top a:hover {
    display: block;
    background-color: #aaa;
    text-align: center;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
  }
  /* 上部へ戻るボタンの設定ここまで */

  /* モバイル版ここまで------------------*/
}
