@charset "UTF-8";

/*
こちらのCSSファイルを使用してください！

以下、CSS記述の注意事項

■色の指定
下記はデザイン上で使用している色の名前と同じです！
CSS変数と言われるものです。
var(--color-primary)
var(--color-accent)
var(--color-black)
var(--color-white)
var(--color-grad)

下記のように使用してください！
.example {
  color:var(--color-primary);
}

■フォントサイズの指定
フォントサイズの指定には「rem」を使用します。

1remが10pxになるように調整していますので、
デザイン上で16pxの箇所は
font-size:1.6rem:
のように記述してください！

■cssの記述について
必ず最初に
「#_ #セクションのid」 を記載してください！

↓例
aboutセクションの場合。
#_ #about {
  margin:100px;
}
  
aboutセクションの小要素の場合
#_ #about .heading {
  display:none;
}
*/

/*以下ABOUT*/

#_ #about {
  /*背景*/

  text-align: center;
  background: linear-gradient(270deg, #234899, #88acd9);
  background-image: url('../img/about-background.png');
  background-size: cover;
}

#_ #about .about_title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--color-white);
  font-weight: bold;
  line-height: 1.75;
}

#_ #about .about_title span {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  #_ #about .about_title {
    font-size: 2rem;
  }
}

#_ #about .about_content {
  color: var(--color-white);
  max-width: 65.7rem;
  margin: 3rem auto 0;
}

#_ #about .about_content p {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  #_ #about .about_content p {
    font-size: 1.4rem;
  }
}

#_ #about .about_content p + p {
  margin-top: 1lh;
}

/*ここまでABOUT*/

/*ここからPROJECT*/

#_ #project {
  position: relative;
  z-index: 1;
}

#_ #project .project-accent {
  position: absolute;
  z-index: -1;
}

#_ #project .project-accent.-first {
  top: -24px;
  left: 16.6666666667%;
  width: 136px;
}

@media screen and (max-width: 767px) {
  #_ #project .project-accent.-first {
    display: none;
  }
}

#_ #project .project-accent.-second {
  top: 8px;
  right: -60px;
  width: 340px;
}

@media screen and (max-width: 767px) {
  #_ #project .project-accent.-second {
    top: 12px;
    right: -70px;
    width: 150px;
  }
}

#_ #project .project-accent.-third {
  bottom: 48px;
  left: -115px;
  width: 301px;
}

@media screen and (max-width: 767px) {
  #_ #project .project-accent.-third {
    bottom: 60px;
    left: 5.3333333333%;
    width: 100px;
  }
}

#_ #project .project-accent.-fourth {
  bottom: 103px;
  right: 12.9166666667%;
  width: 80px;
}

@media screen and (max-width: 767px) {
  #_ #project .project-accent.-fourth {
    display: none;
  }
}

#_ #project .heading {
  padding-inline: 2rem;
}

/*スライド*/

#_ #project .splide__track {
  margin-top: -20px;
}

#_ #project .splide__list {
  padding-block: 20px !important;
}

#_ #project .splide__slide {
  filter: drop-shadow(-2px -2px 10px rgba(9, 11, 14, 0.05))
    drop-shadow(4px 4px 15px rgba(9, 11, 14, 0.05));
}

#_ #project .project_article_thumb-wrap {
  overflow: hidden;
}

#_ #project .project_article_thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 199;
  object-fit: cover;
  transition: transform 0.3s;
}

#_ #project .project_article {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  clip-path: polygon(
    20px 0%,
    calc(100% - 20px) 0%,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0% calc(100% - 20px),
    0% 20px
  );
}

@media screen and (max-width: 768px) {
  #_ #project .project_article {
    padding: 20px 20px 25px;
  }
}

#_ #project .project_article::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  content: '';
  background-color: var(--color-white);
  width: 100%;
  height: 100%;
}

#_ #project .project_article:hover .project_article_thumb {
  transform: scale(1.05);
}

#_ #project .project_sentence {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* padding: 10rem; */
}

#_ #project .project_sentence h2 {
  line-height: 1.4;
  font-weight: 700;
  margin-top: 5px;
}

#_ #project .project_date {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

.project-list-more {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  column-gap: 8px;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 5px;
  margin-top: 15px;
}

.project-list-more::after {
  display: block;
  content: '';
  width: 6px;
  aspect-ratio: 6 / 9;
  background-image: url('../img/arrow-more.svg');
}

#_ #project .splide__arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 4px));
  pointer-events: none;
  max-width: 540px;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  margin: 0;
}

@media screen and (max-width: 768px) {
  #_ #project .splide__arrows {
    max-width: 360px;
    transform: translate(-50%, calc(-50% - 9px));
  }
}

#_ #project .splide__arrows .splide__arrow {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  aspect-ratio: 1;
  background-color: var(--color-accent);
  clip-path: polygon(
    11px 0%,
    calc(100% - 11px) 0%,
    100% 11px,
    100% calc(100% - 11px),
    calc(100% - 11px) 100%,
    11px 100%,
    0% calc(100% - 11px),
    0% 11px
  );
  padding-left: 2px;
}

@media screen and (max-width: 768px) {
  #_ #project .splide__arrows .splide__arrow {
    width: 35px;
    clip-path: polygon(
      10px 0%,
      calc(100% - 10px) 0%,
      100% 10px,
      100% calc(100% - 10px),
      calc(100% - 11px) 100%,
      10px 100%,
      0% calc(100% - 10px),
      0% 10px
    );
  }
}

#_ #project .splide__arrows .splide__arrow--prev {
  padding-inline: 0px 2px;
}

#_ #project .splide__arrows .splide__arrow img {
  filter: brightness(0) invert(1);
  width: 8px;
}

@media screen and (max-width: 768px) {
  #_ #project .splide__arrows .splide__arrow img {
    width: 6px;
  }
}

#_ #project .splide__arrows .splide__arrow--prev img {
  transform: scale(-1, 1);
}

#_ #project .splide__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 7px;
}

@media screen and (max-width: 768px) {
  #_ #project .splide__pagination {
    margin-top: 10px;
  }
}

#_ #project .splide__pagination li {
  line-height: 0;
}

#_ #project .splide__pagination__page {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: rgba(35, 72, 153, 0.2);
  transition: background-color 0.3s;
}

#_ #project .splide__pagination__page.is-active {
  background-color: var(--color-accent);
}
