@charset "utf-8";

/**************************************************/
/*                                                */
/*                  ベーススタイル　              */
/*                                                */
/**************************************************/

html {
  font-size: 62.5%;
  height: 100%;
  width: 100%;
}

body {
  color: #555;
  font-size: 1.6em;
  font-family:'Noto Sans JP', sans-serif;
}

input,
select,
textarea {
  font-family:"ヒラギノ角ゴ Pro W3","HiraKakuPro-W3","游ゴシック Medium","Yu Gothic Medium","游ゴシック体",YuGothic,sans-serif;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #555;
  transition: 0.2s linear;
}

a:hover {
  color: #;
}


/**************************************************/
/*                                                */
/*                  ユーティリティ                */
/*                                                */
/**************************************************/

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.bold {
  font-weight: bold;
}

.font-oswald {
  font-family: 'Oswald', sans-serif;
}

.font-robot {
  font-family: 'Roboto', sans-serif;
}

.font-teko {
  font-family: 'Teko', sans-serif;
}

.vertical {
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
}

/**************************************************/
/*                                                */
/*            　 レイアウト（骨組み）　　         */
/*                                                */
/**************************************************/

#wrapper {
  width: 100%; 
  min-height: 100vh;
  padding-bottom: 200px;
  position: relative;
  overflow: hidden;
}

.l-main {
  display: block; /* IE対策 */
}

/* ================================================
 * ヘッダー
 * ================================================*/

#top .header-ttl div.logo, .page .header-ttl h1.logo {
  display: none;
}

.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.logo a {
  color: #000;  
  font-weight: 500;
  letter-spacing: 0.01em;
}

.logo-txt {
  color: #777; 
  letter-spacing: 0.1em;
}

.header-nav {
  display: flex;
}

.lang-nav li a {
  color: #ccc;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.lang-nav li a:hover {
  color: #000;
}

/*-- ハンバーガー --*/
.hamburger-wrap {
  border: 1px solid #010101;
  background-color: rgba(255,255,255,0.6);
  cursor: pointer;
  position: fixed;
  z-index: 101;
}

.hamburger-wrap [class*=border]  {
  position: absolute;
  background: #000;
  transition: .4s all ease;
  transform-origin: center center;
}

.open-menu {
  display:none;
}

.l-header.opened .open-menu {
  position: fixed;
  width: 100vw;
  min-height: 100vh;
  top: 0;
  left: 0;
  display: block;
  opacity: 1;
  background: rgba(255,255,255,.95);
  z-index: 100;
}

.header-menu li a span {
  font-family: initial;
  vertical-align: middle;
  letter-spacing: initial;
  color: #666;
}

.open-menu .icon-nav,
.l-footer .icon-nav {
  display: flex;
}

/* ================================================
 * フッター
 * ================================================*/

.l-footer {
  border-top: 1px solid #000;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 153px;
  text-align: center;
}

.footer-ttl {
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #000;
  background-color: #fff;
  padding: 0 15px;
}

.footer-txt {
  letter-spacing: 0.06em;
  color: #777;
}

.footer-icon {
  display: block;
  margin: 15px 10px;
}

.l-footer .icon-nav {
  justify-content: center;
  align-items: center;
}


/*-- ページトップ --*/
#page-top {
  position: fixed;
  z-index: 99;
}

#page-top a {
  width: 55px;
  height: 55px;
  transition: 0.3s ease-out;
  position: relative;
  display: block;
}

#page-top a:before,
#page-top a:after {
  content: '';
  display: inline-block;
  width: 6px;
  background-color: #000;
}

#page-top a:before {
  height: 24px;
  transform: rotate(-45deg);
  position: absolute;
  top: -1.3px;
  left: 34px;
}

#page-top a:after {
  height: 55px;
}

/*-- コピーライト --*/
.l-footer small {
  font-size: 1.4rem;
  color: #777;
  text-align: center;
}

/* ================================================
 * トップページ
 * ================================================*/

.top-inner {
  position: relative;
}

#top .swiper-box {
  overflow: hidden;
  position: relative;
}

#top .swiper-pagination-bullet-active,
#favorite .swiper-pagination-bullet-active {
  background: #000;
}

#top .swiper-pagination {
  text-align: right;
}

.img-wrap {
  position: relative;
}

.img-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.top-ttl {
  color: #000;
  position: absolute;
  z-index: 99;
}

#top figure {
  display: table;
}

