@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap');

* {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
}


:root {
  --color-heading: #4A4A4A;
  --color-bg: #F5F1E8;
  --color-white: #fff;
  --color-text: #7a7a7a;
  --color-btn: #B7C9B0;
  --header-height-pc: 64px;
}

/* 共通 -------------------- */
html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1056px;
  width: 96%;
  margin: 0 auto;
  padding: 120px 0;
}

.work-detail-container {
  max-width: 800px;
  width: 96%;
  margin: 0 auto;
  padding: 120px 0;
}


main h2 {
  font-size: 48px;
  color: var(--color-heading);
  text-align: center;
  font-family: "Nothing You Could Do", cursive;
}

main h3 {
  font-size: 16px;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: 0.3em;
}

/* 共通(ボタン) -------------------- */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;

  color: var(--color-white);
  background: var(--color-btn);

  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.08);

  position: relative;
  transition: 0.3s;

  width: 240px;
  height: 48px;
  margin: 0 auto;
}

.btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.15);
}

.btn::after {
  content: '▶';
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
}

/* header -------------------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: var(--header-height-pc);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

header h1 {
  width: 200px;
  padding: 8px 0 0 16px;
}
header nav {
  display: flex;
  gap:32px;
  padding: 8px 16px 0;
}
header nav a,
header nav a:visited {
  color: var(--color-heading);
  transition: color 0.3s ease;
}

header nav a:hover{
  color: #777777;
}
header nav a:active{
  color: #777777;
}

.pc-menu {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pc-menu li+li {
  text-align: center;
  margin-left: 24px;
}



/* main -------------------- */
main {
  padding-top: var(--header-height-pc);
}

/* fv -------------------- */
#fv {
  background: url(img/fv-bg.png) center / cover no-repeat;
}

#fv h2 {
  font-size: 72px;
  padding: 160px 0 0 80px;
  text-align: left;
}

#fv h3 {
  font-size: 36px;
  color: #7A7A7A;
  padding: 40px 0 240px 80px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: left;
  letter-spacing: 0.3em;
  line-height: 1.8;
}


/* about  -------------------- */
#about {
  background: var(--color-white);
}

#about h2,
#about h3 {
  text-align: left;
}

#about h3 {
  margin-bottom: 24px;
}

.about-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.about-img {
  width: 35%;
}

.about-txt {
  width: 65%;
  background: var(--color-white);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08);
  padding: 80px 80px 80px 120px;
  margin-top: 120px;
  box-sizing: border-box;
}

/* what-i-can-do -------------------- */
#what-i-can-do {
  background: #F7F7F8;
}

.what-i-can-do-block {
  background: var(--color-white);
  padding: 80px 240px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08);
}

.what-i-can-do-block p {
  margin-bottom: 32px;
}


/* service -------------------- */
#service {
  background: var(--color-bg);
}

.service-contents {
  display: flex;
  justify-content: space-between;
}

.service-contents article {
  width: 48%;
}

#service h4 {
  text-align: center;
  font-size: 20px;
  font-weight: normal;
  margin: 48px auto 24px;
}

#service p {
  width: 80%;
  margin: 0 auto;
}


/* works -------------------- */
#works {
  background: url(img/works-bg.png) top / cover no-repeat;
}

#works h2 {
  margin-top: 64px;
}

.works ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 80px;
}

.works ul li {
  width: calc((100% - 48px) / 3);
  transition: all 0.3s;
}

.works ul li:hover {
  transform: translateY(4px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
}

/* contact -------------------- */
#contact {
  background: url(img/what-i-can-do-bg.png) bottom / cover no-repeat;
}

.contact-block {

  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 80px 240px;

}

.contact-txt {
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.contact-mail {
  font-size: 20px;
  font-weight: bold;
}

/* footer -------------------- */
footer {
  height: 120px;
  background: #B7C9B0;
  text-align: center;
}

small {
  color: var(--color-white);
}


/* =========================
works(下層ページ) 共通
========================= */
#work-detail-fv {
  background: url(img/contact-fv.png) center / cover no-repeat;
  height: 200px;
}

#work-detail-fv h2 {
  padding-top: 56px;
  padding-left: 80px;
  text-align: left;
}

#work-detail-fv h3 {
  text-align: left;
  padding-left: 80px;
}

#work-detail-content h2 {
  font-size: 32px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: normal;
  margin-bottom: 16px;
  text-align: left;
}

#work-detail-content h3 {
  text-align: left;
  margin-bottom: 0;

}

.work-detail-content-url {
  display: inline-block;
  margin-top: 16px;
  color: #5F7D73;
  text-decoration: underline;
  transition: .3s;
}

