@charset "utf-8";

/* 共通------------------------------------
------------------------------------------- */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
}
:root {
  --colorMain1: #3cd6d6;
  --colorMain2: #f293a2;
  --colorSub: #4d4d4d;
  --colorBack1: #d7f2f0;
  --colorBack2: #f2f2f2;
  --colorBack3: #f9e6ea;
  --colorShadow: #999;
  --colorSide: #1a1a1a;
  --colorLine: #e6e6e6;
  --colorText: #333333;
}
html {
  font-size: 10px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Zen Kaku Gothic New', serif;
  font-size: 1.6em;
  line-height: 1;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  max-width: 1300px;
  width: 100%;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 28px;
  font-weight: 500;
}

/* 共通項目------------------------------------
------------------------------------------- */
/* レイアウト */
main>section{
  margin: 0;
  padding: 0;
}
.container {
  margin: 0 auto;
  max-width: 1280px;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sectTtl, .categolyBlue, .categolyPink{
  text-align: center;
  padding: 0 0 1.2rem;
  margin: 0 0 3rem;
  background-repeat: no-repeat;
  background-size: 17rem 3px;
  background-position: bottom;
}
.sectTtl, .categolyBlue{
  background-image: linear-gradient(90deg, var(--colorMain1) 0 20%, var(--colorSub) 20%);
}
.categolyPink{
  background-image: linear-gradient(90deg, var(--colorMain2) 0 20%, var(--colorSub) 20%);
}

/* 〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜  */
/* 実習生作品 */
/* 〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜  */
/* 共通 */
.japanese{
  font-family: serif;
}
#works::before, #works::after{
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  /* 位置 */
  display: block;
  position: absolute;
}
.aboutKadoma > section{
  padding-top: 0;
}

@media(max-width: 428px){
  .sectTtl h2{
    font-size: 2rem;
  }
}

/* FV------------------------------------
------------------------------------------- */
#works .worksFv{
  background-image: url(../_img/work/workFv.jpg);
  background-color: rgba(0, 0, 0, 0.7);
  background-position: center;
}
#works .worksFv .sectTtl{
  background-image: linear-gradient(90deg, var(--colorMain1) 0 20%, white 20%);
}
.worksFv p{
  font-size: 1em;
}

@media (max-width: 428px){
  .kadomaFv p{
    font-size: 1.5rem;
  }.kadomaFv h1{
    font-size: 2em;
  }
}

/* 年号------------------------------------
------------------------------------------- */
#works .worksContents .year{
  background-image: url(../_img/ttlBgL.png);
  background-position: right;
  background-repeat: no-repeat;
  height: 6em;
  padding: 0 0 0 1.3em;
  aspect-ratio: 144 / 92;
  display: flex;
  align-items: center;
  position: relative;
}
#works .worksContents .year h4{
  color: white;
  font-size: 1.875em;
  padding-left: .125em;
}

/* ライン */
#works .worksContents .yearBlue h4::before, #works .worksContents .yearPink h4::before{
  width: .6rem;
  height: 2.4em;
  top: 3px;
  left: 1rem;
  z-index: 999;
}
#works .worksContents .yearBlue h4::before{
  background-color: var(--colorMain1);
}
#works .worksContents .yearPink h4::before{
  background-color: var(--colorMain2);
}

/* ２０２２年以前のみの設定 */
#works .worksContents .work:last-of-type .year h4{
  font-size: 1.75em;
}
#works .worksContents .work:last-of-type .yearPink h4::before{
  height: 2.7em;
}
#works .worksContents .work:last-of-type .year h4 span{
  font-size: .875em;
}

/* カテゴリー------------------------------------
------------------------------------------- */
#works .worksContents .categoly{
  font-size: 1.5em;
  text-align: center;
}

/* レイアウト------------------------------------
------------------------------------------- */
#works .worksContents .work{
  max-width: 1200px;
  padding-top: 2em;
  margin: 0 auto 0;
}
#works .worksContents .work ul{
  padding-bottom: 2em;
  display: flex;
  gap: 2%;
  flex-wrap: wrap;
  justify-content: center;
}
#works .worksContents .work ul a:hover{
  color: var(--colorMain1);
  cursor: pointer;
}
#works .worksContents .work .categolyPink + ul a:hover{
  color: var(--colorMain2);
}
#works .worksContents .work ul a:hover img{
  opacity: .5;
}
#works .worksContents .work ul li{
  width: 45%;
  margin-bottom: 3%;
  text-align: center;
}
#works .worksContents .work ul li img, #works .worksContents .work iframe{
  width: 100%;
  /* max-width: 400px; */
  margin-bottom: 10px;
  aspect-ratio: 1275 / 875;
  object-fit: contain;
}
#works .worksContents .work ul li p:last-of-type{
  padding-top: .5em;
  display: inline-block;
  position: relative;
}
#works .worksContents .work ul li p:last-of-type::before, #works .worksContents .work ul li p:last-of-type::after{
  width: 1em;
  padding: 0 .5em;
  display: inline-block;
}
#works .worksContents .work ul li p:last-of-type::before{
  content: "【";
  left: -2em;
  /* padding-right: 1.5em; */
}
#works .worksContents .work ul li p:last-of-type::after{
  content: "】";
}
#works .worksContents .work:last-of-type ul li:first-of-type{
  margin-bottom: 2em;
}

/* luminous */
.lum-lightbox .lum-open{
  z-index: 999;
}
.lum-lightbox-inner img{
  max-width: 100%;
  /* max-height: 80vh; */
}

/* 背景 */
#works .worksContents .work:nth-of-type(4n-2){
  background-color: var(--colorBack2);
}
#works .worksContents .work:nth-of-type(4n-1){
  background-color: var(--colorBack1);
}
#works .worksContents .work:nth-of-type(4n){
  background-color: var(--colorBack3);
}

@media(max-width: 760px){
  /* 年号 */
  #works .worksContents .year{
    height: 3.75em;
    aspect-ratio: 160 / 92;
    position: relative;
  }
  #works .worksContents .year h4{
    font-size: 1.25em;
    padding-left: 0;
  }
  /* ライン */
  #works .worksContents .yearBlue h4::before, #works .worksContents .yearPink h4::before{
    top: 0px;
    left: .75rem;
  }
  /* ２０２２年以前のみの設定 */
  #works .worksContents .work:last-of-type .year h4{
    font-size: 1em;
  }
  #works .worksContents .work:last-of-type .yearPink h4::before{
    height: 3em;
  }
  #works .worksContents .work:last-of-type .year h4 span{
    font-size: .875em;
  }
}
@media(max-width: 428px){
  #works .worksContents .work ul{
    align-items: center;
    flex-direction: column;
    gap: 2em;
  }
  #works .worksContents .work ul li{
    width: 90%;
  }
  #works .worksContents .work:last-of-type ul li:first-of-type{
    margin-bottom: 0;
  }
}

