@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: gainsboro;
  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/mrn@222_mm10.jpeg);
  text-align: center;
}

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

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

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

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

/* Wrapper */

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

/* work */

#work {
  margin-bottom: 50px;
  padding: 20px;
}

#work img {
  width: 230px;
}

#work .text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding-top: 50px;
}

#work .text_a {
  line-height: 1.5;
  padding-top: 50px;
}

#work p {
  padding-top: 50px;
}

.work_a {
  display: flex;
  flex-wrap: wrap;
}

#work_a {
  margin-left: 50px;
}

#work_b {
  margin-right: 50px;
}

.work_b {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

/* box */

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

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

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

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

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

/* Profile */

#Profile {
  max-width: 900px;
  margin: 60px 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 p {
    padding-top: 15%;
  }

  /* Wrapper */

  #Wrapper {
    margin: 50px auto;
    text-align: center;
  }

  /* work */

  #work {
    margin: 0 20px 50px 20px;
    padding: 10px;
  }

  .work_a {
    flex-direction: column;
  }

  .work_b {
    flex-direction: column;
    margin-top: 50px;
  }

  #work img {
    width: 100%;
  }

  #work_a {
    margin: auto;
  }

  #work_b {
    margin: auto;
  }

  #work .text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding-top: 50px;
  }

  #work .text_a {
    line-height: 1.5;
    padding-top: 30px;
  }

  #work p {
    padding-top: 30px;
  }

  /* box */

  #box {
    padding: 10px;
  }

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

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

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

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