@charset "UTF-8";
body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.inner {
  padding-inline: 15px;
  width: 100%;
}
@media (min-width: 768px) {
  .inner {
    width: 1272px;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 40px;
  }
}

@media (max-width: 767px) {
  .sp-none {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .pc-none {
    display: none !important;
  }
}

img {
  width: 100%;
  height: auto;
}

.title-box {
  color: #eac87a;
  text-align: center;
  -webkit-padding-before: 100px;
          padding-block-start: 100px;
  -webkit-padding-after: 32px;
          padding-block-end: 32px;
}
@media (min-width: 768px) {
  .title-box {
    -webkit-padding-before: 130px;
            padding-block-start: 130px;
    -webkit-padding-after: 48px;
            padding-block-end: 48px;
  }
}

.title-ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: normal;
}
@media (min-width: 768px) {
  .title-ja {
    font-size: 56px;
  }
}

.title-en {
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  -webkit-margin-before: -7px;
          margin-block-start: -7px;
}
@media (min-width: 768px) {
  .title-en {
    font-size: 32px;
  }
}

.button-box {
  text-align: center;
}

.button {
  padding: 7px 45px 8px;
  border-radius: 5px;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  font-family: "DotGothic16", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 10px;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.button:hover {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}
@media (min-width: 768px) {
  .button {
    font-size: 24px;
    padding: 11px 50px 11px 60px;
    border-radius: 10px;
    border: 3px solid #fff;
  }
}

.button svg {
  -webkit-animation: button_animation 2s linear infinite;
          animation: button_animation 2s linear infinite; /* 点滅間隔を指定 */
}
@media (min-width: 768px) {
  .button svg {
    width: 18px;
    height: 20px;
  }
}

@-webkit-keyframes button_animation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 1; /* 初期状態は不透明 */
  -webkit-transition: opacity 2.5s ease;
  transition: opacity 2.5s ease;
}
.loading.js-loading-end {
  opacity: 0; /* 徐々に透明にする */
}

.loading__container {
  position: relative;
  width: 280px;
}
@media (min-width: 768px) {
  .loading__container {
    width: 500px;
  }
}

.loading__text {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px; /* 150% */
  margin-bottom: 8px;
  overflow: hidden;
}
.loading__text span {
  display: inline-block;
  -webkit-animation: 0.5s 0.3s ease forwards slideUp;
          animation: 0.5s 0.3s ease forwards slideUp;
  translate: 0 100%;
}
@-webkit-keyframes slideUp {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes slideUp {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}

.loading__party {
  position: absolute;
  top: calc(50% + 100px);
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-transform: translateX(0);
          transform: translateX(0); /* 初期位置 */
  -webkit-transition: -webkit-transform 1.5s linear;
  transition: -webkit-transform 1.5s linear;
  transition: transform 1.5s linear;
  transition: transform 1.5s linear, -webkit-transform 1.5s linear;
}
@media (min-width: 768px) {
  .loading__party {
    left: 15%;
    gap: 64px;
  }
}

.loading__char {
  width: 50px;
  height: 50px; /* 正方形の枠 */
  -o-object-fit: contain;
     object-fit: contain; /* 画像の比率は保つ */
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: pixelated;
  background-color: #000; /* 余白ができる場合の背景（お好みで） */
}
@media (min-width: 768px) {
  .loading__char {
    width: 100px;
    height: 100px;
  }
}

.header {
  position: fixed;
  z-index: 102;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .header {
    padding-inline: 40px;
  }
}

/* front-page 以外 */
body:not(.home) .header {
  background: #000;
}

.header__inner {
  display: grid;
  grid-template-columns: 150px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-block: 17px;
}

.header__logo {
  width: 222px;
  height: auto;
  -webkit-padding-start: 15px;
          padding-inline-start: 15px;
  -webkit-padding-before: 8px;
          padding-block-start: 8px;
}
@media (min-width: 768px) {
  .header__logo {
    -webkit-padding-start: 0;
            padding-inline-start: 0;
    -webkit-padding-before: 0;
            padding-block-start: 0;
  }
}
.header__logo img {
  width: 100%;
  height: 100%;
}

.header__nav {
  display: none;
}
@media (min-width: 1100px) {
  .header__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
    -webkit-column-gap: 60px;
       -moz-column-gap: 60px;
            column-gap: 60px;
  }
}

.header__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 24px;
     -moz-column-gap: 24px;
          column-gap: 24px;
}
.header__list li a {
  color: #fff;
  font-size: 20px;
  padding: 0 8px;
}

.header__btn {
  padding: 8px 26px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  font-size: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.btn__link {
  display: inline-block;
  overflow: hidden;
}
@media (any-hover: hover) {
  .btn__link:hover .btn__link-text-wrap {
    translate: 0 -100%;
  }
}

.btn__link-text-wrap {
  -webkit-transition: translate 0.3s ease;
  transition: translate 0.3s ease;
  position: relative;
}

.btn__link-text {
  font-size: 16px;
  line-height: 1.5;
}
.btn__link-text.--en {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50%;
  width: 100%;
  font-family: "Roboto Mono", monospace;
  text-align: center;
}

.header__btn-contact {
  letter-spacing: 0.2em;
  translate: -50%;
  text-align: center;
}

@media (min-width: 768px) {
  .header.js-active {
    background: #000;
  }
}

.drawer__icon {
  position: fixed;
  z-index: 102;
  top: 25px;
  right: 15px;
  width: 56px;
  height: 56px;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  padding: 17px 14px;
  background-color: #fff;
}

.drawer__icon--bar {
  width: 28px;
  height: 2px;
  border-radius: 1px;
  background: #000;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.drawer__icon.js-show .drawer__icon--bar:nth-of-type(1) {
  transform: translateY(9px) rotate(-315deg);
  -webkit-transform: translateY(9px) rotate(-315deg);
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(2) {
  display: none;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(3) {
  transform: translateY(-2px) rotate(315deg);
  -webkit-transform: translateY(-2px) rotate(315deg);
}

.drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: #000;
  overflow-y: scroll;
  translate: 101%;
  -webkit-transition: translate 0.5s ease;
  transition: translate 0.5s ease;
}
.drawer.js-show {
  translate: 0;
}

.drawer__body {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding-block: 100px 40px;
  padding-left: 34px;
}

.drawer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 32px;
  margin-bottom: 40px;
}
.drawer__list li a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
}

