/* PC、スマホ共通スタイル */
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}
body {
  /* ここにGoogle Fontsを指定します */
  font-family: "Playfair Display", "Garamond", "Noto Serif JP", "ヒラギノ明朝", serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #4f4f4f;
  margin: 0px;
  padding: 0px;
  display: none;
}

.wrpper {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.1em;
}

a {
  text-decoration: none;
  color: #4f4f4f;
  letter-spacing: 0.1em;
  line-height: 1.5em;
}

li {
  list-style: none;
}

p {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 1.5em;
}

.d-flex {
  display: flex;
}

/* Scroll　FadeinFadein */
.fadeIn {
  opacity: 0;         /* 初期値は透明にしておく */
  transition: 1.5s;    /* 動くスピードを1秒に指定 */
  position: relative; /* 相対位置の設定 */
  top: 50px;          /* 事前に下に50pxずらしておく */
}

.active {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}

/* セクションのタイトル */
.section-title {
  font-size: 4.8rem;
  font-weight: normal;
  margin: 0;
  padding: 120px 0 100px 0;
}

/* ヘッダー */

.container {
  background-color:white ;
  opacity: 0.7;
  border-bottom: solid 1px #878787;
  position: fixed;
  width: 100%;
  height: 80px;
  z-index: 10;
}

.logo {
  font-family: "Beau Rivage", cursive;
  color: #4f4f4f;
  font-size: 2.4rem;
  margin: 0;
  padding: 10px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 20;
  width: 1080px;
}

#nav-pc {
  font-size: 2.4rem;
}

#nav-pc ul {
  display: flex;
  align-items: center;
  padding-left: 0;
}

#nav-pc a {
  color: #4f4f4f;
  margin-left: 50px;
}

#nav-pc a:hover {
  opacity: 0.6;
}

#nav-sp,
#menu-sp {
 display: none;
}

/* メインビジュアル */

.main-visual {
  position: relative;
}

.main-visual-pc >img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.main-visual .main-visual-title {
  position: absolute;
  left: 20%;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Beau Rivage", cursive;
  color: white;
}

.main-visual-title > h1 {
  font-size: 12.8rem;
  font-weight:normal;
  letter-spacing: 0.10em;
  text-shadow: 4px 4px 4px rgb(160, 160, 160);
  margin: 0;
}

.main-visual-sp {
  display: none;
}
/* Sitetitle　Fadein */
.slideConts{
  opacity: 0;
}
.slide{
  animation: slideAnime 3s ease forwards;
}
@keyframes slideAnime {
  from {
  opacity: 0;
}

  to {
  opacity: 1;
  }
}
.txt1 {animation-delay: 0.2s;}
.txt2 {animation-delay: 0.8s;}

.main-visual-title > p {
  font-size: 6.4rem;
  letter-spacing: 0.10em;
  text-shadow: 4px 4px 4px rgb(160, 160, 160);
  margin: 10px;
}

/* Works Section */

/* 背景画像を設置 */
#works {
  background: url(../img/work_background.jpg);
  background-repeat: no-repeat;
  background-position:50% 50%;
  background-size:100%;
  padding:0 0 100px 0;
}

/* サムネイル */
.works-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0 auto 100px auto;
}

.works-list ul {
  padding: 0 30px;
}

.works-list-item {
  margin-bottom: 45px;
  }
  
.works-list-item a {
  color: #4f4f4f;
}

.home__works--thum {
  max-width: 300px;
}

.home__works--thum img {
  width: 100%;
}

.home__works--thum img:hover {
  opacity: 0.6;
}

.works-list-text {
  background-color: rgb(253 235 248 / 0.7);
  padding: 10px 0 10px 0;
  margin: 10px 0 0 0;
}

.works-list-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5em;
}

.works-list-title:hover {
  opacity: 0.6;
}

ul .post-categories {
  font-size: 1.4rem;
}

ul .post-categories:hover {
  opacity: 0.6;
}

