@charset "UTF-8";
/*--------------------------------------------------------
共通
------------------------------------------------------------*/
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #000;
}

/* タイトル */
.u__title {
  margin-left: 9%;
  padding: 50px 17px;
  width: 189px;
  height: 93px;
  position: relative;
}

.u__title::before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 70px;
  background: #808080;
  top: 90%; /* 縦方向の中央に配置 */
  left: -10px; /* title から少し離す（調整可能） */
  transform: translateY(-50%); /* 縦方向の中央に配置するための調整 */
}

.u__title__en {
  font-size: 36px;
  font-weight: bold;
}

/*--------------------------------------------------------
header
------------------------------------------------------------*/
.header {
  width: 100%;
  height: 120px;
  position: fixed;
  z-index: 20;
  background: #fff;
  opacity: 0.9;
}

@media screen and (max-width: 821px) {
  .header {
    height: 72px;
    background-color: #fff;
  }
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  margin: 0 auto;
  width: 85%;
  height: 100%;
}

@media screen and (max-width: 821px) {
  .header__inner {
    max-width: 80%;
  }
}
.header__title {
  width: 657px;
  height: auto;
  font-size: 40px;
  font-weight: 900;
}

@media screen and (max-width: 821px) {
  .header__title {
    width: 60%;
    font-size: 20px;
  }
}
@media screen and (max-width: 900px) {
  .header__nav {
    display: none;
  }
}
.header__menu {
  display: flex;
  gap: 35px;
}

.header__menuList {
  font-weight: bold;
}

.header__toggleBtn {
  display: none;
}

@media screen and (max-width: 900px) {
  .header__toggleBtn {
    display: block;
    width: 42px;
    height: 24px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 20;
  }
}
/*ハンバーガーメニューの横線*/
.header__hamburgerLine {
  display: block;
  position: absolute;
  width: 42px;
  height: 3px;
  background-color: #898989;
  border-radius: 3px;
  transition: all 0.5s;
}

.header__hamburgerLine:nth-child(1) {
  top: -3px;
}

.header__hamburgerLine:nth-child(2) {
  top: 9px;
}

.header__hamburgerLine:nth-child(3) {
  top: 21px;
}

/*ハンバーガーメニュークリック時、×になる*/
.js-open .header__hamburgerLine:nth-child(1) {
  transform: translateY(11px) rotate(-45deg);
}

.js-open .header__hamburgerLine:nth-child(2) {
  transform: translateY(-1px) rotate(45deg);
}

.js-open .header__hamburgerLine:nth-child(3) {
  display: none;
}

/*ハンバーガーメニュークリック時背景*/
.header__mask {
  /*background: transparent url(../image/overlay.png) no-repeat top center/cover;*/
  background: #fff;
  position: fixed;
  width: 100%;
  height: 100vh;
  right: -120%; /*左端に寄せて隠しておく*/
  top: 72px;
  transition: all 0.5s;
}

.header__maskNav {
  margin-top: 80px;
  margin-left: 11.4285714286%;
  color: #000;
  font-weight: 700;
}

.header__maskList {
  margin-top: 42px;
}

.header__maskList:first-of-type {
  margin-top: 0;
}

.header__maskList:last-of-type {
  margin-top: 48px;
}

.header__maskWrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__maskLink--sns:first-of-type {
  width: 33px;
  height: 30px;
}

.header__maskLink--sns:last-of-type {
  width: 33.25px;
  height: 33.25px;
}

.js-open .header__mask {
  right: 0; /*隠しておいたmaskを右端一杯に表示する*/
  z-index: 10;
}

/*--------------------------------------------------------
メイン
----------------------------------------------------- */
main {
  background: #eee;
}

.works {
  display: flex;
  justify-content: center;
}

.works__title {
  width: 150px;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
  padding-top: 200px;
  padding-bottom: 10px;
  letter-spacing: 0.3rem;
  border-bottom: 1px solid #898989;
}

@media screen and (max-width: 821px) {
  .works__title {
    padding-top: 120px;
  }
}
.works__supplement {
  text-align: center;
  margin-top: 70px;
}

@media screen and (max-width: 821px) {
  .works__supplement {
    width: 70%;
    margin: 30px auto 0;
    font-size: 12px;
  }
}
.works__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 50px; /* アイテム間の余白 */
  margin-top: 50px;
  margin-bottom: 200px;
  padding: 0 40px;
  max-width: 1080px;
}

@media screen and (max-width: 821px) {
  .works__grid {
    grid-template-columns: 1fr;
    padding: 0;
    margin-bottom: 30%;
    gap: 1%;
  }
}
.work__item {
  width: 100%;
  height: auto;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 40px;
  border-radius: 5px;
}

@media screen and (max-width: 360px) {
  .work__item {
    width: 100%;
    padding: 20px 0;
  }
}
@media screen and (min-width: 400px) and (max-width: 821px) {
  .work__item {
    width: 100%;
    padding: 40px 0;
  }
}
.work__item img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}

.works__content {
  padding-top: 20px;
}

.work__item h3 {
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 20px;
  text-align: center;
  border: 1px solid #ccc;
}

.work__item p {
  width: 300px;
  word-break: break-word; /* 長い単語も途中で折り返す */
  margin: 0 auto;
  line-height: 1.8rem;
}

.works__content p span {
  padding: 1px 12px;
  margin-right: 10px;
  background: #cccccc;
  border-radius: 5px;
}

.link {
  padding-top: 20px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.link:hover {
  opacity: 0.5;
}

.link img {
  width: 25px;
  height: auto;
}

/*--------------------------------------------------------
フッター
----------------------------------------------------- */
.footer {
  display: flex;
  justify-content: center;
}

.footer p {
  font-size: 12px;
  margin: 10px 0;
}

/*----------------------------------------------------
TOPボタン
------------------------------------------------------*/
.top__icon {
  position: fixed;
  right: 15px;
  bottom: 40px;
  opacity: 0;
  z-index: 100;
}

.top__iconLink {
  display: inline-block;
  width: 68px;
  height: 68px;
}

/*# sourceMappingURL=works.css.map */