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

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

h1,
h2,
h3,
.main-visual-title,
.main-visual-subtitle,
.Profile-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: 650px;
  background-image: url(img/mv.png);
  background-size: cover;
  background-position: center;
}

.main-visual-text {
  width: 784px;
  height: 650px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.main-visual-title {
  padding-top: 200px;
  font-size: 120px;
}

.main-visual-subtitle {
  font-size: 18px;
  line-height: 38px;
}

main {
  width: 100%;
}

.Portfolio {
  text-align: center;
}

.border_line {
  width: 30px;
  height: 6px;
  border-bottom: 3px solid #EC715F;
  margin: 0 auto;
}

.main-text {
  padding: 64px 0 30px 0;
  margin: 0 auto;
  width: 800px;
  font-size: 18px;
  text-align: left;
}

.main-contents {
  margin: 50px auto;
  width: 1080px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-contents-box {
  width: 272px;
  height: 272px;
  margin: 36px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.desk {
  background-image: url(img/sketch.jpg);
}

.pc-blue {
  background-image: url(img/websuku.png);
}

.write-board {
  background-image: url(img/write.jpg);
}

.pc-yellow {
  background-image: url(img/webcamp.png);
}

.talk {
  background-image: url(img/talk.jpg);
}

.pc-pink {
  background-image: url(img/webcamp-mother.png);
}

.main-contents-button {
  border-radius: 50px;
  padding: 15px 100px;
  background-color: black;
  color: white;
  border: none;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-contents-button:hover {
  background-color: gray;
  color: white
}

.Profile {
  padding: 128px 0;
  margin: 128px auto;
  text-align: center;
  background-color: #FFF7F2;
}

.main-contents2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  width: 800px;
}

.my-icon {
  width: 400px;
  text-align: left;
}

.my-icon img {
  width: 250px;
  height: 250px;
}

.sentence {
  text-align: left;
  width: 400px;
  font-size: 18px;
}

.Profile-title {
  font-size: 20px;
  line-height: 30px;
}

.Blogs {
  text-align: center;
  margin: 128px auto;
}

.blog-section {
  max-width: 1080px;
  padding: 20px;
  margin: 64px auto 0;
}

.blog-header {
  margin-bottom: 20px;
  text-align: left;
}

.blog-link {
  color: gray;
  text-decoration: none;
  margin-left: 35px;
  font-size: 18px;
}

.blog-link2 {
  text-decoration: none;
  color: #414141;
}

.main-contents3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 auto;
}

.main-contents3-box {
  width: 272px;
  height: 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.blog-image {
  width: 272px;
  height: 177px;
  object-fit: cover;
}

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

.blog-subtitle {
  font-size: 12px;
  color: #EC715F;
  text-align: left;
  margin: 15px 0px;
}

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: 550px;
  }

  .main-visual-title {
    padding-top: 175px;
    font-size: 72px;
  }

  .main-visual-subtitle {
    width: 430px;
    height: 107px;
    text-align: center;
    margin: auto;
  }

  section {
    margin: 64px 0px;
  }

  .main-contents-box {
    width: 200px;
    height: 200px;
    margin: 10px;
  }

  .Profile {
    width: 480px;
    margin: 0 auto;
    padding: 64px 30px;
  }

  .main-text {
    width: 420px;
    font-size: 16px;
  }

  .my-icon {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }

  .main-contents2 {
    flex-wrap: wrap;
    margin: 0;
    width: 420px;
  }

  .sentence {
    margin-top: 10px;
    font-size: 16px;
    width: 420px;
  }

  .Profile-title {
    margin-bottom: 20px;
  }

  .Blogs {
    margin: 64px 30px;
    font-size: 36px;
  }

  .blog-link {
    margin: 0;
  }

  .main-contents3-box {
    width: 420px;
    height: auto;
  }

  .blog-image {
    width: 420px;
    height: 254px;
  }

  .blog-section {
    padding: 0;
  }

  .sns-icon {
    margin-top: 40px;
    width: 200px;
    display: flex;
    justify-content: space-between;
  }

  .footer-text {
    margin: 0;
  }

}