/* 003 */
.more_button a {
  background: #fff;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 260px;
  padding: 15px 25px;
  color: #4f4f4f;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  font-size: 20px;
  border: solid 1px #4f4f4f;;
  box-shadow: 4px 4px 4px rgb(160, 160, 160);
}
.more_button a:hover {
  background: #FFE1F1;
  color: #4f4f4f;
}
.more_button a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #313131;
  border-right: 3px solid #313131;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.more_button a:hover:after {
  border-color: #4f4f4f;
}

/* Skills Section */
#skills {
  background-color: #F2EFF1;
  padding-bottom: 100px;
}

.skills-inner {
  max-width: 860px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.skills-column {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.skills-column-img {
  padding-left: 20px;
}

.skills-column-inner {
  margin-left: 30px;
}

.skills-column-inner span {
  display: block;
  text-align: left;
  font-size: 2rem;
  font-weight: bold;
  margin-left: 5px;
}

.skills-block {
  position: relative;
}

.skills-block-sp {
  display: none;
}

.skills-block > img {
  width: 100%;
}

.skills-block .skills-text {
  position: absolute;
  left: 20px;
  top: 30px;
  text-align: left;
  line-height: 1.5em;
  padding: 0 30px 0 10px;
  max-width: 100%;
}

.skills-icon {
  display: flex;
  flex-wrap: wrap;
  align-items:start;
  font-size: 14px;
  padding-left: 20px;
}

.skills-icon > p {
  background-color: #F0F0F0;
  border: solid 1px #4f4f4f;;
  border-radius: 100vh;
  margin: 0 10px 0 0;
  padding: 5px 15px;
}

.skills-icon .sp {
  display: none;
}

/* About Section */
#about {
  position: relative;
  background-image: url(../img/about.jpg); /* 背景画像のパス */
  background-repeat:no-repeat;
  background-size: 100%; /* 画像を横幅いっぱいに表示 */
  background-position: center center; /* 画像を中央に配置 */
  padding:0 0 100px 0;
}

.about-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

.about-photo {
  border-radius: 100px;
}
.about-inner-text {
  background-color: rgb(255, 255, 255, 0.7);
  text-align: left;
  line-height: 2em;
  height: 50%;
  padding: 20px 40px;
  transform: translateY(50%);
}

.about-inner-text p {
  line-height: 2em;
}

/* Contact Section */

#contact {
  background-color: #F2EFF1;
  padding-bottom: 120px;
}

form {
  margin: 100px auto 0 auto;
  max-width: 780px;
}

.wpforms-field {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 46px;
}

div.wpforms-container-full {
  border-bottom: 1px solid #4f4f4f;
}

/* ラベル */
.wpforms-container .wpforms-field-label {
  width: 240px;
  text-align: left;
}

.wpforms-field-label {
  margin: 0;
}

.wpforms-field-medium {
  width: 480px;
}

.wpforms-field-container .wpforms-field-required {
  height: 70px;
}

/* textarea */
.wpforms-container textarea.wpforms-field-large {
  width: 480px;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 46px;
}

.contact-heading {
  width: 240px;
  align-self: center;
}

.contact-span {
  color: red;
  margin: 0 0 0 20px;
}

.contact-textbox {
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom-width: 1px;
  border-bottom-color: #707070;
  border-style: solid;
  background-color: #ffffff;
  width: 480px;
  height: 70px;
}

/* Contact Textarea */

.contact-textarea {
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom-width: 1px;
  border-bottom-color: #707070;
  background-color: #fafafa;
  width: 480px;
  height: 260px;
}

.contact-textbox::placeholder {
  font-family: "Noto Serif JP", "ヒラギノ明朝", serif;;
}

.contact-textarea::placeholder {
  font-family: "Noto Serif JP", "ヒラギノ明朝", serif;;
}

.submit_button a {
  background: #fff;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 260px;
  padding: 11px 25px;
  color: #4f4f4f;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  font-size: 20px;
  border: solid 1px #4f4f4f;;
  box-shadow: 4px 4px 4px rgb(160, 160, 160);
}

