@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  display: block;
  margin: 8px;
  font-size: 12px;
  font-family: "Sawarabi Gothic";
  color: black;
  line-height: 1;
  background-color: white;
}

img {
  max-width: 100%;
}

/* header */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: bisque;
  height: 36px;
  z-index: 10;
}

.header {
  position: relative;
  max-width: 1200px;
  margin: auto;
  height: 36px;
}

.title {
  position: absolute;
  top: 12px;
  left: 15px;
  font-size: 14px;
  font-weight: 700;
}

.burger {
  display: none;
}

.navi {
  display: inline-block;
  position: absolute;
  top: 12px;
  right: 0;
  width: auto;
  height: auto;
  opacity: 1;
}

.navi .navi__list {
  position: relative;
  top: 0;
  left: 0;
  transform: unset;
}

.navi .navi__list .navi__list-item {
  display: inline-block;
}

.navi .navi__list .navi__list-item a {
  display: block;
  padding: 0 18px;
  color: #9c9b98;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.3s;
}

/* first-view */

#first-view {
  width: 100%;
  height: calc(100vh - 36px);
  margin: auto;
  background-image: url(../img/珈琲時間1.jpeg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-align: center;
}

#first-view h1 {
  font-size: 38px;
  color: white;
  letter-spacing: 3px;
  padding-top: 13%;
}

#first-view h2 {
  font-size: 18px;
  font-weight: bold;
  color: orange;
  padding-top: 80px;
}

#first-view img {
  width: 75px;
  padding-top: 80px;
}

#first-view .osamu {
  font-size: 14px;
  font-weight: bold;
  color: #ffff;
  padding-top: 80px;
  line-height: 2;
}

/* Wrapper */

#Wrapper {
  max-width: 960px;
  margin: 100px auto 50px auto;
  padding: 0 4%;
}

/* Works */

#Works .item-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#Works .item-list li {
  width: 30%;
  margin-bottom: 40px;
  padding: 20px;
}

#Works .item-list li img:hover {
  transition: all 1s;
  opacity: 0.5;
}

#Works .item2-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#Works .item2-list li {
  width: 45%;
  margin-bottom: 40px;
}

#Works .item2-list li img {
  padding: 20px;
}

#Works .item2-list li img:hover {
  transition: all 1s;
  opacity: 0.5;
}

/* Profile */

#Profile {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.namu {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 5px;
}

.kana {
  padding-top: 8px;
  font-size: 10px;
}

.concept {
  padding-top: 20px;
}

.concept dt {
  color: chocolate;
}

.concept dd {
  padding-top: 20px;
}

/* Contact */

#Contact {
  text-align: center;
  margin-top: 20px;
}

.buttun {
  font-size: 18px;
  font-weight: bold;
  background-color: #f4dd64;
  display: inline-block;
  min-width: 160px;
  line-height: 48px;
  border-radius: 24px;
}

.buttun:hover {
  background-color: #d8b500;
}

/* レスポンシブ */

@media (max-width: 768px) {
  /* header */

  #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffff;
    height: 60px;
    z-index: 10;
  }

  .header {
    position: relative;
    width: 100%;
    height: 60px;
  }

  .header .title {
    position: absolute;
    top: 21px;
    left: 15px;
    font-size: 18px;
  }

  /* burger */

  .burger {
    display: block;
  }

  .burger {
    position: absolute;
    top: 0;
    right: 15px;
    width: 60px;
    height: 60px;
    border: none;
    background: transparent;
    appearance: none;
    padding: 0;
    cursor: pointer;
  }
  .burger__bar {
    display: inline-block;
    width: 44%;
    height: 2px;
    background: #242424;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
  }
  .burger__bar:first-child {
    top: 16px;
  }
  .burger__bar:nth-child(2) {
    top: 24px;
  }
  .burger__bar:last-child {
    top: 32px;
  }
  .burger--open .burger__bar {
    top: 50%;
  }
  .burger--open .burger__bar:first-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
  }
  .burger--open .burger__bar:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  }
  .burger--open .burger__bar:nth-child(2) {
    display: none;
  }

  /* navi */

  .navi {
    box-sizing: border-box;
    position: fixed;
    top: 60px;
    width: 100%;
    height: calc(100% - 60px);
    background: #242424;
    opacity: 0.9;
    display: block;
    right: -100%;
    transition: right 0.5s;
  }

  .navi.sp-open {
    right: 0;
  }

  .navi .navi__list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 300px;
    text-align: center;
  }
  .navi .navi__list .navi__list-item a {
    display: block;
    padding: 25px;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  /* first-view */

  #first-view {
    width: 100%;
    height: calc(100vh - 60px);
  }

  #first-view h1 {
    font-size: 28px;
    color: #fff;
    letter-spacing: 3px;
    padding-top: 15%;
  }

  #first-view h2 {
    padding-top: 15%;
  }

  #first-view img {
    padding-top: 12%;
  }

  #first-view .osamu {
    color: #ff750f;
    padding-top: 15%;
  } 

  /* Wrapper */

  #Wrapper {
    margin: 50px auto;
  }

  /* Works */

  #Works {
    padding: 10px;
  }

  #Works .item-list {
    flex-direction: column;
  }

  #Works .item-list li {
    width: 100%;
    margin-bottom: 40px;
  }

  #Works .item2-list {
    flex-direction: column;
  }

  #Works .item2-list li {
    width: 100%;
    margin-bottom: 40px;
  }
}