*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}
body {
  font-family:"Times New Roman", "Montserrat","Helvetica Neue",Arial,'游明朝','Yu Mincho',YuMincho,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #f7f7f7;
  margin: 0;
  background-color: #002147;
}
.fade {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.5s, transform 1s;
}

.fade.active {
  opacity: 1;
  transform: translateY(0px);
}
a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}



.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
レイアウト
---------------------------------*/

.section {
  padding: 200px 0;
}
/* 
.section:nth-of-type(odd) {
  background-color: #f7f7f7; 
} */

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/*--------------------------------
見出し
---------------------------------*/
.title {
  display: flex;
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  align-items: center;
  letter-spacing: .05em;
  color: #E0C385;
  text-shadow: 3px 3px 6px rgba(160, 130, 90, 0.7)
}

.title:before,
.title:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #E0C385;
}
.title::before {
  margin-right: 15px; /* 文字との余白 */
}
.title::after {
  margin-left: 15px; /* 文字との余白 */
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  display: none;
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0,0,0,.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #002147;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #002147;
}
.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #002147;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100vh;
}

.mv-sp{
  display: none;
}

.mv-container {
  position: relative;

}

.mv-container img {
  height: auto;
}

.arrows-container {
  display: none; /* 初期状態では非表示 */
}

.arrows {
  width: 60px;
  height: 72px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: 20px;
}

.arrows path {
  stroke: #ffffff;
  fill: transparent;
  stroke-width: 1.5px;  
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite; 
}

@keyframes arrow
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

.arrows path.a1 {
  animation-delay:-1s;
  -webkit-animation-delay:-1s; /* Safari 和 Chrome */
}

.arrows path.a2 {
  animation-delay:-0.5s;
  -webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
}

.arrows path.a3 { 
  animation-delay:0s;
  -webkit-animation-delay:0s; /* Safari 和 Chrome */
}

/* vegasのカスタム最終表示 */
.vegas-transition-slideFromLeft {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-in-out;
}

/* カスタム変化前 */
.vegas-transition-slideFromLeft-in {
  clip-path: inset(0 0 0 0);
}


/*--------------------------------
 Works
---------------------------------*/
#works {
  background-image: url(../img/nemophila.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

.works-container{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.nav-area li{
text-align: left;
list-style: none;
margin-bottom: 10px;
font-size: 18px;
margin-left: 35%;
}

.works-infomation{
  width: 30%;
  text-align: center;
}
.works-infomation h3{
  padding-bottom: 20px;
}

.works-info {
  font-size: 14px;
  margin-top: 5px;
  text-align: center;
  padding-bottom: 30px;
} 

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: #f7f7f7;
}
:root{
--swiper-navigation-size: 20px;
}

/*--------------------------------
swiper
---------------------------------*/
.swiper {
  width: 68%;
  height: auto;
}

.mySwiper{
  margin: 0;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root {
  --swiper-theme-color: #E0C385;
}
/*--------------------------------
 Skill
---------------------------------*/
 #skill {
  background-image: url(../img/daisy.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;

} 

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}
.nav-area-sp{
  display: none;
}
/*--------------------------------
 About
---------------------------------*/

/* #about {
  background-image: url(../img/sakura.png);
  background-size: 50%;
  background-position: right;
} */
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.profile-img {
  width: 20%;
  margin-right: 30px;
  border-radius: 50%;
}
.profile-img img {
  border-radius: 50%;
}
.profile-body {
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
}

.profile-body h2 {
  margin-bottom: 30px;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
  background-image: url(../img/Osteospermum.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;

}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

input,textarea{
  border: #fff 1px solid;
  background-color: transparent;
  padding: 10px;
  margin-bottom: 30px;
  width: 50%;
}

input[type="submit"] {
  width: 20%;
}

.contact input,textarea {
  color: white; /* テキストの色を白に */
  background-color:  rgb(0, 33, 71, 0.5); /* 背景色を半透明の青に */
}


/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #E0C385;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #c95f66;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #fff;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.article-body img {
  width: 100%;
  height: auto;
}

.article-body h3:not(:first-child) {
  margin-top: 50px;
}

.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

#nav-sp,
#menu-sp {
  display: none;
}
/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */


  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  .gnav {
    display: none;
  }
  
  .hamburger {
    position: fixed;
    top: 15px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 200;
  }
  
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
  }
  
  #menu-sp {
    display: block;
    background-color: #192F60;
    float: right;
    padding: 0;
    border: none;
  }
  
  #nav-sp {
    background-color: #192F60;
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 80%;
    z-index: 200;
    display: none;
    padding-top: 50px;
  }

  #close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
  }
  
  #nav-sp nav ul {
    padding-left: 0;
  }
  
  #nav-sp nav li {
    list-style: none;
  }
  
  #nav-sp nav a {
    display: block;
    color: #ffffff;
    text-decoration: none;
  }
  
  #nav-sp .menu {
    text-decoration: none;
    margin: 0 20px;
    height: 44px;
    font-size: 16px;
  }

  /*  メインビジュアル */
  .mv {
    display: none;
  }
  .mv-sp{
    display: block;
    height: 100vh;
  }

  .mv-sp img{
    height: 100%;
  }
  .mv-title {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    top: 75%;
    font-size: 14px;
    line-height: 1.7;
  }

  /* Works */
  #works {
    height: 100vh;
    background-size: auto 100%;
  }
  .works-container{
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .nav-area-sp{
      display: block;
      width: 100%;
      text-align: center;
      margin-bottom: 20px;
    }
    .nav-area-sp ul{
    margin-bottom: 30px;
    background-color:  rgba(255, 255, 255, 0.5); 
    }
    .nav-area-sp li{
      text-align: left;
      list-style: none;
      margin-bottom: 10px;
      font-size: 18px;
      margin-left: 35%;
      }
    .nav-area-sp a{
      color: #002147;
    }
    
    .works-infomation{
      width: 80%;
    text-align: center;
    }
    .works-infomation h3{
      padding-bottom: 20px;
    }
    
    .nav-area {
      display: none;
    }
    
    .works-item {
      width: 31.74603%;
      margin-right: 1.58730%;
      margin-bottom: 40px;
      color: #f7f7f7;
    }
  
    .swiper,.mySwiper {
      width: 100%;
      height: auto;
    }

  .works-infomation h3{
    padding-bottom: 20px;
  }
  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  /* Skill */
  #skill {
    background-size: auto 100%;
  }
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }


  /* Contact */
  .contact {
    background-size: auto 100%;
  }
  input,textarea{
    width: 90%;
  }

  input[type="submit"] {
    width: 50%;
  }
  
  .contact-label {
    color: white; /* テキストの色を白に */
    background-color:  rgb(0, 33, 71, 0.5); /* 背景色を半透明の青に */
  }
  .contact input,textarea {
    color:rgb(0, 33, 71, 1); /* テキストの色を白に */
    background-color:  rgba(255, 255, 255, 0.8); /* 背景色を半透明の青に */
  }
  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
}