.drawer__list-en {
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  -webkit-padding-start: 10px;
          padding-inline-start: 10px;
}

.drawer__btn {
  display: inline-block;
  padding: 8px 26px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

@media (min-width: 1100px) {
  .drawer-none {
    display: none !important;
  }
}

.top-fv {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.top-fv img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.top-fv__mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0; /* 最初は非表示 */
  pointer-events: none; /* クリックできないように */
}

.top-fv__text {
  position: absolute;
  bottom: -100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  max-width: 800px;
  width: 80%;
  color: #fff;
  line-height: 1.6;
  text-align: center;
  opacity: 1;
  font-size: 18px;
}
@media (min-width: 768px) {
  .top-fv__text {
    font-size: 30px;
  }
}

.top-fv__text span {
  font-size: 24px;
}
@media (min-width: 768px) {
  .top-fv__text span {
    font-size: 48px;
  }
}

.top-works {
  background-image: url(../img/works-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-padding-after: 100px;
          padding-block-end: 100px;
}
@media (min-width: 768px) {
  .top-works {
    -webkit-padding-after: 130px;
            padding-block-end: 130px;
  }
}

.top-works__inner {
  padding-inline: 15px;
}
@media (min-width: 768px) {
  .top-works__inner {
    padding-inline: 0;
  }
}

.top-works__title-box {
  color: #7d6331;
}

.top-works-card__item-container {
  border-radius: 10px;
  border: 2px solid #a4833c;
  background: -webkit-gradient(linear, left bottom, left top, from(#e6c988), to(#e6c988)), #faf4e6;
  background: linear-gradient(0deg, #e6c988 0%, #e6c988 100%), #faf4e6;
  padding: 0px 22px 10px 10px;
}
@media (min-width: 768px) {
  .top-works-card__item-container {
    border: 4px solid #a4833c;
    padding: 0px 45px 20px 20px;
  }
}

.top-works-card__item-head {
  -webkit-margin-start: 32px;
          margin-inline-start: 32px;
}
@media (min-width: 768px) {
  .top-works-card__item-head {
    -webkit-margin-start: 55.5px;
            margin-inline-start: 55.5px;
  }
}

.top-works-card__item-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 5px;
}
@media (min-width: 768px) {
  .top-works-card__item-bottom {
    gap: 13px;
  }
}

.top-works-card__title {
  color: #a4833c;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
@media (min-width: 768px) {
  .top-works-card__title {
    font-size: 22px;
  }
}

.top-works-card__category-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 5px;
}
@media (min-width: 768px) {
  .top-works-card__category-item {
    gap: 10px;
  }
}

.top-works-card__swiper-container,
.top-works-card__swiper,
.top-works-card__swiper-wrapper,
.top-works-card__swiper-slide {
  position: relative;
}

.top-works-card {
  overflow: hidden;
}

@media (min-width: 768px) {
  .top-works-card__swiper {
    overflow: visible;
  }
}

@media (min-width: 660px) {
  .top-works-card__swiper-slide {
    width: auto;
    height: auto;
  }
}

.top-works-card__swiper-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-before: 24px;
          margin-block-start: 24px;
  -webkit-margin-after: 48px;
          margin-block-end: 48px;
}
@media (min-width: 768px) {
  .top-works-card__swiper-bottom {
    -webkit-margin-before: 32px;
            margin-block-start: 32px;
    -webkit-margin-after: 56px;
            margin-block-end: 56px;
    -webkit-column-gap: 88px;
       -moz-column-gap: 88px;
            column-gap: 88px;
  }
}

/* 位置のreset */
.top-works-swiper-button-prev,
.top-works-swiper-button-next,
.top-works-swiper-pagination-bullets.top-works-swiper-pagination-horizontal {
  position: relative; /* ポイント！！ */
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  margin: 0;
  padding: 0;
}

/* =============================
   ナビゲーションボタン
============================= */
/* デフォルトのボタンを初期化 */
.top-works-swiper-button-prev::after,
.top-works-swiper-button-next::after {
  content: ""; /* デフォルトのものを初期化 */
}

/* 各ボタンのカスタマイズ */
.top-works-swiper-button-prev,
.top-works-swiper-button-next {
  display: none;
}
@media (min-width: 768px) {
  .top-works-swiper-button-prev,
  .top-works-swiper-button-next {
    display: inline;
    cursor: pointer;
  }
}

/* =============================
   ページネーション (bullets)
============================= */
/* 位置の設定 (枠組み) */
.top-works-swiper-pagination-bullets.top-works-swiper-pagination-horizontal {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

/* それぞれのページネーション */
.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
  opacity: 1;
  width: 16px;
  height: auto;
  aspect-ratio: 1;
  background: #e6c988;
  margin-inline: 5.5px;
}

/* activeな部分 */
.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet-active {
  background: #a4833c;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  width: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 15px;
}
@media (min-width: 768px) {
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    gap: 56px;
  }
}

.top-service-workflow {
  background-image: url(../img/service-workflow-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.top-service-workflow__inner {
  padding-inline: 25px;
}

.top-service__card-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 15px;
}
@media (min-width: 768px) {
  .top-service__card-box {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    row-gap: 0;
    -webkit-column-gap: 15px;
       -moz-column-gap: 15px;
            column-gap: 15px;
  }
}
@media (min-width: 1200px) {
  .top-service__card-box {
    -webkit-column-gap: 71px;
       -moz-column-gap: 71px;
            column-gap: 71px;
  }
}

.top-service__card {
  position: relative;
  border-radius: 5px;
  border: 4px solid #e6c988;
  background: #fff;
  padding-inline: 16px;
  text-align: center;
}
@media (min-width: 768px) {
  .top-service__card {
    border: 7px solid #e6c988;
    padding-inline: 20px;
    width: 350px;
  }
}
.top-service__card::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: #e6c988;
  border-radius: 50%;
  top: 13px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.top-service__card-head {
  -webkit-padding-before: 68px;
          padding-block-start: 68px;
  -webkit-padding-after: 16px;
          padding-block-end: 16px;
}
@media (min-width: 768px) {
  .top-service__card-head {
    -webkit-padding-after: 24px;
            padding-block-end: 24px;
  }
}

.top-service__card:nth-of-type(1) .top-service__card-head img {
  width: 118px;
  height: auto;
}
@media (min-width: 768px) {
  .top-service__card:nth-of-type(1) .top-service__card-head img {
    width: 147px;
  }
}

.top-service__card:nth-of-type(2) .top-service__card-head img {
  width: 59px;
  height: auto;
}
@media (min-width: 768px) {
  .top-service__card:nth-of-type(2) .top-service__card-head img {
    width: 73px;
  }
}

.top-service__card:nth-of-type(3) .top-service__card-head img {
  width: 91px;
  height: auto;
}
@media (min-width: 768px) {
  .top-service__card:nth-of-type(3) .top-service__card-head img {
    width: 114px;
  }
}

.top-service__card-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  -webkit-padding-after: 16px;
          padding-block-end: 16px;
}
@media (min-width: 768px) {
  .top-service__card-bottom {
    gap: 24px;
    -webkit-padding-after: 20px;
            padding-block-end: 20px;
  }
}

.top-service__card-title {
  color: #a4833c;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
@media (min-width: 768px) {
  .top-service__card-title {
    font-size: 18px;
  }
}

.top-service__card-text {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  -moz-text-align-last: left;
       text-align-last: left;
}
@media (min-width: 768px) {
  .top-service__card-text {
    font-size: 16px;
  }
}

.animated__fadeIn {
  opacity: 0;
  translate: 0 40px;
  -webkit-transition: opacity 0.3s ease, translate 0.3s ease;
  transition: opacity 0.3s ease, translate 0.3s ease;
}
.animated__fadeIn.js-show {
  opacity: 1;
  translate: 0 0;
}

.top-workflow {
  -webkit-padding-after: 100px;
          padding-block-end: 100px;
}
@media (min-width: 768px) {
  .top-workflow {
    -webkit-padding-after: 130px;
            padding-block-end: 130px;
  }
}

.top-workflow__contents__container {
  position: relative;
  border-radius: 5px;
  border: 4px solid #e6c988;
  background: #fff;
  padding: 80px 10px;
}
@media (min-width: 768px) {
  .top-workflow__contents__container {
    border: 7px solid #e6c988;
  }
}
.top-workflow__contents__container::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: #e6c988;
  border-radius: 50%;
  top: 13px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.top-workflow__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 30px;
}
@media (min-width: 768px) {
  .top-workflow__contents {
    row-gap: 60px;
    padding-inline: 104px;
  }
}
@media (min-width: 1000px) {
  .top-workflow__contents {
    row-gap: 40px;
  }
}

.top-workflow__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
}
@media (min-width: 768px) {
  .top-workflow__content {
    -webkit-column-gap: 56px;
       -moz-column-gap: 56px;
            column-gap: 56px;
  }
}
@media (min-width: 768px) {
  .top-workflow__content:nth-of-type(even) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}

.top-workflow__content-head {
  position: relative;
  width: 67px;
  height: 67px;
}
@media (min-width: 768px) {
  .top-workflow__content-head {
    width: 146px;
    height: 146px;
  }
}

.top-workflow__content-head-circle {
  width: 67px;
  height: 67px;
  background: #e6c988;
  border-radius: 50%;
}
@media (min-width: 768px) {
  .top-workflow__content-head-circle {
    width: 146px;
    height: 146px;
  }
}

.top-workflow__content-head img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.top-workflow__content:nth-of-type(1) .top-workflow__content-head img {
  width: 30px;
  height: auto;
}
@media (min-width: 768px) {
  .top-workflow__content:nth-of-type(1) .top-workflow__content-head img {
    width: 67px;
  }
}

.top-workflow__content:nth-of-type(2) .top-workflow__content-head img {
  width: 30px;
  height: auto;
}
@media (min-width: 768px) {
  .top-workflow__content:nth-of-type(2) .top-workflow__content-head img {
    width: 58px;
  }
}

.top-workflow__content:nth-of-type(3) .top-workflow__content-head img {
  width: 30px;
  height: auto;
}
@media (min-width: 768px) {
  .top-workflow__content:nth-of-type(3) .top-workflow__content-head img {
    width: 84px;
  }
}

.top-workflow__content:nth-of-type(4) .top-workflow__content-head img {
  width: 30px;
  height: auto;
}
@media (min-width: 768px) {
  .top-workflow__content:nth-of-type(4) .top-workflow__content-head img {
    width: 67px;
  }
}

.top-workflow__content:nth-of-type(5) .top-workflow__content-head img {
  width: 30px;
  height: auto;
}
@media (min-width: 768px) {
  .top-workflow__content:nth-of-type(5) .top-workflow__content-head img {
    width: 63px;
  }
}

@media (min-width: 768px) {
  .top-workflow__content:nth-of-type(even) .top-workflow__content-bottom {
    text-align: right;
  }
  .top-workflow__content:nth-of-type(even) .top-workflow__content-text {
    text-align: left;
  }
}
.top-workflow__content-step {
  color: #a4833c;
  font-weight: 600;
  line-height: normal;
}
@media (min-width: 768px) {
  .top-workflow__content-step {
    font-size: 18px;
  }
}
.top-workflow__content-step span {
  font-size: 20px;
}
@media (min-width: 768px) {
  .top-workflow__content-step span {
    font-size: 30px;
  }
}

.top-workflow__content-title {
  color: #a4833c;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
@media (min-width: 768px) {
  .top-workflow__content-title {
    font-size: 26px;
  }
}

.top-works-card__category {
  padding: 3px 8px;
  color: #fffbd4;
  font-weight: 600;
  border-radius: 5px;
  background: #a4833c;
}
@media (min-width: 768px) {
  .top-works-card__category {
    font-size: 16px;
    padding: 5px 10px 6px;
  }
}

.top-workflow__content-text {
  color: #333;
  font-weight: 600;
  line-height: 20px;
}
@media (min-width: 768px) {
  .top-workflow__content-text {
    font-size: 18px;
  }
}

.top-workflow__content-deco img {
  position: absolute;
  width: 86px;
  height: auto;
  bottom: -27px;
  right: -26px;
  -webkit-animation: float 1.5s ease-in-out infinite;
          animation: float 1.5s ease-in-out infinite;
}
@media (min-width: 768px) {
  .top-workflow__content-deco img {
    width: 156px;
    bottom: -71px;
    right: -70px;
  }
}

@-webkit-keyframes float {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes float {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.top-skills {
  background-image: url(../img/skills-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-padding-after: 100px;
          padding-block-end: 100px;
}
@media (min-width: 768px) {
  .top-skills {
    -webkit-padding-after: 130px;
            padding-block-end: 130px;
  }
}

.top-skills__title-box {
  color: #fff;
}

.top-skills__contents {
  margin: 0 auto;
  color: #fff;
  min-width: 300px;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #fff;
  border-radius: 5px;
}
@media (min-width: 768px) {
  .top-skills__contents {
    max-width: 910px;
    border-radius: 10px;
    border: 4px solid #fff;
  }
}

.top-skills__content-head {
  padding: 15px 20px;
  border-start-start-radius: 5px;
  border-start-end-radius: 5px;
  border-bottom: 2px solid #fff;
}
@media (min-width: 768px) {
  .top-skills__content-head {
    padding: 25px 88px;
    border-start-start-radius: 10px;
    border-start-end-radius: 10px;
    border-bottom: 4px solid #fff;
  }
}

.top-skills__name {
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}
@media (min-width: 768px) {
  .top-skills__name {
    font-size: 20px;
  }
}

.top-skills__content-middle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  padding-block: 15px;
  border-bottom: 2px solid #fff;
}
@media (min-width: 768px) {
  .top-skills__content-middle {
    padding-block: 25px;
    -webkit-padding-start: 40px;
            padding-inline-start: 40px;
    border-bottom: 4px solid #fff;
    gap: 40px;
  }
}

.top-skills__content-middle img {
  width: 116px;
  -webkit-animation: poyopoyo 1.5s ease-in-out infinite;
          animation: poyopoyo 1.5s ease-in-out infinite;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}
@media (min-width: 768px) {
  .top-skills__content-middle img {
    width: 250px;
  }
}

@-webkit-keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50%, 70% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
}

@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50%, 70% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
}
.top-skills__img-text {
  font-size: 8px;
  line-height: normal;
  text-align: center;
}
@media (min-width: 768px) {
  .top-skills__img-text {
    font-size: 14px;
  }
}

.top-skills__content-middle-bottom {
  -webkit-padding-end: 20px;
          padding-inline-end: 20px;
  -webkit-padding-before: 18px;
          padding-block-start: 18px;
  border-end-start-radius: 5px;
  border-end-end-radius: 5px;
}
@media (min-width: 768px) {
  .top-skills__content-middle-bottom {
    -webkit-padding-before: 68px;
            padding-block-start: 68px;
    border-end-start-radius: 10px;
    border-end-end-radius: 10px;
  }
}

.top-skills__profile {
  font-weight: 600;
  line-height: 30px;
}
@media (min-width: 768px) {
  .top-skills__profile {
    font-size: 18px;
    -webkit-padding-after: 20px;
            padding-block-end: 20px;
  }
}

.top-skills__content-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 10px;
  padding: 15px 20px;
}
@media (min-width: 768px) {
  .top-skills__content-bottom {
    row-gap: 40px;
    padding: 25px 88px;
  }
}

.top-skills__skill {
  font-weight: 600;
  line-height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 5px;
}
@media (min-width: 768px) {
  .top-skills__skill {
    row-gap: 10px;
  }
}

.top-skills__skill-title {
  text-decoration-line: underline;
  text-decoration-style: solid;
}
@media (min-width: 768px) {
  .top-skills__skill-title {
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  .top-skills__skill-text {
    font-size: 18px;
  }
}

/* 初期設定 */
button {
  background: none;
  cursor: pointer;
}

:where(dialog) {
  width: unset;
  max-width: unset;
  /* height: unset;
  max-height: unset; */
  padding: unset;
  color: unset;
  background-color: unset;
  border: unset;
  overflow: unset;
}

body:has(dialog[open]) {
  overflow: hidden;
}

/* モーダルのスタイル ============ */
dialog::-ms-backdrop {
  opacity: 0;
  -ms-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}
dialog::backdrop {
  opacity: 0;
  -webkit-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}
dialog.js-show.modal__content {
  opacity: 1;
}
dialog.js-show::-ms-backdrop {
  opacity: 1;
  /* 背景画像 */
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
dialog.js-show::backdrop {
  opacity: 1;
  /* 背景画像 */
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.modal__content {
  overflow: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  /* モーダル枠組みのスタイル */
  width: min(1040px, 95%);
  max-height: 80vh;
  background: #000;
  border: 2px solid #fff;
  border-radius: 5px;
}
@media (min-width: 768px) {
  .modal__content {
    border-radius: 10px;
    border: 4px solid #fff;
  }
}

.modal__inner {
  overflow-y: scroll;
  height: inherit;
  max-height: inherit;
  position: relative;
}

.modal__body {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media (min-width: 600px) {
  .modal__body {
    padding: 50px 40px 63px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-column-gap: 50px;
       -moz-column-gap: 50px;
            column-gap: 50px;
  }
}

.modal__img {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
@media (min-width: 400px) {
  .modal__img {
    height: 600px;
  }
}
@media (min-width: 600px) {
  .modal__img {
    width: 300px;
    height: auto;
  }
}

.modal__text {
  width: 360px;
  color: #fff;
  padding: 20px;
}
@media (min-width: 768px) {
  .modal__text {
    width: 550px;
    padding: 0;
  }
}
.modal__text h3 {
  font-size: 20px;
  line-height: 48px; /* 150% */
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .modal__text h3 {
    font-size: 32px;
  }
}

.modal__text-main {
  font-size: 16px;
  line-height: normal;
  margin-bottom: 22px;
}
@media (min-width: 768px) {
  .modal__text-main {
    font-size: 20px;
  }
}

.modal__text-wrap {
  margin-bottom: 20px;
}
.modal__text-wrap .text {
  line-height: 18px; /* 150% */
}
@media (min-width: 768px) {
  .modal__text-wrap .text {
    font-size: 16px;
    -webkit-margin-after: 20px;
            margin-block-end: 20px;
  }
}
.modal__text-wrap .text + .text {
  margin-top: 12px;
}

.modal__text-history .head {
  font-size: 16px;
  font-weight: 700;
  line-height: 18px; /* 112.5% */
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .modal__text-history .head {
    font-size: 18px;
    -webkit-padding-before: 48px;
            padding-block-start: 48px;
  }
}
.modal__text-history .text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-column-gap: 1em;
     -moz-column-gap: 1em;
          column-gap: 1em;
  line-height: 18px; /* 150% */
  -webkit-margin-after: 0.5em;
          margin-block-end: 0.5em;
}
@media (min-width: 768px) {
  .modal__text-history .text {
    font-size: 16px;
  }
}
.modal__text-history .modal__text-history .text span:first-child {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 80px;
          flex: 0 0 80px;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}
.modal__text-history .modal__text-history .text span:last-child {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: left;
}

/* 閉じるボタンのスタイル ========== */
.modal__close-btn {
  display: block;
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  background: #fff;
}
@media (min-width: 768px) {
  .modal__close-btn {
    width: 50px;
    height: 50px;
  }
}

.modal__close-btn::before,
.modal__close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px; /* 棒の幅（太さ） */
  height: 27px; /* 棒の高さ */
  background: #333; /* バツ印の色 */
}

.modal__close-btn::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close-btn::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}

.contact {
  background: #0277bd;
  -webkit-padding-after: 100px;
          padding-block-end: 100px;
}
@media (min-width: 768px) {
  .contact {
    -webkit-padding-after: 130px;
            padding-block-end: 130px;
  }
}

@media (min-width: 768px) {
  .contact__inner {
    width: 688px;
    max-width: 100%;
    margin-inline: auto;
  }
}

.contact__text {
  color: #fff;
  text-align: center;
  -webkit-margin-after: 32px;
          margin-block-end: 32px;
}
@media (min-width: 768px) {
  .contact__text {
    font-size: 16px;
  }
}

.contact-row + .contact-row {
  -webkit-margin-before: 32px;
          margin-block-start: 32px;
}

.contact-head {
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 8px;
     -moz-column-gap: 8px;
          column-gap: 8px;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  -webkit-margin-after: 8px;
          margin-block-end: 8px;
}
@media (min-width: 768px) {
  .contact-head {
    font-size: 16px;
  }
}

.contact-must {
  padding: 4px 8px;
  color: #fff;
  background: #a4833c;
  border-radius: 2px;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
}

.contact-data {
  width: 100%;
}
.contact-data input,
.contact-data select,
.contact-data textarea {
  width: 100%;
  border: none;
  background: #fff;
  padding: 16px;
  border-radius: 2px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
}
.contact-data input:focus,
.contact-data select:focus,
.contact-data textarea:focus {
  outline: 2px solid #a4833c;
}
.contact-data input::-webkit-input-placeholder, .contact-data select::-webkit-input-placeholder, .contact-data textarea::-webkit-input-placeholder {
  color: #999999;
}
.contact-data input::-moz-placeholder, .contact-data select::-moz-placeholder, .contact-data textarea::-moz-placeholder {
  color: #999999;
}
.contact-data input:-ms-input-placeholder, .contact-data select:-ms-input-placeholder, .contact-data textarea:-ms-input-placeholder {
  color: #999999;
}
.contact-data input::-ms-input-placeholder, .contact-data select::-ms-input-placeholder, .contact-data textarea::-ms-input-placeholder {
  color: #999999;
}
.contact-data input::placeholder,
.contact-data select::placeholder,
.contact-data textarea::placeholder {
  color: #999999;
}

textarea {
  height: 180px;
  resize: vertical;
}

.contact-data select {
  -webkit-appearance: none; /* Chrome, Safari */
  -moz-appearance: none; /* Firefox */
  appearance: none; /* 標準 */
  padding-right: 2em; /* 矢印分のスペース確保 */
  background: url("../img/contact-icon.png") no-repeat right center; /* 好きな矢印画像 */
  background-size: 2em;
  background-color: #fff;
}

.form-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 12px;
     -moz-column-gap: 12px;
          column-gap: 12px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 1;
  cursor: pointer;
  -webkit-margin-before: 32px;
          margin-block-start: 32px;
}

.form-checkbox:not(:last-of-type) {
  margin-bottom: 16px;
}

.form-checkbox__input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #eac87a;
  border-radius: 2px;
  background-color: #fff;
  cursor: pointer;
}

.form-checkbox__input:checked::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  width: 12px;
  height: 6px;
  border-bottom: 2px solid #a4833c;
  border-left: 2px solid #a4833c;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.form-checkbox__text a {
  color: #eac87a;
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
  border-bottom: 1px solid #eac87a;
  -webkit-padding-after: 3px;
          padding-block-end: 3px;
}
@media (min-width: 768px) {
  .form-checkbox__text a {
    font-size: 16px;
  }
}

