/* CSS Document */

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

body {
  font-family: 'Bree Serif', serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .8px;
  word-break: break-all;
  color: #333;
  margin: 0;
}

a {
  text-decoration: none;
}

img,
video,
object {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.text-bold {
  font-weight: bold;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.url-link {
  color: #00008b;
}

.pageTop-link {
  font-size: 12px;
  font-weight: bold;
  display: block;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #ccc;
  color: #333;
}

.hover-action-01 {
  display: block;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
  -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
}

.hover-action-01:hover {
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  -webkit-transform: translate(0, -4px);
  -moz-transform: translate(0, -4px);
  -ms-transform: translate(0, -4px);
  -o-transform: translate(0, -4px);
  transform: translate(0, -4px);
  -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .12);
  -moz-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .12);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .12);
}

/*-------------------------------
fadein
---------------------------------*/

.works,
.feature,
.about,
.skill,
.contact,
.footer {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1500ms;
}

.works.scrollin,
.feature.scrollin,
.about.scrollin,
.skill.scrollin,
.contact.scrollin,
.footer.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/*--------------------------------
 全体
---------------------------------*/

.bg-list {
  width: 100%;
  height: 100vh;
  position: fixed;
}

.bg-item {
  height: 100%;
  width: 100%;
  background-size: cover, cover;
  -o-background-size: cover, cover;
  -moz-background-size: cover, cover;
  -webkit-background-size: cover, cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.bg-item::after {
  content: '';
  background-color: rgba(255, 255, 255, .5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.bg-item--spring {
  background-image: url(../img/spring.webp);
}

.bg-item--summer {
  background-image: url(../img/summer.webp);
}

.bg-item--autumn {
  background-image: url(../img/autumn.webp);
}

.bg-item--winter {
  background-image: url(../img/winter.webp);
}


@media screen and (max-width: 500px) {

  @media screen and (-webkit-min-device-pixel-ratio:0) {

    ::i-block-chrome,
    body {
      position: relative;
      text-size-adjust: none;
      background: #fff url(../img/summer.webp) no-repeat center center fixed;
      background: #fff url(../img/summer.webp) no-repeat center center/cover fixed;
    }

    ::i-block-chrome,
    body::before {
      content: "";
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 0;
      width: 100%;
      height: 100vh;
      background: url(../img/summer_sp.webp) center no-repeat;
      background-size: cover;
      z-index: 1;
    }

    ::i-block-chrome,
    .wrapper .bg-item {
      display: none !important;
    }
  }
}

.section {
  padding: 100px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

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

.section-text {
  background-color: rgba(247, 247, 247, 0.8);
  padding: 20px 20px 20px;
  border-radius: 10px;
}

.section-title-area {
  margin-bottom: 38px;
  text-align: center;
}

.section-title {
  font-family: "Open sans", sans-serif;
  font-size: 40px;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: .05em;
}

.section-image a {
  display: block;
}

.section-definitionDetail {
  margin: 0;
}

.section-link {
  font-size: 20px;
}

.about .inner,
.skill .inner {
  max-width: 1000px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.mainvisual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86vh;
}

.mainvisual a {
  color: #333;
}

.mainvisual .logo {
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

.mainvisual .logo-title {
  font-family: "Open sans", sans-serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: .2em;
  font-family: monospace;
  width: 18ch;
  border-right: .08em solid;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 4s steps(11, end), caret .5s step-end infinite;
}

.mainvisual .logo-desc {
  font-size: 20px;
  margin-top: 5px;
  text-align: center;
  letter-spacing: .2em;
}

/*--------------------------------
 グローバルナビ
---------------------------------*/

.gnav {
  background-color: #fff;
  -webkit-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, .2);
  box-shadow: 0 3px 3px -3px rgba(0, 0, 0, .2);
}

.gnav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
}

.gnav a {
  color: #333;
}

.globalMenuSp ul li:hover {
  opacity: 0.5;
}

.gnav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gnav li {
  font-family: "Open sans", sans-serif;
  font-size: 16px;
  padding: 0 24px;
  letter-spacing: .05em;
}

.gnav li a {
  position: relative;
  display: inline-block;
  padding: 20px 0 15px;
  margin-bottom: 10px;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  color: #333;
}

.gnav li a:hover {
  opacity: 1;
}

.gnav li a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

.gnav li a:hover::after {
  width: 100%;
}

/*--------------------------------
 Card
---------------------------------*/
.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-image img {
  width: 100%;
}

.card-caption {
  text-align: center;
}

.card-caption-title {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.card-caption-info {
  font-size: 10px;
}

.card-caption-url {
  font-size: 10px;
}

.card img.fadein {
  -webkit-transition: 1.5s;
  -moz-transition: 1.5s;
  -ms-transition: 1.5s;
  -o-transition: 1.5s;
  transition: 1.5s;
  opacity: 0;
}

.works .card img {
  width: 100%;
  height: 262px;
  object-fit: cover;
  object-position: top;
}

.card img.fadein.lazyloaded {
  opacity: 1;
}

/*--------------------------------
 WORKS
---------------------------------*/

.works .card {
  flex-basis: 31%;
  margin-bottom: 60px;
}

.works a {
  color: #0000cd;
}

.works .card-wrapper::after {
  display: block;
  flex-basis: 31%;
  content: "";
}

.works .card:nth-child(3n+1):nth-last-child(-n+3),
.works .card:nth-child(3n+1):nth-last-child(-n+3)~.bg-item {
  margin-bottom: 0;
}

/*--------------------------------
 FEATURE
---------------------------------*/

.feature a {
  color: #0000cd;
}

.feature .section-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feature .section-image {
  flex-basis: 58%;
}

.feature .section-image img {
  width: 100%;
  margin: 0 auto;
}

.feature .section-desc {
  flex-basis: 37%;
}

/*--------------------------------
 ABOUT
---------------------------------*/

.about .section-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about .section-image {
  flex-basis: 20%;
  margin: 0 auto;
}

.about .section-image a {
  display: block;
  border-radius: 50%;
}

.about .section-image img {
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 25px 0 #d9d9d9;
}

.about .section-desc {
  flex-basis: 90%;
  margin: 0 auto;
}

/*--------------------------------
 SKILL
---------------------------------*/

.skill .card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}

.skill .card {
  display: flex;
  flex-basis: 46%;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.skill .skill-icon {
  flex-basis: 60px;
}

.skill .skill-desc {
  flex-basis: calc(100% - 60px - 30px);
}

.skill .skill-desc-title {
  margin-bottom: 3px;
}

.skill .rate {
  font-size: 16px;
  position: relative;
  display: inline-block;
  width: 100%;
  height: 20px;
  letter-spacing: .3em;
}

.skill .rate:before,
.skill .rate:after {
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  height: 20px;
  content: "★★★★★";
}

.skill .rate:before {
  color: #ddd;
}

.skill .rate:after {
  overflow: hidden;
  white-space: nowrap;
  color: #f181b4;
}

.skill .rate1:after {
  width: 20px;
}

.skill .rate2:after {
  width: 40px;
}

.skill .rate3:after {
  width: 60px;
}

.skill .rate4:after {
  width: 80px;
}

.skill .rate5:after {
  width: 100px;
}

/*--------------------------------
 CONTACT
---------------------------------*/

.contact .contact-list ul {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 150px;
  margin: 0 auto;
}

.contact .contact-list li {
  display: flex;
  align-items: center;
  text-align: center;
}

.contact .contact-list li a {
  color: #333;
}

.contact .contact-list li img {
  width: 50px;
}

.contact .contact-list-desc {
  font-weight: bold;
}

.contact .contact-other {
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

.contact .contact-other a {
  color: #0000cd;
  font-size: 1.5vw;
}

/*--------------------------------
 Footer
---------------------------------*/

.footer {
  background-color: #1d1d1d;
}

.footer .inner {
  padding: 30px;
}

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

/*media Queries 767
----------------------------------------------------*/

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

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .hover-action-01 {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
  }

  .hover-action-01:hover {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }


  .mainvisual {
    height: 70vh;
  }

  .mainvisual .logo-title {
    font-size: 28px;
    letter-spacing: .16em;
  }

  .mainvisual .logo-desc {
    font-size: 11px;
  }

  .gnav {
    padding: 0;
    background-color: rgba(247, 247, 247, 0.65);
  }

  nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: #fff6E6;
    color: #000;
    text-align: center;
    transform: translateY(-101%);
    transition: all 0.6s;
    width: 100%;
    max-width: 1024px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  nav.globalMenuSp ul {
    background: #fff;
    margin: 38px auto 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(247, 247, 247, 0.65);
  }

  nav.globalMenuSp ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    margin: 10px auto 0;
    max-width: 250px;
    width: 100%;
    height: 25px;
    border-radius: 8px;
    background: #fff;
  }

  nav.globalMenuSp ul li:hover {
    opacity: 0.3;
  }

  nav.globalMenuSp.active {
    transform: translateY(0%);
    transform: translateY(0%);
    max-width: 1024px;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    height: 30vh;
  }

  .navToggle {
    display: block;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 42px;
    height: 51px;
    cursor: pointer;
    z-index: 2000;
    text-align: left;
  }

  .navToggle span {
    display: block;
    position: absolute;
    width: 18px;
    border-radius: 8px;
    border-bottom: solid 4px #ccc;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
  }

  .navToggle span:nth-child(1) {
    top: 9px;
  }

  .navToggle span:nth-child(2) {
    top: 18px;
  }

  .navToggle span:nth-child(3) {
    top: 27px;
  }

  .navToggle a {
    font-size: 12px;
    position: absolute;
    top: 35px;
  }

  .navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .navToggle.active span:nth-child(2),
  .navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .gnav ul {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 60px;
    margin: 0;
  }

  .gnav li {
    font-size: 13px;
    padding: 2px 15px;
    background: rgba(247, 247, 247, 0.5);
  }

  .gnav li a {
    padding: 0;
  }

  .gnav li a:hover {
    opacity: 1;
  }

  .gnav li a::after {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .section .inner {
    padding: 0 15px;
  }

  .section .section-title-area {
    margin-bottom: 20px;
  }

  .section .section-title {
    font-size: 22px;
  }

  .card-caption {
    text-align: left;
  }

  .card-caption-title {
    font-size: 10px;
  }

  .works .card:nth-child(2n+1):nth-last-child(-n+2),
  .works .card:nth-child(2n+1):nth-last-child(-n+2)~.bg-item {
    margin-bottom: 0;
  }

  .works .card {
    flex-basis: 48%;
    margin-bottom: 30px;
  }

  .feature .section-image,
  .feature .section-desc {
    flex-basis: 100%;
  }

  .feature .section-image {
    margin-bottom: 20px;
  }

  .about.section-image,
  .about .section-desc {
    flex-basis: 100%;
  }

  .about .section-image {
    flex-basis: 100px;
    margin: 0 auto 20px;
  }

  .skill .card-wrapper {
    width: 100%;
  }

  .skill .card {
    flex-basis: 100%;
  }

  .skill .skill-icon {
    flex-basis: 45px;
  }

  .skill .skill-icon img {
    width: 45px;
  }

  .skill .skill-desc {
    flex-basis: calc(100% - 45px - 10px);
  }

  .skill .rate {
    font-size: 15px;
    height: 15px;
  }

  .skill .rate:before,
  .skill .rate:after {
    line-height: 15px;
    height: 15px;
  }

  .skill .rate1:after {
    width: 15px;
  }

  .skill .rate2:after {
    width: 35px;
  }

  .skill .rate3:after {
    width: 55px;
  }

  .skill .rate4:after {
    width: 75px;
  }

  .skill .rate5:after {
    width: 95px;
  }

  .contact .contact-list ul {
    width: 100px;
  }

  .contact .contact-list li img {
    width: 30px;
  }

  .contact .contact-list-desc {
    font-size: 12px;
  }

  .contact .contact-other a {
    color: #0000cd;
    font-size: 3vw;
  }

  .footer .inner {
    padding: 20px 0;
  }
}
