html {
  font-size: 10px;
}
body {
  font-family: "小塚ゴシック Pro", "Inter";
  src: url("font/Inter-VariableFont_slnt,wght.ttf") format("truetype");
  color: #090542;
  box-sizing: border-box;
  width: 100%;
  overflow-x:hidden ;
}
a {
  text-decoration: none;
  color: #c53daa;
  font-size: 2rem;
  line-height: 1.6;
}
p {
  font-size: 3.2rem;
  line-height: 1.6;
}
.flex {
  display: flex;
  justify-content: space-between;
}
.wrap {
  width: 76%;
}
.inner {
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 100px 0;
}
.bg-color {
  background-color: #f6f4ee;
}
header {
  width: 24%;
}
header {
  text-align: center;
  margin-bottom: 100px;
}
header .flex {
  margin-top: 160px;
  justify-content: center;
}
header .flex img {
  padding: 16px;
}
header .logo {
  margin: 130px auto 90px;
}
header ul li {
  padding-bottom: 20px;
}
footer {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #334114;
  color: #fff;
}
.flex-r {
  flex-direction: row-reverse;
}
.txt-r,
.txt-l {
  font-size: 5rem;
}
.txt-r {
  text-align: right;
}
.bold {
  font-weight: bold;
}
.introduction h2,
.skill h2,
.office h2,
.flow-about h2 {
  margin-bottom: 100px;
}
small {
  font-size: 14px;
}
/* top */
.mv {
  width: 76%;
}
.slick {
  margin-top: 162px;
  width: 100%;
  max-width: 1024px;
}
.slick img {
  width: 90%;
  max-width: 1024px;
  height: 550px;
  border-radius: 25px;
}
p.scroll {
  display: inline-block;
  position: absolute;
  right: 5%;
  bottom: -8%;
  z-index: 2;
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #202020;
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
}
p.scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: #202020;
}
p.scroll::after {
  animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.catch {
  font-size: 8rem;
  font-weight: bold;
  position: absolute;
  right: 100px;
  top: 57%;
}
.mv:before {
  top: -600vh;
  bottom: 48%;
  left: 60%;
  width: 40vw;
  position: absolute;
  content: "";
  background-color: #b9bb8d;
}
.home .about img,
.home .works img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 80px 0;
  border-radius: 50px;
}
.home .about .txt-l,
.home .works .txt-l,
.home .works .txt-r {
  margin-top: 50px;
}
.home .about .arrow-btn,
.home .works .arrow-btn {
  font-size: 2.4rem;
  margin-top: 70px;
}
.home .arrow {
  width: 100%;
  max-width: 300px;
  height: 8px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: skew(45deg);
  margin-top: 80px;
  margin-left: auto;
}
.home .works img {
  margin: 0 auto 100px 100px;
}
.home .works img:nth-of-type(2n) {
  margin: 0 auto 100px 0;
}
.flex-r .arrow {
  width: 100%;
  max-width: 300px;
  height: 8px;
  border-bottom: 1px solid #000;
  border-right: none;
  border-left: 1px solid #000;
  transform: skew(135deg);
  margin: 80px auto 0 0;
}
.contact p {
  text-align: left;
}
.contact-btn {
  width: 100%;
  max-width: 400px;
  height: 120px;
  background-color: #6f8146;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.2);
}
/* about */
.introduction {
  width: 76%;
  max-width: 1024px;
  margin-right: auto;
}
.intr-inner {
  margin-top: 300px;
  margin-right: auto;
  text-align: right;
}
.intr-inner h2 {
  margin-bottom: 90px;
}
.intr-inner img,
.office img {
  width: 100%;
  max-width: 350px;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 25px;
  margin-right: 5%;
}
.office img {
  margin-left: 5%;
}
.skill .txt-r + p {
  text-align: right;
}
/* flow */
.flow-about {
  width: 76%;
  max-width: 1024px;
  margin-right: auto;
  margin-bottom: 150px;
}
.flow-inner {
  margin-top: 300px;
  margin-right: auto;
}
.flow-desc img {
  max-width: 300px;
  max-height: 300px;
  object-position: center;
  object-fit: cover;
  border-radius: 50px;
}
.flow-desc .flex {
  margin-bottom: 60px;
}
.flow-desc .flex div {
  width: 60%;
}
.about body {
  display: flex;
}
/* contact */
.contact label {
  font-size: 2rem;
}
.contact .wpcf7-form-control {
  width: 50%;
  min-height: 30px;
}
.contact .wpcf7-submit {
  background-color: #6f8146;
  border-radius: 10px;
  font-size: 2rem;
  padding: 5px 0;
  margin-top: 20px;
  color: #fff;
}
/* 投稿ページ */
.single .flex div{
  width: 70%;
  margin-top: 100px;
  margin-right: auto;
}
.single .flex div span, .single .flex div h2,
.single .flex div p{
  font-size: 1.8rem;
  margin-bottom: 50px;
  line-height: 1.5;
}
/* ナビゲーションメニュー */
@media only screen and (max-width:768px) {
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    z-index: 10;
  }
  nav ul {
    list-style: none;
  }
  nav li:not(:last-child) {
    margin-bottom: 30px;
  }
  #navbtn {
    position: fixed;
    top: 50px;
    right: 50px;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    width: 30px;
    height: 20px;
    cursor: pointer;
    visibility: visible;
    z-index: 100;
    opacity: 1;
  }
  #navbtn::before,
  #navbtn::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #333333;
    transform: translateY(10px);
  }
  #navbtn::before {
    transform: translateY(-10px);
    box-shadow: 0 10px #333333;
  }
  .open #navbtn {
    z-index: 100;
  }
  .open #navbtn::before {
    transform: rotate(-45deg);
    box-shadow: none;
  }
  .open #navbtn::after {
    transform: rotate(45deg);
    box-shadow: none;
  }
  .open nav {
    visibility: visible;
    opacity: 1;
  }
}
/* レスポンシブ対応 */
@media only screen and (max-width:1400px) {

  .slick img{
    height:auto;
  }
  .catch{
    right:5%;
    font-size: 4rem;
    top:48%;
  }
  .mv:before {
    bottom:60%;
  }
  .txt-r, .txt-l,h2{
    font-size: 3rem;
  }
  p{
    font-size: 1.6rem;
  }
  .arrow-btn{
    font-size: 1.8rem!important;
  }
  .introduction{
    width: 70%;
    max-width: 1024px;
    margin: 0 auto;
    margin-bottom: 50px;
  }
}
@media only screen and (max-width:768px) {
  .flex{
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    position: relative;
  }  
  header .flex {
    flex-direction: row;
  }
  .catch{
    right:-30%;
  }
  .mv:before {
    bottom: 70%;
    left:62%;
  }
  .slick{
    margin-top:0px;
  }
  p.scroll{
    display: none;
  }
  header{
    margin-bottom: 50px;
  }
  .home .mv{
  margin-bottom: 100px;
  }
  .txt-r,.txt-l{
  margin-bottom: 20px;
  font-size: 2rem;
  }
  .home .about img, .home .works img{
    margin: 0 0 20px 0;
  }
  .catch{
    font-size: 2.4rem;
  }
  .contact p{
    margin-bottom: 20px;
  }
  .contact-btn{
    height: 60px;
  }

  .intr-inner h2{
    margin-top: 20px;
  }
  .intr-inner img, .office img {
    margin-top: 20px;
  }
  .flow-inner{
    margin-top: 0;
  }
  .flow-desc img{
    margin-bottom:20px;
  }
}