.form-checkbox__text-another {
  color: #fff;
  font-weight: 300;
  font-size: 15px;
}
@media (min-width: 768px) {
  .form-checkbox__text-another {
    font-size: 16px;
  }
}

.contact-submit {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  -webkit-margin-before: 56px;
          margin-block-start: 56px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}
.contact-submit:hover {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

.contact-submit input {
  background: none;
  border: none;
  outline: none;
  padding: 7px 54px 8px 73px;
  border-radius: 5px;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  font-family: "DotGothic16", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
  letter-spacing: 10px;
}
@media (min-width: 768px) {
  .contact-submit input {
    font-size: 24px;
    padding: 11px 55px 11px 80px;
    border-radius: 10px;
    border: 3px solid #fff;
  }
}

.contact-submit-icon {
  position: absolute;
  left: 54px;
  top: 13px;
}
@media (min-width: 768px) {
  .contact-submit-icon {
    top: 22px;
  }
}

.contact-submit-icon svg {
  -webkit-animation: button_animation 2s linear infinite;
          animation: button_animation 2s linear infinite; /* 点滅間隔を指定 */
}
@media (min-width: 768px) {
  .contact-submit-icon svg {
    width: 18px;
    height: 20px;
  }
}

@-webkit-keyframes button_animation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.screen-reader-response,
.hidden-fields-container {
  display: none !important;
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  color: red;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  -webkit-margin-before: 15px;
          margin-block-start: 15px;
  text-align: center;
}
@media (min-width: 768px) {
  .wpcf7-not-valid-tip,
  .wpcf7-response-output {
    font-size: 15px;
  }
}

.footer {
  position: relative;
  background: #000;
}

.footer__text {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  -webkit-padding-before: 50px;
          padding-block-start: 50px;
  -webkit-padding-after: 30px;
          padding-block-end: 30px;
}
@media (min-width: 768px) {
  .footer__text {
    font-size: 18px;
    -webkit-padding-before: 75px;
            padding-block-start: 75px;
    -webkit-padding-after: 55px;
            padding-block-end: 55px;
  }
}

.footer__deco img {
  -webkit-animation: anime_yurayura 1.5s ease-in-out infinite alternate;
          animation: anime_yurayura 1.5s ease-in-out infinite alternate;
  position: absolute;
  top: -40px;
  left: 50%;
  translate: -50px;
  width: 86px;
  height: auto;
}
@media (min-width: 768px) {
  .footer__deco img {
    width: 242px;
    top: -160px;
    left: 30px;
    translate: none;
  }
}

@-webkit-keyframes anime_yurayura {
  0% {
    -webkit-transform: translate(0px, 0);
            transform: translate(0px, 0);
  }
  100% {
    -webkit-transform: translate(20px, 0);
            transform: translate(20px, 0);
  }
}

@keyframes anime_yurayura {
  0% {
    -webkit-transform: translate(0px, 0);
            transform: translate(0px, 0);
  }
  100% {
    -webkit-transform: translate(20px, 0);
            transform: translate(20px, 0);
  }
}
.to-top {
  position: fixed;
  z-index: 20;
  bottom: 20px;
  right: 10px;
  width: 48px;
  height: auto;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
@media (min-width: 768px) {
  .to-top {
    width: 80px;
    right: 40px;
  }
}
.to-top.js-show {
  opacity: 1;
  visibility: visible;
}
.to-top:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.archive-works {
  background: #e6c988;
  -webkit-padding-after: 100px;
          padding-block-end: 100px;
}
@media (min-width: 768px) {
  .archive-works {
    -webkit-padding-after: 130px;
            padding-block-end: 130px;
  }
}

.works-archive__title {
  -webkit-margin-after: 48px;
          margin-block-end: 48px;
}
@media (min-width: 768px) {
  .works-archive__title {
    -webkit-margin-after: 72px;
            margin-block-end: 72px;
  }
}

.works-archive__button-boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (min-width: 768px) {
  .works-archive__button-boxes {
    gap: 30px;
  }
}
@media (min-width: 1440px) {
  .works-archive__button-boxes {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 12px;
  }
}

.works-archive__button-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 15px;
}
@media (min-width: 768px) {
  .works-archive__button-box {
    gap: 30px;
  }
}
@media (min-width: 768px) {
  .works-archive__button-box {
    gap: 12px;
  }
}

.works-archive__button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 105px;
  height: 43px;
  text-decoration: none;
}
@media (min-width: 540px) {
  .works-archive__button {
    width: 157.5px;
    height: 64.5px;
  }
}
@media (min-width: 660px) {
  .works-archive__button {
    width: 210px;
    height: 83px;
  }
}
@media (min-width: 1040px) {
  .works-archive__button {
    width: 231px;
    height: 91.3px;
  }
}
@media (min-width: 1440px) {
  .works-archive__button {
    width: 189px;
    height: 77.4px;
  }
}