#top figcaption {
  display: table-caption;
  caption-side: bottom;
  letter-spacing: 0.06em;
}

/* ================================================
 * フェイバリット
 * ================================================*/

.favorite-inner {
  position: relative;
  margin: 0 auto;
}

#favorite .swiper-button-next,
#favorite .swiper-button-prev {
  color: #ccc;
}

#favorite .swiper-pagination {
  text-align: left;
}

#favorite .txt-box {
  position: absolute;
  width: 100%;
  left: 0;
  color: #fff;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

#favorite .swiper-slide-active .txt-box {
  animation: slideFromRightBox 1.0s ease 0s 1 normal;
}

@keyframes slideFromRightBox {
  0%, 65% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0px);
  }
}

.prof-like {
  margin-top: 2em;
}

/* ================================================
 * プロジェクト
 * ================================================*/

.project-ttl {
  position: relative;
  line-height: 1.4em;
}

/*-- 詳細 --*/

#projects-detail .page-ttl {
  color: #ccc;
}

#projects-detail .detail-ttl {
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
}

.detail-txt {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  line-height: 1.7em;
  text-align: justify;
}

#projects-detail .grad-btn {
  position: absolute;
  bottom: -30px;
  right: 0;
  z-index: 3;
  font-size: 2rem;
  padding-top: 10px;
  cursor: pointer;
}

#projects-detail .grad-btn:before {
  content: "＋";
  font-size: 1.4rem;
  margin-right: 5px;
}

#projects-detail .grad-btn:after {
  content: "read more";
}

#projects-detail .grad-btn span {
  font-size: 1.6rem;
  margin-right: 5px;
}

#projects-detail .grad-trigger {
  display: none;
}

#projects-detail .grad-trigger:checked + .grad-btn:before {
  content: "ー";
}

#projects-detail .grad-trigger:checked + .grad-btn:after {
  content: "close";
}

#projects-detail .grad-trigger:checked ~ .detail-txt-wrap {
  height: auto;
}

#projects-detail .grad-trigger:checked ~ .detail-txt-wrap::before {
  display: none;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pager a {
  display: block;
  color: #000;
  position: relative;
  font-size: 2rem;
}

.pager a:hover {
  opacity: .7;
}

.pager .next a,
.pager .prev a {
  width: 30px;
  height: 30px;
  color: #000;
}

.pager .next a:before {
  content: "";
  width: 18px;
  height: 18px;
  border-top: solid 5px #000;
  border-right: solid 5px #000;
  position: absolute;
  top: 8px;
  transform: rotate(45deg);
  left: 11px;
}
.pager .prev a:before {
  content: "";
  width: 18px;
  height: 18px;
  border-top: solid 5px #000;
  border-right: solid 5px #000;
  position: absolute;
  top: 8px;
  transform: rotate(-135deg);
  left: 2px;
}

.pager .next a:after,
.pager .prev a:after {
  content: "";
  width: 30px;
  border-bottom: solid 5px #000;
  position: absolute;
  bottom: 11px;
}

.pager .back {
  padding: 0 20px;
} 

/**************************************************/
/*                                                */
/*            　その他（共通の装飾） 　　         */
/*                                                */
/**************************************************/

.btn {
  background-color: #000;
  border: 2px solid #000;
  color: #fff;
  text-align: center;
  display: block;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-more {
  width: 240px;
  height: 50px;
  font-size: 3.4rem;
  letter-spacing: 0.06em;
  line-height: 46px;
}

.to-contact {
  text-align: center;
}

.to-contact p {
  font-size: 1.4rem;
  line-height: 1.3em;
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
  height: 0;
  padding:0;
}

.public-item.is-hidden {
  margin-bottom: 0;
}

.news-item.is-hidden {
  padding: 0;
}

.fit-img {
  position: relative;
  overflow: hidden;
}

#favorite .fit-img img,
#projects .fit-img img,
#top .fit-img img,
#projects-detail .fit-img img {
  object-fit: cover;
  font-family: "object-fit: cover;";
}

#publication .fit-img img,
#news .fit-img img {
  object-fit: contain;
  font-family: "object-fit: contain;";
}

.clearfix::after {
    content: " ";
    display: block;
    clear: both;
}

/* スクロールCSS */
.fade-in {
  opacity: 0;
  transition-duration: 700ms;
  transition-property: opacity, transform;
}

.fade-in-up {
  transform: translate(0, 100px);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}