@charset "UTF-8";

/* 共通 */
#wrapper {
  width: 100%;
  height: 100vh;
  min-width: 1000px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* header */
#header {
  width: 100%;
  padding: 20px 12px 15vh;
}

#header header {
  text-align: left;
  display: flex;
  justify-content: space-between;
  line-height: 1;
  width: 100%;
  position: relative;
}

#header header h1 {
  width: 51%;
}

#header header nav {
  line-height: 1;
  margin-right: auto;
}

#header header nav ul {
  display: flex;
  align-items: center;
}

#header header nav ul li {
  margin-right: 0.6em;
}

#header header nav ul li:last-child {
  margin-right: 0
}

#header header #logo_jp {
  width: 1.2em;
  position: absolute;
  top: -1px;
  right: 0;
}


/* nav current */
nav ul li a {
  color: #999999 !important;
}

.work nav ul li:nth-child(1) a {
  color: #222222 !important;
}

.sort nav ul li:nth-child(1) a {
  color: #222222 !important;
}

.about nav ul li:nth-child(2) a {
  color: #222222 !important;
}

/* catch */
#catch {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 20px 12px 20px;
}

#catch h3 {
  width: 51%;
  line-height: 1.25;
}

#catch h3 a {
  color: #999999 !important;
}

#catch div {
  width: 49%;
  margin-left: auto;
  display: flex;
}

.about #catch {
  margin-top: 1.2em;
}

/* main */
main {
  animation: .5s fadeIn 1.75s forwards;
  -webkit-animation: .5s fadeIn 1.75s forwards;
  opacity: 0;
  width: 100%;
  padding: 0 12px;
  text-align: left;
}

/* category_list */
#category_list {
  column-count: 2;
  gap: 48px;
  text-align: left;
  line-height: 1.5;
}

#category_list li {
  font-size: 1em;
  text-transform: uppercase;
}

#category_list li a {
  color: #999999 !important;
}

#category_list li.current-cat a {
  color: #222222 !important;
}

/* work_list */

.work_list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* 各グリッドの間隔を固定 */
  padding: 0;
  margin: 0;
  list-style: none;
}

.work_list li {
  width: calc((100% - 24px) / 3);
  /* 3列：gap 12px × 2 = 24pxを引いた割合 */
  box-sizing: border-box;
  padding: 1em 0;
  border-top: 1px solid #B2B2B2;
}

/* 横2カラム分（66.66%） + gapを含めた調整 */
.work_list#ov_list li.large {
  width: calc((100% - 24px) * 2 / 3 + 12px);
}

/* pairedは通常の1カラム分なのでliと同じ */
.work_list#ov_list li.paired {
  width: calc((100% - 24px) / 3);
}

.work_list .slider {
  margin-bottom: 0.75em;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #dddddd;
}

.work_list::before {
  content: "";
  display: block;
  width: calc((100% - 24px) / 3);
  order: 1;
}

.work_list::after {
  content: "";
  display: block;
  width: calc((100% - 24px) / 3);
}

.work_list li figure {
  margin-bottom: 0.75em;
}

.work_list li video {
  margin-bottom: 0.75em;
  width: 100%;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-touch-callout: none;
  -moz-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}

.work_list li .caption {
  font-size: 0.7em;
  line-height: 1.25;
}

.work_list li a {
  display: block;
  height: fit-content;
}

.work_list li a picture {
  margin-bottom: 0.75em;
  display: block;
}

.work_list li a .slider picture {
  margin-bottom: 0;
  display: block;
}


/* detail */
#detail {
  text-align: left;
}

#detail #entry_header {
  padding: 20px 0 0;
  display: flex;
  align-items: flex-start;
  margin-top: 1.2em;
}

#detail #entry_header #title {
  font-size: 1em;
  line-height: 1.4;
  width: 51%;
}

#detail #entry_header #tag {
  font-size: 1em;
  line-height: 1.3;
}

#detail #entry_photo {
  margin-top: 1.5em;
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#detail #entry_photo .w100 {
  width: 100%;
  margin-bottom: 15px;
  padding: 0;
}

#detail #entry_photo .w65 {
  width: calc((100% - 12px) * 2 / 3 + 12px);
  margin-bottom: 15px;
}

#detail #entry_photo .w50 {
  width: calc((100% - 12px) / 2);
  margin-bottom: 15px;
}

#detail #entry_photo .w30 {
  width: calc((100% - 24px) / 3);
  margin-bottom: 15px;
}

#detail #entry_photo div:last-child {
  margin-bottom: 0;
}

#detail #entry_caption {
  margin-top: 1.5em;
  padding: 0 0 1em;
}

#detail #entry_caption p {
  line-height: 1.2;
  font-size: 0.9em;
}