.works-archive__button:hover,
.works-archive__button.is-active {
  color: #fff;
}

.works-archive__button svg {
  position: absolute;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  color: #fff;
  inset: 0;
  width: 100%;
  height: 100%;
}

.works-archive__button svg:hover,
.works-archive__button.is-active svg {
  color: #333;
}

.works-archive__button-label {
  position: relative;
  z-index: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  pointer-events: none;
}
@media (min-width: 768px) {
  .works-archive__button-label {
    font-size: 20px;
  }
}

.works-archive__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-margin-after: 40px;
          margin-block-end: 40px;
}
@media (min-width: 660px) {
  .works-archive__contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    -webkit-column-gap: 80px;
       -moz-column-gap: 80px;
            column-gap: 80px;
    row-gap: 80px;
    -webkit-margin-before: 80px;
            margin-block-start: 80px;
    -webkit-margin-after: 80px;
            margin-block-end: 80px;
  }
}
@media (min-width: 1000px) {
  .works-archive__contents {
    -webkit-column-gap: 192px;
       -moz-column-gap: 192px;
            column-gap: 192px;
  }
}

.works-archive__content {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.works-archive__content:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
}

.works-archive__content-title {
  color: #a4833c;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  -webkit-margin-before: 10px;
          margin-block-start: 10px;
  -webkit-margin-after: 10px;
          margin-block-end: 10px;
}
@media (min-width: 768px) {
  .works-archive__content-title {
    font-size: 20px;
  }
}

