@charset "UTF-8";

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:0%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

ul, li {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    text-decoration: none;
}
a:visited {
  color: inherit;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* resetここまで */


* {
	box-sizing: border-box;
}

*:before, *:after {
	box-sizing: inherit;
}

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

.wp-block-image {
  margin-bottom: 0;
}


/* body */
body, header, footer, p, h1, h2, h3, a, time {
  font-family: "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
}
body {
  display: flex;
  background-color: white;
}


/* header */

header .header-nav ul li a,
header .header-nav .bottom-right a,
.top-right {
  list-style: none;
  font-size: 5.5rem;
  font-weight: normal;
  line-height: 1.0;
  text-decoration: none;
}
header .header-nav ul li a:hover,
header .header-nav .top-right a:hover,
header .header-nav .bottom-right a:hover {
  transition: 0.1s;
  color: #ff6d48;
}
.top-left {
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 100;
}
.top-right {
  text-align: right;
  position: fixed;
  top: 10px;
  right: 15px;
  z-index: 100;
  cursor: pointer;
}
.top-right a,
.top-right ul li a {
  font-size: 5.5rem;
  font-weight: normal;
  text-align: right;
  margin-top: 20px;
}
.bottom-left {
  position: fixed;
  bottom: 10px;
  left: 15px;
  z-index: 100;
}
.bottom-right {
  position: fixed;
  bottom: 10px;
  right: 15px;
  z-index: 100;
}
.top-right,
.top-left,
.bottom-right,
.bottom-left {
  mix-blend-mode: difference;
}
.top-right a,
.top-left a,
.bottom-right a,
.bottom-left a {
  color: #fff;
}


/* 本文 */
p, h1, h2, h3, a, time {
  font-size: 1.5rem;
  color: #000000;
  line-height: 1.5;
}




/* TOPページ */

/* main */
main {
  flex: 1;
  max-width: 1280px;
  width: 96%;
  margin: 80px auto 20px auto;
  position: relative;
  display: block;
  z-index: 0;
}

/* フレックスアイテムのgap */
:root {
  --grid-gap: 10px; 
}
/* Gutenbergの2カラムのgap */
.wp-block-columns {
  gap: var(--grid-gap);
}

/* works-item */
.top-works {
  ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gap);
    li {
    width: calc((100% - var(--grid-gap)) / 2);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: #000 2px solid;
    .list-title-en {
      font-size: 1.8rem;
    }
    .list-title-ja {
      font-size: 1.4rem;
    }
    }
  }
}
.top-works ul li img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.top-works ul li:hover {
  background-color: #e2ccc6;
  transition: 0.2s ;
}


/* aboutページ */

#about {
  figure {
    height: 240px;
    display: flex;
    justify-content: flex-end;
    background-color: #e2ccc6;
    margin-bottom: 50px;
    img {
    width: auto;
    height: 100%;
    }
  }
  .profile {
    border-top: 1px solid #000;
    padding-top: 10px;
  }
  .note {
    margin: 30px 0 10px 0;
  }
  ul li {
    margin-bottom: 5px;
  }
  a {
    text-decoration: underline;
    &:hover {
      color: #0092b7;
    }
  }
}




/* contactページ */
#contact {
  figure {
    height: 240px;
    display: flex;
    justify-content: flex-end;
    background-color: #e2ccc6;
    margin-bottom: 50px;
    img {
    width: auto;
    height: 100%;
    }
  }
  .contact-text {
    border-top: 1px solid #000;
    padding-top: 10px;
    margin-bottom: 50px;
  }
  .contact-list {
    p {
      text-decoration: underline;
      margin-bottom: 15px;
    }
  } 
  .colour-bar {
    height: 240px;
    background-color: #e2ccc6;
    margin-bottom: 50px;
  }
}





/* カテゴリー */
.cat-title {
  /* margin-top: 100px; */
  margin-bottom: 0;
}
.cat-title h2 {
  font-size: 5.5rem;
}
#top-works ul {
  width: 100%;
}


/* 作品ページ */

.title {
  display: flex;
  gap: 10px;
  border-top: #000 solid 5px;
  padding-top: 10px;
  .title-en {
    width: 50%;
    font-size: 2.5rem;
    line-height: 1.25;
    }
  .title-ja {
    width: 50%;
    font-size: 2.5rem;
    line-height: 1.25;
  }
}