.submit_button a:hover {
  background: #FFE1F1;
  color: #4f4f4f;
}
.submit_button a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #313131;
  border-right: 3px solid #313131;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.submit_button a:hover:after {
  border-color: #4f4f4f;
}

/* footer */
#footer{
  background-image: url(../img/footer-background.jpg);
  background-repeat:no-repeat;
  background-size: cover; /* 画像を横幅いっぱいに表示 */
  background-position: center center; /* 画像を中央に配置 */
  text-align: center;
}

#footer .logo {
  padding: 50px 0 30px 0;
}

.footer-link {
  margin-bottom: 50px;
}

.footer-link > a {
  font-size: 2.4rem;
  color: #4f4f4f;
  padding: 0 25px;
}

.footer-link > a:hover {
  text-decoration: underline;
  opacity: 0.7;
}

.sns-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  padding-bottom: 10px;
}

.sns-footer a > img {
  margin-right: 30px;
}

#copyright {  
  color: #4f4f4f;
  margin: 0;
  padding-bottom: 10px;
}

/*====================
  スマートフォン用のスタイル
 =====================*/
 @media screen and (max-width: 767px) {
    .section-title {
    font-size: 3.2rem;
    padding: 60px 0 50px 0;
  }

  /* PC用ナビゲーション非表示 */
  #nav-pc {
    display: none;
  }

  /* ハンバーガーメニュー */
  .header-inner {
    width: 90%;
  }

  #menu-sp {
    display: block;
    background-color: transparent;
    float: right;
    padding: 0;
    border: none;
  }

   /* スマホ用ナビゲーションの表示切替*/
   /* 初期状態、レイアウトと非表示設定 */
   #nav-sp {
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 100;
  }

  /* ×ボタン */
  #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: #4f4f4f;
  }

  #nav-sp nav a:hover {
    text-decoration: underline;
    opacity: 0.6;
  }

  #nav-sp .menu {
    text-decoration: none;
    margin: 0 20px 0 20px;
    height: 44px;
  }

  #sns {
    position: absolute;
    bottom: 20px;
    left: 20px;
  }

  #sns > a {
    margin-right: 30px;
  }

  /* mv */
  .main-visual-pc {
    display: none;
  }

  .main-visual-sp {
    display: block;
  }

  .main-visual-sp > img {
    width: 100%;
    max-width: 100%;
    height: auto
  }

  .main-visual .main-visual-title {
    left: 12%;
  }

  .main-visual-title > h1 {
    font-size: 5.6rem;
  }

  .main-visual-title > p {
    font-size: 2.4rem;
  }

  /* works */
  #works {
    padding: 0 0 60px 0;
  }
  
  .works-list {
    flex-direction: column;
    margin: 0 0 25px 0;
  }

  .works-list-item {
    max-width: 320px;
    margin: 0 auto 30px auto;
  }

  .works-list-text > h3 {
    font-size: 1.6rem;
  }

  .works-list-text > p {
    font-size: 1.2rem;
  }

  .more_button a {
    max-width: 180px;
    font-size: 1.6rem;
    padding: 10px 15px;
  }

  /* スマホ用skills */
  #skills {
    padding: 0 0 10px 0;
  }

  #skills .wrpper > p {
    margin: 0 20px;
  }

  .skills-inner {
    margin-top: 50px;
  }
  .skills-column {
    flex-direction: column;
    margin: 0 0 50px 0;
  }

  .skills-column-img {
    padding: 0;
  }

  .skills-column-inner {
    margin: 0;
    max-width: 360px;
  }

  .skills-column-inner > span {
    text-align: center;
    margin: 15px 0 0 0;
  } 
  
  .skills-block-pc {
    display: none;
  }

  .skills-block-sp {
    top: 10px;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 10px 0 10px 0;
  }

  .skills-block .skills-text {
    top: 20px;
    padding: 0 10px 0 0;
  }

  .skills-text > p {
    margin: 0;
    max-width: 300px;
  }

  .skills-icon {
    justify-content: center;
    padding: 0;
  }

  .skills-icon > p {
    font-size: 1.2rem;
    padding: 5px 8px;
    margin: 0 3px 0 3px;
  }

  .skills-icon .sp {
    display: block;
  }

  .skills-icon .pc {
    display: none;
  }
  
  /* スマホ用about */
  #about {
    padding-bottom: 60px;
  }

  .about-inner {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }

  .about-inner-text {
    font-size: 1.4rem;
    text-align: center;
    transform: none;
    padding: 20px 20px 0 20px;
  }

  .about-photo {
    max-width: 70%;
  }

  /* スマホ用contact */
  #contact {
    padding: 0 0 60px 0;
  }
  
  form {
    margin: 60px auto 0 auto;
  }

  #contact .wrpper > p {
    margin: 0 20px;
  }

  .contact-inner {
    flex-direction: column;
    margin: 0 20px 0 20px;
  }

  .contact-heading {

    min-width: 300px;
    width: 100%;
    margin-bottom: 20px;
  }

  .contact-textbox {
    align-items: center;
    min-width: 300px;
    width: 100%;
  }

  .contact-textarea {
    height: 150px;
    width: 100%;

  }

  .submit_button a {
    max-width: 180px;
    font-size: 1.6rem;
    padding: 10px 15px;
  }

  .submit_button img {
    width: 21px;
  }

  /* footer */
  #footer{
    background-image: url(../img/sp-footer.jpg);
    opacity: 0.8;
  }

  .footer-link {
    margin-bottom: 30px;
  }

  .footer-link > a {
    font-size: 1.6rem;
    padding: 0 15px;
  }

  .sns-footer {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .sns-footer a > img {
    width: 32px;
    margin: 0 10px;
  }

  #copyright {
    font-size: 1.2rem;
    padding: 30px 0 10px 0;
  }
}