.work-detail-content-url:hover {
  opacity: .7;
}

#work-detail-content ul,
#work-detail-content p {
  text-align: left;
  margin-top: 16px;
  line-height: 1.7;
}

#work-detail-content p.work-category {
  font-size: 24px;
  text-align: left;
  margin-bottom: 40px;
  position: relative;
  padding-left: 32px;
}

#work-detail-content p.work-category::before {
  content: "";
  background: url(img/tag-icon.png) center / contain no-repeat;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 11px;
  left: 0;
}


.work-category-list li:not(:last-child) {
  margin-bottom: 24px;
}

#work-detail-content .content {
  margin: 64px auto 80px;
}

.detail-heading {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-heading);
  margin: 48px 0 16px;
  border-left: 10px solid #DBE4D8;
  padding-left: 12px;
}

/* .work-detail.btn {
  margin: 0;
} */

/* =========================
Works　共通
========================= */
#works-fv {
  background: url(img/contact-fv.png) center / cover no-repeat;
  height: 200px;
}

#works-fv h1 {
  padding-top: 40px;
  padding: 64px 0 0 80px;
  font-size: 48px;
  color: var(--color-heading);
  font-family: "Nothing You Could Do", cursive;
/* 
main h3 {
  font-size: 16px;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: 0.3em;
}
 */


}

#works-fv h2 {
  text-align: left;
  font-size: 16px;
  padding-left: 80px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.3em;
}

#works .container {
  padding: 80px 0;
}

#works-contents h2 {
  text-align: left;
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: normal;
  margin-bottom: 40px;
  line-height: 1.8;
  
}

@media(max-width: 1024px) {

  .about-txt {
    padding: 40px 40px 40px 80px;
    margin-top: 80px;
  }

  .what-i-can-do-block {
    padding: 80px;
  }

  #works h2 {
    margin-top: 16px;
  }

  .works ul li {
    width: calc((100% - 32px) / 2);
  }

  .works ul {
    gap: 32px;
    width: 80%;
    margin: 0 auto;
  }

  .contact-block {
    padding: 80px;
  }

}

@media(max-width: 500px) {

  .container {
    padding: 32px 0;
  }

  main h2 {
    font-size: 32px;
  }

  main h3 {
    font-size: 14px;
    margin-bottom: 16px;
  }

.pc-menu {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 120px;
  padding: 8px 16px 0;
}

  #fv {
    background: url(img/fv-bg-sp.png) center / cover no-repeat;
  }

  #fv h2 {
    font-size: 40px;
    padding: 80px 0 0 24px;
  }

  #fv h3 {
    font-size: 16px;
    padding: 16px 0 240px 24px;
  }

  #about h2,
  #about h3 {
    text-align: center;
  }

  #about h3 {
    margin-bottom: 0px;
  }

  .about-block {
    flex-direction: column-reverse;
  }

  .about-txt {
    width: 100%;
    padding: 0;
    margin: 0 auto;

  }

  .about-txt p {
    padding: 16px;
  }

  .about-img {
    width: 80%;
    margin: 16px auto 0;

  }

  .what-i-can-do-block {
    padding: 32px 16px;
  }

  .service-contents {
    display: block;
  }

  .service-contents article {
    width: 100%;
    margin-bottom: 16px;
  }

  #service h4 {
    margin: 16px auto 8px;
  }

  #service p {
    width: 100%;
  }

  #works {
    background: url(img/works-bg-sp.png) top / cover no-repeat;
  }

  #works h2 {
    margin-top: 40px;
  }

  .works ul {
    display: block;
    margin: 0 auto 16px;
  }

  .works ul li {
    width: 100%;
    margin-bottom: 16px;
  }

  .contact-block {
    padding: 32px;
  }

  .contact-txt {
    width: 100%;
    line-height: nomal;
  }

  footer {
    height: 60px;
  }

  #work-detail-fv h2 {
    padding-left: 16px;
    margin-bottom: 0;
  }

  #work-detail-fv h3 {
    padding-left: 16px;
  }

  .work-detail-container {
    padding: 16px 0 40px;
  }

  #work-detail-content .content {
    margin: 24px auto 48px;
  }

  #work-detail-content h2 {
    font-size: 24px;
    margin-bottom: 0;
  }

  #work-detail-content p.work-category {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .detail-heading {
    margin: 24px 0 16px;
  }

  #work-detail-content p {
    margin-top: 0;
  }

  #work-detail-content p.work-category::before {
    width: 16px;
    height: 16px;
    top: 7px;
    left: 6px;
  }


}



/* *{
  outline: 1px solid red;
} */