.works-archive__categories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 5px;
}

.works-archive__categories li {
  color: #fffbd4;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  padding: 3px 8px;
  border-radius: 5px;
  background: #a4833c;
}

/* ページネーション全体 */
.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* リンク */
.pagination ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 15px;
}

.pagination li {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.pagination li a {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 2em;
  height: 2em;
  border-radius: 1px;
  background-color: #fffbd4;
  color: #a4833c;
}
@media (min-width: 768px) {
  .pagination li a {
    width: 3em;
    height: 3em;
  }
}

/* 現在のページ */
.pagination li span.current {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 2em;
  height: 2em;
  border-radius: 1px;
  background-color: #a4833c;
  color: #fffbd4;
  pointer-events: none;
}
@media (min-width: 768px) {
  .pagination li span.current {
    width: 3em;
    height: 3em;
  }
}

.screen-reader-text {
  display: none !important;
}

@media (min-width: 768px) {
  .page-numbers {
    font-size: 18px;
  }
}

.sub-works {
  background: #e6c988;
  -webkit-padding-after: 100px;
          padding-block-end: 100px;
}
@media (min-width: 768px) {
  .sub-works {
    -webkit-padding-after: 130px;
            padding-block-end: 130px;
  }
}

@media (min-width: 768px) {
  .sub-works-inner {
    max-width: 800px;
  }
}

.breadcrumb {
  -webkit-padding-before: 100px;
          padding-block-start: 100px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 5px;
}
@media (min-width: 768px) {
  .breadcrumb {
    -webkit-padding-before: 167px;
            padding-block-start: 167px;
    font-size: 16px;
    gap: 10px;
  }
}

.sub-works__title {
  color: #a4833c;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  border-left: #a4833c solid 10px;
  padding: 10px 0 10px 10px;
  -webkit-margin-before: 48px;
          margin-block-start: 48px;
  background: #fffbd4;
  border-start-end-radius: 5px;
  border-end-end-radius: 5px;
}
@media (min-width: 768px) {
  .sub-works__title {
    font-size: 48px;
  }
}

.sub-works__thumbnail {
  -webkit-margin-after: 10px;
          margin-block-end: 10px;
  text-align: center;
}
@media (min-width: 768px) {
  .sub-works__thumbnail {
    -webkit-margin-after: 40px;
            margin-block-end: 40px;
  }
}
@media (min-width: 800px) {
  .sub-works__thumbnail img {
    max-width: 750px;
    height: auto;
  }
}

.sub-works__link a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #0099cc;
  text-decoration: underline;
  text-decoration-color: #0099cc;
  text-underline-offset: 3px;
  font-weight: 600;
  position: relative;
  padding-right: 1em; /* 矢印ぶんの余白 */
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.sub-works__link a:hover {
  opacity: 0.7;
}

.sub-works__link a::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 0.2em;
  vertical-align: -0.1em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M18 6.75C18 6.94891 17.921 7.13968 17.7803 7.28033C17.6397 7.42098 17.4489 7.5 17.25 7.5C17.0511 7.5 16.8603 7.42098 16.7197 7.28033C16.579 7.13968 16.5 6.94891 16.5 6.75V2.56125L10.2816 8.78063C10.1408 8.92136 9.94996 9.00042 9.75094 9.00042C9.55191 9.00042 9.36104 8.92136 9.22031 8.78063C9.07958 8.63989 9.00052 8.44902 9.00052 8.25C9.00052 8.05098 9.07958 7.86011 9.22031 7.71937L15.4387 1.5H11.25C11.0511 1.5 10.8603 1.42098 10.7197 1.28033C10.579 1.13968 10.5 0.948912 10.5 0.75C10.5 0.551088 10.579 0.360322 10.7197 0.21967C10.8603 0.0790178 11.0511 0 11.25 0H17.25C17.4489 0 17.6397 0.0790178 17.7803 0.21967C17.921 0.360322 18 0.551088 18 0.75V6.75ZM14.25 9C14.0511 9 13.8603 9.07902 13.7197 9.21967C13.579 9.36032 13.5 9.55109 13.5 9.75V16.5H1.5V4.5H8.25C8.44891 4.5 8.63968 4.42098 8.78033 4.28033C8.92098 4.13968 9 3.94891 9 3.75C9 3.55109 8.92098 3.36032 8.78033 3.21967C8.63968 3.07902 8.44891 3 8.25 3H1.5C1.10218 3 0.720644 3.15804 0.43934 3.43934C0.158035 3.72064 0 4.10218 0 4.5V16.5C0 16.8978 0.158035 17.2794 0.43934 17.5607C0.720644 17.842 1.10218 18 1.5 18H13.5C13.8978 18 14.2794 17.842 14.5607 17.5607C14.842 17.2794 15 16.8978 15 16.5V9.75C15 9.55109 14.921 9.36032 14.7803 9.21967C14.6397 9.07902 14.4489 9 14.25 9Z" fill="%230099CC"/></svg>');
  -webkit-transition: color 0.3s ease, -webkit-transform 0.3s ease;
  transition: color 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, color 0.3s ease;
  transition: transform 0.3s ease, color 0.3s ease, -webkit-transform 0.3s ease;
}

