@charset "UTF-8";
/*---------- 共通部分 ----------*/
html {
  font-size: 100%;
}

body {
  font-family: "Sedan SC", serif;
  color: #433f37;
  line-height: 1.5;
  background-color: #F3F4EF;
  overflow-x: hidden;
  animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
*, *::before, *::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #433f37;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  width: 100%;
	height: 100%;
  vertical-align: top;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

.orange {
  color: #CFA252;
}

/* フェードイン(初期値) */
.js-fadeUp {
  opacity: 0; /* 最初は非表示 */
  transform: translateY(30px); /* 下に30pxの位置から */
  transition: opacity 0.8s, transform 0.8s; /* 透過率と縦方向の移動を0.8秒 */
}

/* フェードイン(スクロールした後) */
.js-fadeUp.active {
  opacity: 1; /* 表示領域に入ったら表示 */
  transform: translateY(0); /* 30px上に移動する */
  transition-delay: 0.5s; /* フェード開始を0.5秒遅らせる */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}
.header__logo {
  width: 180px;
}
.header__logo a {
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
}
.header-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 20px;
}
.header-menu__item {
  transition: 0.7s;
}
.header-menu__item:hover {
  opacity: 0.7;
}
.header-menu__item a {
  display: block;
  text-transform: uppercase;
}
.header-menu__item--border {
  border: 1px solid #433f37;
  padding: 0 24px;
}

.burger {
  position: relative;
  border: 1px solid #433f37;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  display: none;
}

.burger__bar {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #433f37;
  width: 45%;
}

.burger__bar:nth-of-type(1) {
  top: 13px;
}

.burger__bar:nth-of-type(2) {
  top: 19px;
}

.burger__bar:nth-of-type(3) {
  top: 25px;
}

.burger__bar:nth-of-type(3)::after {
  content: "Menu";
  position: absolute;
  top: 5px;
  left: -5px;
  color: #433f37;
  font-size: 9.6px;
  text-transform: uppercase;
}

.burger.active .burger__bar:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.burger.active .burger__bar:nth-of-type(2) {
  opacity: 0;
}

.burger.active .burger__bar:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.burger.active .burger__bar:nth-of-type(3)::after {
  content: "Close"; /*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 0;
}

.burger-nav {
  position: fixed;
  top: 88.16px;
  right: -120%;
  width: 170px;
  height: 100%;
  text-align: center;
  padding-top: 5rem;
  transition: 0.4s;
  display: none;
}

.burger-nav.active {
  right: 0;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main {
  padding-top: 110px;
}

.main-visual {
  margin-top: 40px;
  overflow: hidden;
}
.main-visual__title {
  font-size: 60px;
  letter-spacing: 8px;
  margin-left: 80px;
}
.main-visual__text {
  font-family: serif;
  margin-left: 80px;
}
.main-visual-mv {
  margin-top: 80px;
  display: flex;
}
.main-visual-mv__text {
  width: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  font-size: 16px;
}
.main-visual-mv__text-line {
  width: 1px;
  height: 50%;
  background-color: #433f37;
  margin-top: 16px;
  position: relative;
}
.main-visual-mv__text-line::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 4px;
  height: 4px;
  background-color: #433f37;
  border-radius: 50%;
  animation: scroll 1.4s ease-in-out infinite;
}
.main-visual-mv__list {
  position: relative;
  width: calc(100% - 140px);
  height: calc(100vh - 360px);
  overflow: hidden;
}
.main-visual-mv__list-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: fade 16s linear infinite;
}
.main-visual-mv__list-item:nth-of-type(1) {
  animation-delay: -2s;
}
.main-visual-mv__list-item:nth-of-type(2) {
  animation-delay: 6s;
}
.main-visual-mv__list-item img {
  object-fit: cover;
  object-position: left;
}

@keyframes scroll {
  0% {
    top: 0;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    top: 90%;
    opacity: 0;
  }
}
/* 100 / 16 = 6.25% = 1秒 */
@keyframes fade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  6% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  62% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
  }
}
.section {
  position: relative;
  margin-top: 140px;
  overflow: hidden;
}
.section-title--left {
  position: absolute;
  top: 0;
  left: calc(50% - 600px);
  font-size: 100px;
  font-weight: 400;
  letter-spacing: 12px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #dbd8ce;
  text-stroke: 1px #dbd8ce;
  text-transform: capitalize;
  z-index: 2;
}
.section-title--right {
  position: absolute;
  top: 0;
  right: calc(50% - 600px);
  font-size: 100px;
  font-weight: 400;
  letter-spacing: 12px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #dbd8ce;
  text-stroke: 1px #dbd8ce;
  z-index: 2;
  word-break: keep-all;
}
.section-title--center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  font-weight: 400;
  letter-spacing: 12px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #dbd8ce;
  text-stroke: 1px #dbd8ce;
  z-index: 2;
}
.section-bg--left {
  position: absolute;
  top: 50px;
  right: 25%;
  background-color: #fff;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.section-bg--right {
  position: absolute;
  top: 50px;
  left: 25%;
  background-color: #fff;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.section-bg--center {
  position: absolute;
  top: 50px;
  background: linear-gradient(rgba(53, 53, 53, 0.6), rgba(53, 53, 53, 0.6)), url(https://portfolio.yoshi-code.com/wp-content/uploads/2024/08/contact.webp);
  background-size: cover;
  background-position: top;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.section-inner {
  position: relative;
  padding-top: 200px;
  padding-bottom: 150px;
  z-index: 3;
}

@media (max-width: 1249px) {
  .section-title--left {
    left: 24px;
  }
  .section-title--right {
    right: 24px;
  }
}
.works-list {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 80px;
  width: 80%;
  margin: 0 auto;
}
.works-list__item {
  width: 100%;
}
.works-list__item-title {
  font-family: serif;
  text-align: center;
  font-size: 20px;
}
.works-list__item-img {
  position: relative;
  display: block;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.09);
  aspect-ratio: 16/9;
  margin-top: 12px;
}
.works-list__item-img::before {
  content: "Read More";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  background-color: rgba(67, 63, 55, 0.8);
  font-size: 28px;
  color: #fff;
  opacity: 0;
  transition: 0.4s;
}
/* ホバーが使える端末 */
@media (hover: hover) {
  .works-list__item-img:hover::before {
    opacity: 1;
  }
}
/* ホバーが使えない端末 */
@media (hover: none) {
  .works-list__item-img:active::before {
    opacity: 1;
  }
}
.works-list__item-img img {
  object-fit: cover;
  object-position: center;
}

.works-lists {
  padding-top: 48px;
}
.works-lists__link {
  display: block;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  border: 1px solid #433f37;
  padding: 10px;
  max-width: 190px;
  display: block;
}

.about-flex {
  display: flex;
  justify-content: space-between;
}
.about-flex__item {
  height: 250px;
}
.about-flex__item-img {
  width: 30%;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.09);
}
.about-flex__item-text {
  width: 65%;
  font-family: serif;
  font-size: 16px;
}
.about-flex__item img {
  object-fit: cover;
  object-position: center;
}

