@charset "UTF-8";
html {
  font-size: 62.5%;
}

body {
  font-family: "Yu Gothic Medium";
  color: #373737;
  background-color: #ede4cd;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

li {
  list-style: none;
}

.header {
  width: 100%;
  text-align: right;
}
.header__back {
  background-image: url("../images/header_img.jpg");
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  background-position: center;
  background-size: cover;
  position: relative;
}
@media screen and (min-width: 1080px), print {
  .header__back {
    padding-top: 42.55%; /* 1:2.35 シネマ比*/
  }
}
.header__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  max-width: 1100px;
  width: 80%;
  height: 100vh;
}
.header__gnav {
  display: none;
}
@media screen and (min-width: 1080px), print {
  .header__gnav {
    display: inline-block;
    text-align: right;
  }
}

.gnav {
  padding-top: 40px;
}
.gnav__list {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 400px;
}
.gnav__list > li a {
  display: block;
  position: relative;
  font-family: "Josefin Sans", sans-serif;
  font-size: 2rem;
  color: #373737;
}
.gnav__list > li a:hover {
  color: #8a7132;
}
.gnav__list > li a:hover::after {
  transform: scale(1, 1);
}
.gnav__list ::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #8a7132;
  transition: all 0.3s;
  transform: scale(0, 1);
  transform-origin: left top;
}

.title {
  text-align: center;
  padding-top: 70.31%; /* 9:12.8 */
  position: relative;
}
@media screen and (min-width: 1080px), print {
  .title {
    padding-top: 50%;
    text-align: left;
  }
}
.title__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.title__txt {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.2rem;
  color: #ede4cd;
  text-shadow: 3px 3px 5px #373737;
  font-size: 3.8rem;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .title__txt {
    font-size: 4.2rem;
  }
}
@media screen and (min-width: 1080px), print {
  .title__txt {
    padding-left: 10%;
    font-size: 4.2rem;
  }
}

.hamburger {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 3;
}
@media screen and (min-width: 1080px), print {
  .hamburger {
    display: none;
  }
}
.hamburger__button {
  width: 38px;
  height: 38px;
  border-radius: 10%;
  background: rgba(42, 42, 42, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s;
}
.hamburger__button:hover {
  background: rgba(108, 148, 76, 0.5);
}
.hamburger__button > span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 8px;
  height: 3px;
  border-radius: 1px;
  background: #fff;
  width: 60%;
}
.hamburger__button > span:nth-child(1) {
  top: 9px;
}
.hamburger__button > span:nth-child(2) {
  top: 17px;
}
.hamburger__button > span:nth-child(3) {
  top: 25px;
}
.hamburger__button.is-active {
  transform: rotateX(360deg);
}
.hamburger__button.is-active > span:nth-child(1) {
  top: 11px;
  left: 9px;
  transform: translateY(6px) rotate(-135deg);
  width: 55%;
}
.hamburger__button.is-active > span:nth-child(2) {
  opacity: 0;
}
.hamburger__button.is-active > span:nth-child(3) {
  top: 23px;
  left: 9px;
  transform: translateY(-6px) rotate(135deg);
  width: 55%;
}
.hamburger__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 1vh;
  left: 1vw;
  width: 98vw;
  height: 98vh;
  margin: 0 auto;
  padding: 20%;
  text-align: center;
  z-index: 2;
  background: #818181;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s linear;
}
.hamburger__list.is-active {
  opacity: 0.95;
  pointer-events: auto;
}
.hamburger__item {
  height: 50px;
  display: flex;
  align-items: center;
}
.hamburger__item > a {
  display: block;
  font-size: 2rem;
  color: #fff;
  position: relative;
  font-family: "Josefin Sans", sans-serif;
}
.hamburger__item > a:hover {
  color: #8a7132;
}
.hamburger__item > a:hover::after {
  transform: scale(1, 1);
}

.contents {
  font-size: 1.4rem;
  line-height: 2;
  padding: 0 4%;
  text-align: center;
  margin: 0 auto;
  max-width: 1100px;
}
.contents__container {
  padding-top: 130px;
}
.contents__container:nth-last-child(1) {
  padding-bottom: 130px;
}
.contents__title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 3.2rem;
  margin: 0;
  padding-bottom: 5vh;
  position: relative;
}
.contents__title::after {
  content: "";
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translate(-50%) rotate(30deg);
  width: 2px;
  height: 30px;
  background-color: #8a7132;
}

.profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
@media screen and (min-width: 1080px), print {
  .profile {
    flex-direction: row;
  }
}
.profile__img {
  max-width: 250px;
  width: 30%;
}
@media screen and (min-width: 1080px), print {
  .profile__img {
    width: 30%;
  }
}
.profile__img > img {
  border-radius: 50%;
}
.profile__txt {
  padding: 0 30px;
}
.profile__txt > p {
  line-height: 2.5;
}
@media screen and (min-width: 1080px), print {
  .profile__txt {
    width: 60%;
    padding: 0;
  }
}

.works__list {
  margin: 0;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
}
@media screen and (min-width: 1080px), print {
  .works__list {
    padding: 0 20px 0;
  }
}
.works__img {
  padding-top: 75%;
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  transition: 0.5s all;
}
.works__img:hover {
  transform: scale(1.05, 1.05);
}
.works__img--1 {
  background-image: url(../images/works1.jpg);
}
.works__img--2 {
  background-image: url(../images/works2.jpg);
}
.works__img--3 {
  background-image: url(../images/works3.jpg);
}
.works__img--4 {
  background-image: url(../images/works4.jpg);
}
.works__img--5 {
  background-image: url(../images/works5.jpg);
}