.sub-works__link a:hover::after {
  -webkit-transform: scale(1.2);
          transform: scale(1.2); /* 少し拡大 */
}

.sub-works__content {
  line-height: normal;
  -webkit-margin-after: 56px;
          margin-block-end: 56px;
}
.sub-works__content h3 {
  position: relative;
  color: #a4833c;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  padding: 8px 0 8px 23px;
  border-radius: 5px;
  background: #fffbd4;
  -webkit-margin-after: 10px;
          margin-block-end: 10px;
}
@media (min-width: 768px) {
  .sub-works__content h3 {
    font-size: 22px;
    padding: 11px 0 11px 23px;
    -webkit-margin-after: 15px;
            margin-block-end: 15px;
  }
}
.sub-works__content h3::before {
  position: absolute;
  content: "";
  top: 8px;
  left: 13px;
  width: 5px;
  height: 25px;
  background: #a4833c;
}
@media (min-width: 768px) {
  .sub-works__content h3::before {
    height: 36px;
    top: 10px;
  }
}
.sub-works__content p {
  -webkit-padding-after: 10px;
          padding-block-end: 10px;
}
@media (min-width: 768px) {
  .sub-works__content p {
    font-size: 18px;
    -webkit-padding-after: 15px;
            padding-block-end: 15px;
  }
}