.service-list {
  display: flex;
  justify-content: space-between;
}
.service-list__item {
  width: 28%;
  text-align: center;
}
.service-list__item-title {
  font-family: serif;
  font-size: 20px;
}
.service-list__item-logo {
  margin-top: 24px;
}
.service-list__item-logo img {
  width: 100px;
}
.service-list__item-text {
  text-align: left;
  margin-top: 40px;
  font-family: serif;
  font-size: 16px;
}

.contact-box {
  background-color: #F3F4EF;
  padding: 50px 100px;
}

.contact-text {
  font-family: serif;
  font-size: 16px;
  text-align: center;
}

.required {
  background-color: #CFA252;
  color: #fff;
  padding: 2px 8px;
  margin-right: 8px;
}

input[type=text], input[type=email] {
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  line-height: 2.375rem;
  padding-left: 14px;
  width: 100%;
  max-width: 350px;
  margin-top: 8px;
  outline: none;
  font-size: 16px;
}

textarea {
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  line-height: 1.7;
  padding: 7px 14px;
  width: 100%;
  max-width: 600px;
  margin-top: 8px;
  outline: none;
  font-size: 16px;
}

::placeholder {
  color: #b5b5b5;
}

/* 旧Edge対応 */
::-ms-input-placeholder {
  color: #b5b5b5;
}

/* IE対応 */
:-ms-input-placeholder {
  color: #b5b5b5;
}

.form {
  width: 100%;
  max-width: 600px;
  margin: 40px auto 0;
}
.form-item {
  margin-top: 24px;
}

.form-item__label {
  display: block;
  line-height: 1.7;
  font-family: serif;
  font-size: 16px;
}

.submit-btn {
  position: relative;
  display: block;
  background-color: #505050;
  color: #fff;
  font-family: serif;
  font-size: 16px;
  margin: 0 auto;
  padding: 8px 40px;
  transition: 0.3s;
  opacity: 0.9;
  margin-top: 20px;
}

.submit-btn:hover {
  opacity: 1;
}

.form-recaptcha {
	font-family: serif;
	font-size: 12px;
}
.form-recaptcha a {
	color: #CFA252;
}

.footer {
  font-family: serif;
  text-align: center;
  background-color: #F3F4EF;
  padding: 32px 0;
}

.wk__title {
  font-size: 60px;
  letter-spacing: 8px;
  margin-top: 64px;
  margin-left: 80px;
}

.wk-section {
  margin-top: 64px;
}
.wk-section__title {
  font-family: serif;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}
