@charset "utf-8";

/*CSSライブラリのインポート*/
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900&display=swap&subset=japanese");

/* ブラウザがそれぞれ持っているCSSをリセットするための記述 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  width: 100%;
  height: 70px;
  background-color: #ec715f;
}

section {
  margin: 96px 0px;
}

body {
  font-family: 'Noto Sans JP';
}

h2,
.main-button,
.footer-button,
.Works-title {
  font-family: 'Raleway', ;
}

.heading img {
  height: 70px;
}

nav {
  height: 70px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  font-size: 16px;
}


nav> :first-child {
  margin-right: auto;
}

.nav-list {
  width: 560px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-list-item {
  margin: 0 30px;
  list-style: none;
  text-align: center;
  color: white;
  position: relative;
}


.nav-list-item a {
  text-decoration: none;
  color: white;
}

.nav-list-item:not(:has(a.button))::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-list-item:not(button):hover::after {
  transform: scaleX(1);
}

.nav-list-item a:hover {
  background-color: transparent;
}

.nav-list-item a.button {
  text-decoration: none;
  padding: 5px 20px;
  background-color: white;
  color: #EC715F;
  border-radius: 30px;
  transition: background-color 0.3s;
  position: relative;
}

.nav-list-item a.button:hover {
  background-color: #F2D6D2;
  color: #EC715F;
}

.nav-list-item a.button::after {
  display: none;
}

.main-visual {
  width: 100%;
  height: 200px;
  background-image: url(../img/mv.png);
  background-size: cover;
  background-position: center;
}

.Works-title {
  color: white;
  font-size: 72px;
  text-align: center;
  padding-top: 45px;
}

main {
  width: 704px;
  margin: 128px auto;
  text-align: center;
}

.text {
  font-size: 18px;
  margin: 128px auto 96px;
}

.name,
.mail {
  display: flex;
  flex-direction: column;
  width: 517px;
  margin: 20px auto;
  text-align: left;
  font-size: 18px;
}

.contact {
  display: flex;
  flex-direction: column;
  width: 517px;
  height: 300px;
  justify-content: flex-start;
  margin: 20px auto;
  text-align: left;
  font-size: 18px;
}

.name input,
.mail input {
  width: 100%;
  height: 50px;
  font-size: 16px;
  box-sizing: border-box;
  padding-left: 10px;
  transition: border-color 0.3s ease;
  border-radius: 5px;
}

.name input:focus,
.mail input:focus {
  outline-color: #EC715F;
}

.name input:not(:placeholder-shown),
.mail input:not(:placeholder-shown) {
  background-color: #E8F0FE;
}


.contact textarea {
  width: 100%;
  height: 100%;
  font-size: 16px;
  box-sizing: border-box;
  padding-top: 15px;
  padding-left: 10px;
  background-color: transparent;
  transition: border-color 0.3s ease;
  border-radius: 5px;

}

.contact textarea:focus {
  outline-color: #EC715F;
}

.contact textarea:not(:placeholder-shown) {
  background-color: #E8F0FE;
}

.sousin-button {
  text-decoration: none;
  margin-top: 50px;
  text-align: center;

}

.main-button {
  margin: 96px auto 128px;
  width: 236px;
  height: 60px;
  padding: 18px;
  border-radius: 50px;
  background-color: black;
  text-align: center;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-button:hover {
  background-color: #888888;
  color: white
}

footer {
  width: 100%;
  text-align: center;
  line-height: 60px;
  background-color: #EC715F;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Contact-button {
  text-decoration: none;
  margin-top: 50px;
}

.footer-button {
  width: 277px;
  height: 60px;
  border-radius: 50px;
  background-color: white;
  text-align: center;
  color: #EC715F;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sns-icon {
  margin-top: 50px;
}

.footer-button:hover {
  background-color: #F2D6D2;
  color: white
}

.footer-text {
  color: white;
  font-size: 12px;
  margin-top: 30px;
  border-top: 0.5px solid white;
  width: 100%;
}


/* =========================
      hamburger menu
=========================== */

.pc-logo {
  display: block;
}

.sm-logo {
  display: none;
}

#drawer_input {
  display: none;
}

.drawer_open {
  display: none;
}

/* =========================
 スマホ用（width 480px）
=========================== */

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

  html,
  body,
  header,
  nav,
  main,
  .main-visual,
  .main-visual-text,
  .main-contents,
  .works,
  .profile,
  .blogs,
  .blogs-contents,
  footer {
    width: 100%;
  }

  .none {
    display: none !important;
  }

  .pc-logo {
    display: none;
  }

  .sm-logo {
    display: block;
    margin: 0;
    height: 70px;
  }

  /* =========================
           header
  =========================== */

  .heading a {
    display: block;
  }

  .nav-list {
    padding: 0;
    display: block;
  }

  /* =========================
        hamburger menu
  =========================== */

  .nav-list {
    padding: 0;
    display: block;
  }

  .drawer_hidden {
    display: none;
  }

  .drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 100;
    cursor: pointer;
    top: 18px;
    right: 26px;
    width: 40px;
    height: 40px;
  }

  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 35px;
    border-radius: 3px;
    background: #F9F9F9;
    transition: 0.5s;
    position: absolute;
  }

  .drawer_open span:before {
    bottom: 10px;
  }

  .drawer_open span:after {
    top: 10px;
  }

  #drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
  }

  #drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  nav {
    height: 100%;
    position: fixed;
    left: -100%;
    background: #EC715F;
    transition: .5s;
    text-align: center;
  }

  .nav-list-item {
    height: 80px;
    width: 79px;
    margin: 0 auto;
  }

  .nav-list-item:first-child {
    margin-top: 16px;
  }

  .nav-list-item:last-child {
    width: 200px;
    bottom: 70px;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  .nav-list-item a {
    font-size: 24px;
  }

  #drawer_input:checked~nav {
    left: 0;
  }

  main {
    margin: 64px auto;
    width: 429px;
  }

  .text {
    margin: 0 28px 40px;
  }

  .name,
  .mail {
    width: 429px;
  }

  .contact {
    width: 429px;
  }

  .main-button {
    margin: 56px auto 64px;
  }

  .contact-button {
    color: #EC715F;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 145%;
  }

}