.sub-works__point-container {
  position: relative;
  border-radius: 5px;
  background: #fffbd4;
  padding-inline: 10px;
  -webkit-margin-before: 38px;
          margin-block-start: 38px;
}
@media (min-width: 768px) {
  .sub-works__point-container {
    padding-inline: 20px;
  }
}

.sub-works__point-title {
  position: relative;
  width: 181px;
  margin: auto;
  -webkit-padding-before: 30px;
          padding-block-start: 30px;
  -webkit-margin-after: 30px;
          margin-block-end: 30px;
  text-align: center;
  color: #a4833c;
  border-bottom: 3px solid #a4833c;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
}
@media (min-width: 768px) {
  .sub-works__point-title {
    font-size: 28px;
    width: 255px;
    -webkit-padding-before: 60px;
            padding-block-start: 60px;
  }
}

.sub-works__point-title::before {
  position: absolute;
  top: 20px;
  left: 0.3em;
  -webkit-transform: rotate(55deg);
          transform: rotate(55deg);
  height: 11px;
  width: 12px;
  background: #a4833c;
  content: "";
}
@media (min-width: 768px) {
  .sub-works__point-title::before {
    top: 55px;
    left: -5px;
  }
}

.sub-works__point-title::after {
  position: absolute;
  -webkit-transform: rotate(15deg);
          transform: rotate(15deg);
  top: 35px;
  left: 0;
  height: 8px;
  width: 8px;
  background: #a4833c;
  content: "";
}
@media (min-width: 768px) {
  .sub-works__point-title::after {
    top: 70px;
    left: -10px;
  }
}

