/*スタイルガイド 色*/
:root {
  --color-title: #393939;
  --color-primary: #F2BD00;
  --color-secondary: #393939;
  --color-link: #005CE5;
  --font-family_english: 'Oooh Baby', cursive;
  --font-family_primary: 'Noto Sans JP', sans-serif;
}

/*メディアクエリの指定
@media screen and (max-width:600px){}
@media not screen and (max-width:600px){}
@media screen and (min-width:500px) and (max-width:650px){}
*/
/*個別リセット*/
h1,
p {
  font-weight: normal;
}

ul {
  padding: 0;
}

ul li {
  list-style: none;
}

a {
  text-decoration: none;
}

/*タイポグラフィー*/
p {
  font-family: var(--font-family_primary);
  font-weight: 300;
  line-height: 25px;
}


ul li {
  font-family: var(--font-family_primary);
  font-weight: 300;

}

/*コンテンツ幅の指定*/
@media screen and (max-width:600px) {
  .contents-width {
    padding: 0 3%;
  }
}

@media not screen and (max-width:600px) {
  .contents-width {
    max-width: 1020px;
    padding: 0 10px;
    margin: auto;
  }
}

/*表示非表示*/
@media screen and (max-width:600px) {
  .sp-none {
    display: none;
  }
}

@media not screen and (max-width:600px) {
  .pc-none {
    display: none;
  }
}

.demo-no_set img{
  opacity: .4;
}


/* -----------------------------
ヘッダー
--------------------------------*/
header::before {
  content: '';
  display: block;
  width: 100%;
  background-color: var(--color-primary);
}

header .title-wrap h1 {
  font-size: 80px;
  color: var(--color-title);
  font-family: var(--font-family_english);
}

@media screen and (max-width:600px) {
  header::before {
    height: 10px;
  }

  header .title-wrap p {
    font-size: 18px;
  }
}

@media not screen and (max-width:600px) {
  header::before {
    height: 20px;
  }

  header .title-wrap {
    text-align: center;
  }

  header .title-wrap h1 {
    padding: 0 40px;
  }

  header .title-wrap p {
    font-size: 24px;
  }
}

/*例外*/
@media screen and (min-width:1000px) {
  header .title-wrap {
    display: flex;
    align-items: center;
    text-align: left;
  }
}



/* -----------------------------
フッター
--------------------------------*/
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary);
  padding: 2% 0;
}

footer>p {
  font-size: 10px;
}

/* -----------------------------
実績紹介
--------------------------------*/


.sample_site_a p:nth-of-type(1) {
  color: var(--color-link);
  font-size: 14px;
}

.sample_site_a p:nth-of-type(2) {
  color: var(--color-secondary);
  font-size: 14px;
}

@media screen and (max-width:600px) {
  .flex_sample_site {
    width: 80%;
    margin: 2rem auto;
  }

  .flex_sample_site li {
    margin: 20px 0;
  }

  .sample_site_a figure img {
    width: 100%;

  }
}

@media not screen and (max-width:600px) {
  .flex_sample_site {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:20px 0;
  }
  .flex_sample_site::before,
  .flex_sample_site::after{
    content: '';
    display: block;
    width: calc((100% / 4) - 15px);
    order: 2;
  }

  .flex_sample_site li {
    width: calc((100% / 4) - 15px);
    order: 1;
  }

}


@media screen and (min-width:600px) and (max-width:1000px) {
  .flex_sample_site {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .flex_sample_site::before,
  .flex_sample_site::after,
  .flex_sample_site li {
    width: 235px;
  }
}

/* -----------------------------
自己紹介
--------------------------------*/

.flex_self_intro {
  margin-top: 2rem;
}

.contact_site::before {
  content: '・';
}

dt {
  margin-top: 2rem;
  font-size: 18px;
}



@media screen and (max-width:600px) {
  .flex_self_intro {
    display: block;
  }

  .flex_self_intro figure img {
    width: 80%;
    margin: 0 auto;
  }

  .self_intro p {
    margin-top: 2rem;
  }


}

@media not screen and (max-width:600px) {

  .flex_self_intro {
    margin: 2rem;
    display: flex;
    justify-content: center;
  }

  .self_intro>img {
    width: 50%;
  }

  .self_intro {
    width: 50%;
    margin-left: 1rem;
  }

  .self_intro p {
    font-size: 18px;
    line-height: 28px;
  }

  .flex-contact {
    display: flex;
  }

  .contact_site {
    font-size: 17px;
  }

}

@media screen and (min-width:600px) and (max-width:900px) {
  .flex-contact {
    display: block;
  }

  .flex-contact li:nth-of-type(2),
  li:nth-of-type(3) {
    margin: 0;
  }




}