@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 auto;
  width: 704px;
}

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

h2,
h3,
.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: 50px;
}

main {
  margin: 128px auto;
}

.hr1 {
  width: 100%;
  color: #D2D2D2;
}

.case-title {
  display: flex;
}

.case-number {
  width: 105px;
  height: 80px;
  text-align: center;
  border-left: #D9D9D9 1px solid;
  border-right: #D9D9D9 1px solid;
  padding-top: 8px;
}

.case {
  font-size: 16px;
}

.number {
  font-size: 36px;
}

.fulltitle {
  display: block;
  margin: auto 20px;
}

.title {
  font-size: 24px;
  text-align: left;
}

.website {
  font-size: 12px;
  color: #909090;
}

.text {
  font-size: 16px;
  margin-top: 35px;
}

.photo {
  margin-top: 20px;
}

.photo img {
  margin-top: 15px;
  width: 704px;
  height: 704px;
  object-fit: cover;
}

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;
  }

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

  .main-visual {
    height: 140px;
  }

  .Works-title {
    padding-top: 25px;
  }

  .photo img {
    width: 420px;
    height: 420px;
  }

  main {
    margin: 64px auto;
  }

  section {
    margin: 56px auto;
    width: 420px;
  }

  .case-title {
    display: block;
  }

  .case-number {
    border-left: none;
    border-right: none;
    display: flex;
    align-items: center;
    padding-top: 0;
    height: auto;
  }

  .number {
    margin-left: 10px;
  }

  .fulltitle {
    margin: auto;
  }

  .text {
    margin-top: 10px;
  }
}