.sub-works__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  -webkit-padding-after: 30px;
          padding-block-end: 30px;
}

.sub-works__content span {
  color: #fffbd4;
}

.sub-works__content-item-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.sub-content__title-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
  -webkit-margin-after: 10px;
          margin-block-end: 10px;
}

.sub-content__title-num-box {
  width: 30px;
  height: 30px;
  background: #a4833c;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (min-width: 768px) {
  .sub-content__title-num-box {
    width: 38px;
    height: 38px;
  }
}

.sub-content-num {
  color: #fffbd4;
}
@media (min-width: 768px) {
  .sub-content-num {
    font-size: 26px;
  }
}

.sub-content__title {
  font-size: 16px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .sub-content__title {
    font-size: 26px;
  }
}

@media (min-width: 768px) {
  .sub-works__text {
    font-size: 20px;
  }
}

.sub-works__deco {
  position: absolute;
  width: 45px;
  height: auto;
  top: -24px;
  right: 0;
}
@media (min-width: 768px) {
  .sub-works__deco {
    width: 110px;
    top: -74px;
    right: -15px;
  }
}

.privacy {
  background: #e6c988;
  -webkit-padding-after: 85px;
          padding-block-end: 85px;
}
@media (min-width: 768px) {
  .privacy {
    -webkit-padding-after: 130px;
            padding-block-end: 130px;
  }
}

.privacy__title {
  color: #a4833c;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  border-left: #a4833c solid 10px;
  padding: 10px 0 10px 10px;
  -webkit-margin-before: 48px;
          margin-block-start: 48px;
  background: #fffbd4;
  border-start-end-radius: 5px;
  border-end-end-radius: 5px;
}
@media (min-width: 768px) {
  .privacy__title {
    font-size: 48px;
  }
}

.privacy__content {
  background: #fffbd4;
  padding-inline: 10px;
  padding-block: 10px;
  margin-block: 48px 0;
  border-radius: 5px;
}
@media (min-width: 768px) {
  .privacy__content {
    padding-inline: 30px;
    border-radius: 10px;
  }
}

.privacy__content p {
  margin: 16px 0;
}
@media (min-width: 768px) {
  .privacy__content p {
    font-size: 18px;
    margin: 32px 0;
  }
}

.privacy__content hr {
  border: 1px solid #a4833c;
}
@media (min-width: 768px) {
  .privacy__content hr {
    -webkit-margin-after: 32px;
            margin-block-end: 32px;
  }
}

.privacy__content h3 {
  font-size: 16px;
}
@media (min-width: 768px) {
  .privacy__content h3 {
    font-size: 22px;
  }
}