.wk-section__inner {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.wk-section__inner-img {
  width: 45%;
}
.wk-section__inner-img img {
  object-fit: cover;
  object-position: center;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}
.wk-section__inner-info {
  width: 50%;
}

.wk-info-list__title {
  font-family: serif;
  font-size: 16px;
  font-weight: bold;
  margin-top: 16px;
}
.wk-info-list__title:nth-of-type(1) {
  margin-top: 0;
}
.wk-info-list__date {
  font-family: serif;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.wk-info-list__date-link {
  color: #CFA252;
  text-decoration: underline;
}
.wk-info-list-bottom {
  margin-top: 40px;
  border: 1px solid #dbd8ce;
  padding: 12px;
}
.wk-info-list-bottom__title {
  font-family: serif;
  font-size: 16px;
  font-weight: bold;
}
.wk-info-list-bottom__date {
  font-family: serif;
  font-size: 16px;
}

.pager {
  margin-top: 72px;
  padding: 0 24px;
}
.pager-list {
  position: relative;
}
.pager-list__prev {
  position: absolute;
  left: 0;
}
.pager-list__prev-link {
  display: block;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.52);
}
.pager-list__prev::before {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(0, 0, 0, 0.52);
  border-left: 2px solid rgba(0, 0, 0, 0.52);
  top: 50%;
  left: -10px;
  transform: translateY(-50%) rotate(-45deg);
}
.pager-list__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.pager-list__center-link {
  display: block;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.52);
}
.pager-list__next {
  position: absolute;
  right: 0;
}
.pager-list__next-link {
  display: block;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.52);
}
.pager-list__next::before {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(0, 0, 0, 0.52);
  border-right: 2px solid rgba(0, 0, 0, 0.52);
  top: 50%;
  right: -10px;
  transform: translateY(-50%) rotate(45deg);
}

.archive-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 10px;
}
.archive-list__item-title {
  font-size: 16px;
  padding-left: 5px;
}
.archive-list__item-img {
  position: relative;
  aspect-ratio: 480/271;
  margin-top: 4px;
}
.archive-list__item-img::before {
  content: "Read More";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  background-color: rgba(67, 63, 55, 0.8);
  font-size: 28px;
  color: #fff;
  opacity: 0;
  transition: 0.4s;
}
.archive-list__item-img:hover::before {
  opacity: 1;
}
.archive-list__item-img img {
  object-fit: cover;
  object-position: center;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}
.archive-list-title {
  font-size: 26px;
  font-family: serif;
  margin-top: 90px;
}

.page-content {
  padding-top: 110px;
  min-height: calc(100vh - 88px);
}

@media (max-width: 992px) {
  .header-nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .burger-nav {
    display: block;
  }
}
@media (max-width: 768px) {
  .main {
    padding-top: 60px;
  }
  .page-content {
    padding-top: 98px;
  }
  .header__logo {
    width: 125px;
  }
  .main-visual__title,
  .wk__title {
    font-size: 48px;
    margin-left: 48px;
    line-height: 1;
  }
  .main-visual__text {
    margin-top: 10px;
    margin-left: 48px;
  }
  .main-visual-mv {
    margin-top: 56px;
  }
  .main-visual-mv__text {
    width: 20%;
  }
  .main-visual-mv__text-scroll {
    font-size: 14px;
  }
  .main-visual-mv__list {
    width: 80%;
    height: calc(100vh - 320px);
  }
  .section {
    margin-top: 110px;
  }
  .section-title--left,
  .section-title--right,
  .section-title--center {
    font-size: 56px;
    top: 21px;
  }
  .works-list {
    gap: 56px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
  .section-inner {
    padding-top: 150px;
    padding-left: 35px;
    padding-bottom: 100px;
    padding-right: 35px;
  }
  .about-flex {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }
  .about-flex__item-img {
    max-width: 340px;
    width: 100%;
  }
  .about-flex__item-text {
    width: 100%;
    margin-top: 30px;
    padding: 10px;
  }
  .service-list {
    flex-direction: column;
    align-items: center;
  }
  .service-list__item {
    width: 100%;
    max-width: 420px;
  }
  .service-list__item-logo {
    margin-top: 14px;
  }
  .service-list__item-text {
    margin-top: 24px;
  }
  .service-list__item + .service-list__item {
    margin-top: 90px;
  }
  .contact-box {
    padding: 50px 24px;
  }
  .contact-text {
    text-align: left;
  }
  .wk__title {
    margin-top: 40px;
  }
  .wk-section {
    margin-top: 72px;
  }
  .wk-section-title--left {
    font-size: 40px;
    top: 30px;
  }
  .wk-section__title {
    font-size: 24px;
  }
  .wk-section__inner {
    flex-direction: column;
    align-items: center;
  }
  .wk-section__inner-img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16/9;
  }
  .wk-section__inner-info {
    width: 100%;
    max-width: 420px;
    margin-top: 32px;
  }
  .pager-list__prev-link,
  .pager-list__center-link,
  .pager-list__next-link {
    font-size: 14px;
  }
}
@media (max-width: 400px) {
  .main-visual__title {
    font-size: 40px;
    margin-left: 26px;
  }
  .wk__title {
    font-size: 40px;
    margin-left: 10px;
  }
  .main-visual__text {
    margin-left: 26px;
  }
  .main-visual-mv__list {
    height: calc(100vh - 450px);
  }
  .section-title--left,
  .section-title--right,
  .section-title--center {
    font-size: 48px;
    top: 26px;
  }
  .wk-section {
    margin-top: 32px;
  }
  .wk-section-title--left {
    font-size: 32px;
  }
  .wk-section__title {
    font-size: 20px;
  }
}/*# sourceMappingURL=style.css.map */