.project-tagline {
  display: flex;
  gap: 10px;
  margin-bottom: 80px;
  p {
    flex: 1;
    width: 50%;
  }
  .tagline-en {
    font-size: 1.6rem;
  }
  .tagline-ja {
    font-size: 1.5rem;
    padding-top: 5px;
  }
}

.project-lead {
  display: flex;
  gap: 10px;
  margin-bottom: 80px;
  padding-top: 10px;
  border-top: #000 solid 2px;
  p {
    flex: 1;
    width: 50%;
  }
  .lead-text-en {
  font-size: 2.0rem;
  line-height: 1.25;
  }
  .lead-text-ja {
  font-size: 1.8rem;
  }
}


.works-item {
  img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  }
  .wp-block-columns {
    display: flex;
    gap: 10px;
  }
} 



.project-description {
  display: flex;
  margin: 10px 0 30px;
  gap: var(--grid-gap);
  p {
    flex: 1;
    width: 50%;
  }
  .description-en {
    font-size: 1.6rem;
  }
  .description-ja {
    font-size: 1.5rem;
    line-height: 1.75;
  }
}
.credits {
  display: flex;
  gap: var(--grid-gap);
  margin: 80px 0;
  padding-top: 10px;
  border-top: #000 solid 2px;
  p {
    flex: 1;
    width: 50%;
    font-size: 1.25rem;
    line-height: 1.75;
  }
}





/* フッター */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}
footer {
  height: 120px;
  width: 96%;
  margin: auto;
  margin-bottom: 0px;
}
footer p {
  font-size: 1.5rem;
  color: #000;
}






/* タブレット */
@media screen and (max-width: 959px) {
  main {
  flex: 1;
  width: 93%;
  }
  .container {
    width: 100%;
    margin: 0 auto;
  }
  .top-works ul li img {
  }

  header .header-nav ul li a:active,
  header .header-nav .top-right a:active,
  header .header-nav .bottom-right a:active {
    transition: 0.1s ;
    color: #0092b7;
  }
  .top-works ul li:active {
    background-color: #e2ccc6;
    transition: 0.2s ;
  }
  footer {
    height: 100px;
    width: 93%;
  }
}





/* スマホ */
@media screen and (max-width: 559px) {
    main {
  width: 90%;
  margin-top: 50px;
  }
  .container {
    width: 100%;
    margin: 20px auto 0;
  }

  header .header-nav ul li a,
  header .header-nav .bottom-right a,
  .top-right {
    font-size: 3.5rem;
  }
  .top-left {
    top: 15px;
    left: 15px;
  }
  .top-right {
    top: 15px;
    right: 15px;
  }

  .bottom-left {
    bottom: 15px;
    left: 15px;
  }
  .bottom-right {
    bottom: 15px;
    right: 15px;
  }
  .top-works ul li {
    margin-bottom: 20px;
  }

  .cat-title h3 {
    font-size: 4.0rem;
  }

  .top-works {
  ul {
  flex-direction: column;
    li {
    width: 100%;
    }
  }
}

   /* 作品ページ */
  .title {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
      .title-en {
      width: 100%;
      font-size: 2.0rem;
      }
      .title-ja {
        width: 100%;
        font-size: 2.0rem;
      }
  }
  .project-tagline {
  flex-direction: column;
  gap: 0;
  margin-bottom: 60px;
    p {
      width: 100%;
    }
  .tagline-en {
    font-size: 1.4rem;
  }
  .tagline-ja {
    font-size: 1.2rem;
    padding-top: 3px;
  }
  }
  .project-lead {
  flex-direction: column;
  margin-bottom: 60px;
    p {
      width: 100%;
    }
  }
  .works-item {
  .wp-block-columns {
    gap: 0;
  }
  }

  .project-description {
  flex-direction: column;
  p {
    width: 100%;
  }

  }
  .credits {
    flex-direction: column;
    p {
      flex: 1;
      width: 100%;
    }
  }


  #contact figure, 
  #about figure {
    height: 180px;
    margin-bottom: 30px;
  }
  footer {
    height: 80px;
    width: 90%;
  }

}