.popUp {
  margin-bottom: 50px;
}
.popUp__open {
  cursor: pointer;
}
.popUp__open--check {
  display: none;
}
.popUp__close {
  width: 25px;
  height: 25px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 25px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  border: solid 1px #373737;
}
.popUp__close:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transform: scale(1.05, 1.05);
}
.popUp__close--btn {
  position: static;
  padding: 5px 20px;
}

#pop-up1:checked + .overlay {
  display: block;
}

#pop-up2:checked + .overlay {
  display: block;
}

#pop-up3:checked + .overlay {
  display: block;
}

#pop-up4:checked + .overlay {
  display: block;
}

#pop-up5:checked + .overlay {
  display: block;
}

.overlay {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(37, 37, 37, 0.5);
  z-index: 4;
}
.overlay__container {
  width: 95vw;
  height: 96vh;
  background-color: #e0e1c9;
  position: fixed;
  top: 2vh;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  padding: 10%;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  overflow-y: scroll;
}
@media screen and (min-width: 1080px), print {
  .overlay__container {
    width: 60%;
    padding: 3%;
  }
}
.overlay__img > img {
  max-width: 500px;
}
.overlay__title {
  font-size: 1.8rem;
  margin: 30px 0;
}
.overlay__info {
  padding: 0;
  text-align: left;
}
.overlay__info > li {
  margin: 20px 0 0;
}
.overlay__info > li:nth-last-child(1) {
  text-align: center;
}
.overlay__info > li h4 {
  margin: 0;
}
.overlay__info > li p {
  margin: 5px;
}

.skill__list {
  padding: 0 20px;
  text-align: left;
}
.skill__items {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.skill__items:nth-last-child(1) {
  margin-bottom: 0;
}
.skill__items--left {
  text-align: center;
  width: 20%;
}
.skill__items--right {
  width: 70%;
}
.skill__items--right > h3 {
  font-family: "cochin";
  margin: 0 0 10px;
  font-size: 1.8rem;
}
.skill__items--right > h3 > span {
  font-size: 1.4rem;
}
.skill__items--right > p {
  margin: 0 0;
}
.skill__icons {
  width: 50px;
  filter: opacity(70%);
}
.skill__icons.tweak {
  width: 55px;
}

.contact__txt {
  padding: 0 20px 30px;
}
.contact__txt > p {
  margin: 0;
}
.contact__wrapper {
  position: relative;
  width: 100%;
  height: 1100px;
}
@media screen and (min-width: 768px) {
  .contact__wrapper {
    height: 897px;
  }
}
.contact__form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bleadcrumb {
  text-align: left;
  margin: 0;
  padding: 0 0 30px;
}
.bleadcrumb__list {
  position: relative;
  display: inline-block;
  margin-right: 0.2em;
}
.bleadcrumb__list:last-child::after {
  content: none;
}
.bleadcrumb__list::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -19px;
  border-style: solid;
  border-color: transparent;
  border-left-color: #a7a79b;
  border-width: 7px 12px;
  width: 0;
  height: 0;
}
.bleadcrumb__item {
  display: inline-block;
  padding: 0 0.3em;
  height: 28px;
  line-height: 28px;
  text-decoration: none;
  color: #373737;
  background: #a7a79b;
  font-size: 1.4rem;
  font-family: "Josefin Sans", sans-serif;
  border-radius: 3px;
  transition: 0.3s;
}
.bleadcrumb__item:hover {
  transform: translateY(-3px);
}

.button--form {
  margin: 0 auto;
  max-width: 50px;
  filter: sepia(0.3);
}
.button--form img {
  transform: rotateZ(0deg);
}
.button--form img:hover {
  transition: 0.7s;
  transform: rotateZ(360deg);
  filter: hue-rotate(240deg);
}

.footer {
  position: relative;
  width: 100%;
  height: 70px;
  text-align: center;
}
.footer__img {
  background-image: url("../images/footer_bunner.gif");
  width: 100%;
  height: inherit;
  background-position: center;
  background-size: cover;
}
.footer__txt {
  color: #fff;
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#pageTop {
  width: 30px;
  height: 30px;
  position: fixed;
  bottom: 20px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  cursor: pointer;
  transform: translateY(100px);
}
#pageTop:hover {
  background: rgba(209, 191, 89, 0.5);
}
#pageTop.upMove {
  -webkit-animation: upAnime 0.5s forwards;
          animation: upAnime 0.5s forwards;
}
@-webkit-keyframes upAnime {
  from {
    opasity: 0;
    transform: translateY(100px);
  }
  to {
    opasity: 0.7;
    transform: translateY(0px);
  }
}
@keyframes upAnime {
  from {
    opasity: 0;
    transform: translateY(100px);
  }
  to {
    opasity: 0.7;
    transform: translateY(0px);
  }
}
#pageTop.downMove {
  -webkit-animation: downAnime 0.5s forwards;
          animation: downAnime 0.5s forwards;
}
@-webkit-keyframes downAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}
@keyframes downAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}
#pageTop .pageTop__icon {
  color: rgba(55, 55, 55, 0.7);
}
/*# sourceMappingURL=style.css.map */