body {
  font-family: "Lato","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .8px;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #dfc8ba;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

ul,
li {
  list-style: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.section {
  padding: 80px 0;
}

.inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 6rem;
  font-weight: 100;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #A47864;
}

.lead {
  margin-bottom: 30px;
  text-align: center;
}

/*--------------------------------
 ボタン
---------------------------------*/
.button {
  width: 300px;
}

.button-link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: .3s;
}

.button-text {
  font-size: 18px;
}

.bg-throungh {
  padding: 20px;
  border: 2px solid #333;
  color: #333;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.bg-throungh::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #dfc8ba;
  position: absolute;
  left: -100%;
  top: 0;
  transition: .8s;
  z-index: -1;
}

.bg-throungh:hover::before {
  left: 100%;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 8;
  right: 0;    
  z-index: 1;
  width: 100%;
  transition: background-color .6s;
}

.header.active {
  background-color: #A47864;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
}

.header-logo {
  font-size: 20px;
  font-weight: normal;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #fff;
  font-family:sofia-pro,"Noto Sans JP",sans-serif;}

.header-nav-list {
  display: flex;
  justify-content: space-between;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item a {
  font-size: 13px;
  padding: 5px 0;
  letter-spacing: .1em;
  color: #fff;
}

.header-nav-item a:hover {
  opacity: .8;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.main-visual-img {
  height: 700px;
  background-image: url(../img/mv.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.sub-main-visual-img {
  height: 180px;
  background-image: url(../img/mv.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/*--------------------------------
 プロフィール
---------------------------------*/
.profile {
  padding: 50px 0;
}

.profile-title {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #A47864;
  font-family:sofia-pro,"Noto Sans JP",sans-serif;

}

.profile-text {
  max-width: 500px;
  margin: 5em auto;
}
.profile-wrapper{
  display: flex;
  justify-content: center;
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.works-item {
  width: 48%;
  margin-right: 2%;
  margin-bottom: 40px;
  color: #333;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(2n) {
  margin-right: 0;
}

.works-img img {
  border: 1px solid #e6e6e6;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
}
.works-btn {
    text-align: center;
    margin: 0 auto;
    border-radius: 24px;
}

/*--------------------------------
 Skill
---------------------------------*/
.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 3px;
}
.skill-title {
  /*color: #dfc8ba;*/
  text-align-last: center;
  
}

.skill-text {
  max-width: 500px;
  margin: 1em auto 5em;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: block;
  margin: 0 20px;
  text-align: center;
}

.contact-text {
  margin-top: 10px;
  text-align: center;
}
.contact-list a {
  color:#A47864 ;
  font-size: xx-large;
    
}
/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #dfc8ba;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #A47864;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #dfc8ba;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 50px 0;
}

.article-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 20px;
  text-align: center;
}

.article-img {
  margin-bottom: 20px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-info-title {
  font-size: 15px;
}

.article-body img {
  margin-bottom: 30px;
}

.article-body p {
  margin-bottom: 30px;
}

.home-link {
  text-align: center;;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 13px;
    line-height: 1.7;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 39px;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .section {
    padding: 40px 0;
  }

  .inner {
    padding: 0 15px;
  }

  /* ヘッダー */
  .header-logo {
    font-size: 16px;
  }

  .header-nav-item:not(:last-child) {
    margin-right: 10px;
  }

  .header-nav-item a {
    font-size: 12px;
  }

  /* メインビジュアル */
  .main-visual-img {
    height: 60vh;
    background-image: url(../img/sp_mv.jpg);
  }
  .sub-main-visual-img {
    height: 100px;
    background-image: url(../img/sp_mv.jpg);
  }

  /* プロフィール */
  .profile {
    padding: 30px 0;
  }
  .profile-title {
    font-size: 20px;
  }

  /* Works */
  .works-name {
    font-size: 10px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  /* Contact */
  .contact-item {
    margin: 0 10px;
  }

  /* フッター */
  .footer {
    padding: 20px 0;
  }
}
@media screen and (min-width: 768px){
.br-sp {display: none; }
}


html:before,
html:after,
body:before,
body:after {
  content: "";
  background: #fff;
  position: fixed;
  display: block;
  z-index: 1;
}

/* 上 */
html:before {
  height: 10px; 
  width: 100vw;
  left: 0;
  top: 0;
}

/* 右 */
html:after {
  width: 10px;
  height: 100vh;
  right: 0;
  top: 0;
}

/* 下 */
body:before {
  height: 10px;
  width: 100vw;
  bottom: 0;
  left: 0;
}

/* 左 */
body:after {
  width: 10px;
  height: 100vh;
  top: 0;
  left: 0;
}


/*--------------------------------
 LOGIN ///
---------------------------------*/

.login-text {
  max-width: 500px;
  margin: 5em auto;
}


form {
  width: 400px;
  padding: 40px 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}

form p {
  font-size: 10px;
}

form input[type = "text"],form input[type = "password"] {
  border: 0;
  background: none;
  display: block;
  margin: 20px auto;
  border: 2px solid #000;
  padding: 15px 10px;
  width: 200px;
  outline: none;
  border-radius: 24px;
  transition: 0.25s;
  text-align: center;
}

form input[type = "text"]:focus,form input[type = "password"]:focus {
  width: 280px;
  background-color: #eee;
}

form input[type = "submit"]{
  border: 0;
  background: none;
  background-color: #dfc8ba;
  display: block;
  margin: 20px auto;
  border: 2px solid #A47864;
  padding: 15px 10px;
  width: 200px;
  outline: none;
  border-radius: 25px;
  transition: 0.25s;
  text-align: center;
  cursor: pointer;
}

form input[type = "submit"]:hover {
  background-color: #A47864;
  border: 2px solid #A47864;
}


/*--------------------------------
 protected_works.html
---------------------------------*/
/* mixitup */
.section-gallery {
  padding: 80px 100px 100px;
}
.section-gallery h3 {
  text-align-last: center;
  margin-bottom: 4.8rem;
}
.mixitup-list div {
  background-color: #fff;
  padding: 32px 32px 24px;
  border-radius: 20px;
  box-shadow: 0px 5px 15px #E0E0E0;
}
.mixitup-list img {
  padding-bottom: 8px;
}
.art-text {
  width: 100%;
  padding: 0;
}
.art-text p {
  font-size: 1.4rem;
}
.art-text small {
  font-size: 1.2rem;
}
.mixitup-button {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #cccccc;
  padding: 0 0 2rem;
}
.mixitup-button button {
  background-color: #fff;
  color: #333;
  border: 1px solid #333;
  padding: 8px 32px;
  border-radius: 10rem;
  font-size: 2rem;
}
.mixitup-button button:hover {
  border: 1px solid #333;
  background-color: #333;
  color: #fff;
}
.mixitup-list {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  row-gap: 4rem;
  column-gap: 24px;
  flex-wrap: wrap;
  padding: 2rem 0; /**/
}
.mixitup-list div {
  margin: 0;
  width: 280px;
  /*width: calc(60% / 3 - 0.75rem);*/
}
.mixitup-list div span {
  display: block;
  color: #ffffff;
  font-weight: bold;
  padding: 1rem;
}
#wrap::before, #wrap::after {
  position: fixed;
  z-index: 999;
  top: -15%;
  display: block;
  visibility: hidden;
  width: 50%;
  height: 130%;
  content: '';
  background-color: #85c6bf;
}
#wrap::before {
  left: 0;
  animation: curtain_l 3s;
  -webkit-animation: curtain_l 3s;
}
#wrap::after {
  right: 0;
  animation: curtain_r 3s;
  -webkit-animation: curtain_r 3s;
}
@keyframes curtain_l {
  0% {
    visibility: visible;
  }
  20% {
    transform: rotate(0deg) translateX(0%);
    background-color: #070739;
  }
  60% {
    transform: rotate(6deg) translateX(-50%);
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: rotate(0deg) translateX(-100%);
    opacity: 0;
    visibility: hidden;
  }
}
@-webkit-keyframes curtain_l {
  0% {
    visibility: visible;
  }
  20% {
    -webkit-transform: rotate(0deg) translateX(0%);
    background-color: #070739;
  }
  60% {
    -webkit-transform: rotate(6deg) translateX(-50%);
  }
  80% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(0deg) translateX(-100%);
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes curtain_r {
  0% {
    visibility: visible;
  }
  20% {
    transform: rotate(0deg) translateX(0%);
    background-color: #070739;
  }
  60% {
    transform: rotate(-6deg) translateX(50%);
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: rotate(0deg) translateX(100%);
    opacity: 0;
    visibility: hidden;
  }
}
@-webkit-keyframes curtain_r {
  0% {
    visibility: visible;
  }
  20% {
    -webkit-transform: rotate(0deg) translateX(0%);
    background-color: #070739;
  }
  60% {
    -webkit-transform: rotate(-6deg) translateX(50%);
  }
  80% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(0deg) translateX(100%);
    opacity: 0;
    visibility: hidden;
  }
}
@media (max-width: 1100px) {
  .section-gallery {
    padding: 80px 60px 100px;
  }
  .mixitup-button button {
    padding: 8px 16px;
    font-size: 1.4rem;
  }
}
@media (max-width: 500px) {
  .section-gallery {
    padding: 0 40px 100px;
  }
  .section-gallery h2 {
    font-size: 4rem;
    line-height: 6rem;
    margin-bottom: 0.8rem;
  }
  .mixitup-button {
    gap: 8px;
  }
  .mixitup-list div {
     width: 100%;
  }   
}
.copyright {
  font-family: "Outfit", "Lato", sans-serif;
  width: 100%;
  text-align: center;
  color: #F8F6F0;
  letter-spacing: 1px;
  position: relative;
  top: 0px;
  font-size: 1rem;
  z-index: 100;
}