/* Works-page */
.nav-background {
  background-image: url(../img/navbackground.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
}

#works-contents{
  padding-bottom: 100px;
}

.works-section-title {
  font-size: 4.8rem;
  font-weight: normal;
  padding: 160px 0 30px 0;
  margin: 0;
}

works__category--name h3 {
  font-size: 4rem;
  border-bottom: 1px solid #878787;
}

.works__category--item {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 50px 30px 60px 30px;
}

.works__category--item ul {
  padding: 0 20px;
  margin-bottom: 40px;
}

.size-post-thumbnail {
  max-width: 460px;
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.works__item--tag a {
  font-size: 1.4rem;
}

#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #f796c0;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #f796c0;
}


/*====================
  スマートフォン用のスタイル
 =====================*/
 @media screen and (max-width: 767px) {
  .section-title {
  font-size: 2rem;
  padding: 120px 0 50px 0;
  }

  .works-contents-title  {
    font-size: 2.4rem;
  }

  .works-contents-inner {
    flex-direction: column;
  }

  .works-contents-thumbnail {
    width: 320px;
    height: auto;
    border-radius: 25px;
  }
}

/* 制作実績　LILIAN */
#lilian {
  padding-bottom: 100px;
}

.nav-background {
  background-image: url(../img/navbackground.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
}

.site-title {
  font-size: 4.8rem;
  font-weight: normal;
  padding: 160px 0 30px 0;
  margin: 0;
}

#lilian .wrpper > p {
  margin: 0;
  padding: 50px;
  line-height: 2em;
}
.site-img {
  width: 100%;
  padding-bottom: 60px;
}

.site-text {
  text-align: left;
}



/*====================
  スマートフォン用のスタイル
 =====================*/
 @media screen and (max-width: 767px) {
  .site-title {
    font-size: 3.2rem;
  }
  .site-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0 20px 30px 20px;
  }

  #lilian .wrpper > p {
    padding:20px;
 }
}