#detail #entry_caption #visit {
  font-size: 1em;
  margin-top: 2em;
}

#detail #entry_caption #visit a {
  text-decoration: underline;
  color: #222222 !important;
}

/* pager */
#detail #pager {
  margin-top: 5em;
}

#detail #pager h5 {
  margin-bottom: 1em;
}

#detail #pager #pagenavi {
  display: flex;
  justify-content: space-between;
}

#detail #pager #pagenavi li a {
  text-decoration: underline;
  display: inline-block;
}

/* about */
#about {
  text-align: left;
  padding: 0 12px;
}

#about .flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 1em;
}

#about .left {
  width: 23.5%;
  display: flex;
  flex-direction: column;
}

#about .left h2 {
  font-size: 1em;
  margin-bottom: 1em;
}

#about .left #email {
  margin-top: 3em;
}

#about .left #email a {
  text-decoration: underline;
  color: #222222 !important;
}

#about .left #instagram {
  margin-top: 1em;
}

#about .left #instagram a {
  text-decoration: underline;
  color: #222222 !important;
}

#about .right {
  width: 49%;
}

#about .right #profile {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3em;
}

#about .right #profile .member {
  display: flex;
  flex-direction: column;
  width: 46%;
  ;
}

#about .right #profile .member p {
  font-size: 1em;
  text-align: justify;
  margin-bottom: 1em;
  width: 100%;
}

#about .right #profile .member p:last-child {
  margin-bottom: 0;
}

#about .right #profile .member p.en {
  text-align: left;
}

#about .right #profile #en {
  margin-top: 0.8em;
  line-height: 1.5;
  text-align: left;
}

#about .right #service {
  margin-top: 5em;
}

#about .right #service h3 {
  font-size: 1em;
}

#about .right #service ul {
  border-top: 1px solid #B2B2B2;
  font-size: 1em;
  margin: 0.9em 0;
}

#about .right #service li {
  margin: 0.9em 0;
  padding-bottom: 0.75em;
  border-bottom: 1px solid #B2B2B2;
}

#about .right #service li p {
  font-size: 1em;
  line-height: 1.65;
}

#about .right #service li p:first-child {
  margin-bottom: 0.5em;
}

/* contact */
#contact {
  text-align: left;
  padding: 0 12px;
  min-height: 70vh;
}

#contact h2 {
  font-size: 1em;
}

#contact #link {
  margin-top: 1em;
  font-size: 0.8em;
  line-height: 1.45;
}

#contact #link a {
  text-decoration: underline;
  color: #222222 !important;
}

/* policy */
#policy {
  text-align: justify;
  padding: 0 12px;
  width: 580px;
}

#policy h3 {
  font-size: 1em;
  margin-top: 2em;
  margin-bottom: 0.7em;
}

#policy p {
  font-size: 0.9em;
  margin-bottom: 0.5em;
}

#policy p a {
  text-decoration: underline;
}

/* notfound */
#notfound {
  text-align: left;
  padding: 0 12px;
  min-height: 50vh;
}

#notfound h2 {
  font-size: 1.2em;
  margin-bottom: 1em;
}

/* lazyload */
main img {
  opacity: 0;
}

main img.lazyloaded {
  -webkit-transition: opacity .5s;
  transition: opacity .5s;
  opacity: 1;
}

main video.lozad {
  opacity: 0;
}

main video.lozad[data-loaded="true"] {
  -webkit-transition: opacity .5s;
  transition: opacity .5s;
  opacity: 1;
}

/* footer */
#footer {
  margin-top: auto;
  width: 100%;
  padding: 6em 12px 15px;
  display: flex;
  justify-content: space-between;
}

#footer footer {
  text-align: left;
  display: flex;
  flex-direction: column;
}

#footer footer nav ul li {
  display: inline-block;
  margin-right: 0.6em;
}

#footer p {
  text-align: right;
}

/* wp_admin */
#wpadminbar .ab-empty-item,
#wpadminbar a.ab-item,
#wpadminbar>#wp-toolbar span.ab-label,
#wpadminbar>#wp-toolbar span.noticon {
  color: #f0f0f1 !important;
}


/* dark */
#dark.work nav ul li:nth-child(1) a {
  color: #F6F5F5 !important;
}

#dark #category_list li.current-cat a {
  color: #F6F5F5 !important;
}

#dark .work_list li {
  border-top: 1px solid #333333;
}

#dark #detail #entry_caption {
  color: #999999;
}

#dark #detail #entry_header {
  color: #999999;
}

#dark #detail #entry_caption #visit a {
  text-decoration: underline;
  color: #999999 !important;
}

#dark #detail #pager h5 {
  margin-bottom: 1em;
  color: #999999;
}


#dark #footer p {
  color: #999999;
}