@charset "UTF-8";
/*================================================================
Chrome/Firefox/Edgeなど、各ブラウザはそれぞれデフォルトで効くCSSを持っています。
何もしないと見え方が微妙に変わるので、デフォルトのCSSをリセットして
ブラウザごとの表示の差異をなくすために書くのが「リセットCSS」です。
================================================================*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

ol,
ul {
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  vertical-align: top;
}

body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 18px;
  color: #2a1a0e;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 170%;
}
@media screen and (max-width: 1440px) {
  body {
    font-size: calc(16 / 1440 * 100vw);
  }
}

p {
  color: #101010;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.l-section {
  padding-block: 100px;
}
@media screen and (max-width: 1440px) {
  .l-section {
    padding-block: calc(100 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 390px) {
  .l-section {
    padding-block: 60px;
  }
}

.l-header {
  padding-top: 80px;
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .l-header {
    padding-top: 60px;
  }
}

.l-hero {
  margin-top: 80px;
}
@media screen and (max-width: 1440px) {
  .l-hero {
    margin-top: calc(80 / 1440 * 100vw);
  }
}

.l-breadcrumb {
  padding-block: 11px;
  padding-left: 180px;
}
@media screen and (max-width: 1440px) {
  .l-breadcrumb {
    padding-block: calc(11 / 1440 * 100vw);
    padding-left: calc(180 / 1440 * 100vw);
  }
}

.c-title__fv {
  text-align: center;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-style: normal;
}
.c-title__fv h2 {
  color: #2a1a0e;
  font-size: 72px;
  font-weight: 600;
  line-height: 72px;
  letter-spacing: 2.28px;
}
.c-title__fv p {
  color: rgba(42, 26, 14, 0.6);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.69px;
}

.c-title__section {
  margin-bottom: 60px;
  text-align: center;
  font-weight: 500;
  font-style: italic;
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  position: relative;
  z-index: 5;
  -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition: opacity 0.8s ease, transform 0.8s ease, -webkit-transform 0.8s ease;
}
@media screen and (max-width: 1440px) {
  .c-title__section {
    margin-bottom: calc(60 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-title__section {
    margin-bottom: calc(20 / 390 * 100vw);
  }
}
.c-title__section.is-visible {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}
.c-title__section h3 {
  color: #2a1a0e;
  font-family: "jsMath-cmti10", "Yu Mincho", serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: 1.92px;
}
@media screen and (max-width: 1440px) {
  .c-title__section h3 {
    font-size: calc(60 / 1440 * 100vw);
    line-height: calc(60 / 1440 * 100vw);
    letter-spacing: calc(1.92 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-title__section h3 {
    font-size: 32px;
    line-height: 1;
    letter-spacing: 1.92px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-title__section h3 {
    font-size: calc(32 / 390 * 100vw);
    letter-spacing: calc(1.92 / 390 * 100vw);
  }
}
.c-title__section p {
  margin-top: 5px;
  color: rgba(42, 26, 14, 0.6);
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.48px;
  text-transform: none;
}
@media screen and (max-width: 1440px) {
  .c-title__section p {
    margin-top: calc(5 / 1440 * 100vw);
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-title__section p {
    font-size: 12px;
    letter-spacing: 0.48px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-title__section p {
    font-size: calc(12 / 390 * 100vw);
    letter-spacing: calc(0.48 / 390 * 100vw);
  }
}

.c-title__section--sub {
  text-align: center;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
}
.c-title__section--sub h4 {
  color: #2a1a0e;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.96px;
}
@media screen and (max-width: 1440px) {
  .c-title__section--sub h4 {
    font-size: calc(30 / 1440 * 100vw);
    line-height: calc(30 / 1440 * 100vw);
    letter-spacing: calc(0.96 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 390px) {
  .c-title__section--sub h4 {
    font-size: calc(12 / 390 * 100vw);
  }
}
.c-title__section--sub p {
  margin-top: 5px;
  color: rgba(42, 26, 14, 0.6);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1440px) {
  .c-title__section--sub p {
    margin-top: calc(5 / 1440 * 100vw);
    font-size: calc(16 / 1440 * 100vw);
    line-height: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
  }
}

/* スライダー全体のラッパー（中央配置＆矢印の基準） */
.p-top-works-slider-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 1440px) {
  .p-top-works-slider-wrap {
    max-width: calc(1200 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-works-slider-wrap {
    max-width: calc(350 / 390 * 100vw);
  }
}

/* Swiper本体 */
.p-top-works-slider {
  margin: 0 auto;
  overflow: hidden;
}

/* 各スライドの中でカードを中央寄せ */
.p-top-works-slider .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* 矢印位置（ラッパー基準） */
.p-top-works-slider-wrap .swiper-button-prev,
.p-top-works-slider-wrap .swiper-button-next {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 10;
}

/* 左右を外側へ出す */
.p-top-works-slider-wrap .swiper-button-prev {
  left: -50px;
}
@media screen and (max-width: 1440px) {
  .p-top-works-slider-wrap .swiper-button-prev {
    left: calc(-50 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-works-slider-wrap .swiper-button-prev {
    left: calc(-28 / 550 * 100vw);
  }
}

.p-top-works-slider-wrap .swiper-button-next {
  right: -50px;
}
@media screen and (max-width: 1440px) {
  .p-top-works-slider-wrap .swiper-button-next {
    right: calc(-50 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-works-slider-wrap .swiper-button-next {
    right: calc(-28 / 550 * 100vw);
  }
}

/* 矢印アイコン */
.p-top-works-slider-wrap .swiper-button-prev::after,
.p-top-works-slider-wrap .swiper-button-next::after {
  color: #caaa72;
  font-size: 32px;
}
@media screen and (max-width: 1440px) {
  .p-top-works-slider-wrap .swiper-button-prev::after,
  .p-top-works-slider-wrap .swiper-button-next::after {
    font-size: calc(32 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-works-slider-wrap .swiper-button-prev::after,
  .p-top-works-slider-wrap .swiper-button-next::after {
    font-size: 24px;
  }
}

.c-card-top-works {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.c-card-top-works .c-card-top-works__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 360px;
  height: auto;
  -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;
  gap: 10px;
  border: 4px solid #caaa72;
  background: #ede6e6;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__inner {
    width: calc(360 / 1440 * 100vw);
    gap: calc(10 / 1440 * 100vw);
    border: calc(4 / 1440 * 100vw) solid #caaa72;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__inner {
    width: 230px;
    gap: 10px;
    border: 2px solid #caaa72;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__inner {
    width: calc(230 / 390 * 100vw);
    gap: calc(10 / 390 * 100vw);
    border: calc(2 / 390 * 100vw) solid #caaa72;
  }
}
.c-card-top-works .c-card-top-works__img {
  width: 100%;
  height: 510px;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__img {
    height: calc(510 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__img {
    height: 280px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__img {
    height: calc(280 / 390 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
}
.c-card-top-works .c-card-top-works__desc {
  width: 100%;
  height: 190px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 5px;
  color: #101010;
  font-family: "Yu Mincho";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 0.36px;
  gap: 10px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__desc {
    height: calc(190 / 1440 * 100vw);
    padding: calc(5 / 1440 * 100vw);
    font-size: calc(16 / 1440 * 100vw);
    line-height: calc(12 / 1440 * 100vw);
    letter-spacing: calc(0.36 / 1440 * 100vw);
    gap: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__desc {
    height: 104px;
    padding: 2.75px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.2px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__desc {
    height: calc(104 / 390 * 100vw);
    padding: calc(2.75 / 390 * 100vw);
    font-size: calc(10 / 390 * 100vw);
    letter-spacing: calc(0.2 / 390 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__title {
    padding: calc(10 / 1440 * 100vw) 0;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__title {
    padding: 5.5px 0;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__title {
    padding: calc(5.5 / 390 * 100vw) 0;
  }
}
.c-card-top-works .c-card-top-works__title h4 {
  text-align: center;
  color: #101010;
  font-family: "Yu Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__title h4 {
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__title h4 {
    font-size: 16px;
    letter-spacing: 0.4px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__title h4 {
    font-size: calc(16 / 390 * 100vw);
    letter-spacing: calc(0.4 / 390 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__contetnt {
  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 screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__contetnt {
    gap: calc(15 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__contetnt {
    gap: 8.25px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__contetnt {
    gap: calc(8.25 / 390 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__role {
  display: grid;
  padding: 5px 0;
  grid-template-columns: 90px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__role {
    padding: calc(5 / 1440 * 100vw) 0;
    grid-template-columns: calc(90 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__role {
    padding: 3px 0;
    grid-template-columns: 75px 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__role {
    padding: calc(3 / 390 * 100vw) 0;
    grid-template-columns: calc(75 / 390 * 100vw) 1fr;
  }
}
.c-card-top-works .c-card-top-works__role--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: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__role--box {
    gap: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__role--box {
    gap: 2px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__role--box {
    gap: calc(2 / 390 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__role--contet {
  border-radius: 45px;
  border: 1px solid #101010;
  padding: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__role--contet {
    border-radius: calc(45 / 1440 * 100vw);
    padding: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__role--contet {
    padding: 2.5px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__role--contet {
    padding: calc(2.5 / 390 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__period {
  display: grid;
  padding: 5px 0;
  grid-template-columns: 90px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__period {
    padding: calc(5 / 1440 * 100vw) 0;
    grid-template-columns: calc(90 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__period {
    padding: 2px 0;
    grid-template-columns: 75px 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__period {
    padding: calc(2 / 390 * 100vw) 0;
    grid-template-columns: calc(75 / 390 * 100vw) 1fr;
  }
}
.c-card-top-works .c-card-top-works__period--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: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__period--box {
    gap: calc(5 / 1440 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__period--contet {
  border-radius: 45px;
  border: 1px solid #101010;
  padding: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__period--contet {
    border-radius: calc(45 / 1440 * 100vw);
    padding: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__period--contet {
    padding: 2.5px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__period--contet {
    padding: calc(2.5 / 390 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__project {
  display: grid;
  padding: 5px 0;
  grid-template-columns: 90px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__project {
    padding: calc(5 / 1440 * 100vw) 0;
    grid-template-columns: calc(90 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__project {
    padding: 2px 0;
    grid-template-columns: 75px 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__project {
    padding: calc(2 / 390 * 100vw) 0;
    grid-template-columns: calc(75 / 390 * 100vw) 1fr;
  }
}
.c-card-top-works .c-card-top-works__project--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: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__project--box {
    gap: calc(5 / 1440 * 100vw);
  }
}
.c-card-top-works .c-card-top-works__project--content {
  border-radius: 45px;
  border: 1px solid #101010;
  padding: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-works .c-card-top-works__project--content {
    border-radius: calc(45 / 1440 * 100vw);
    padding: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-works .c-card-top-works__project--content {
    padding: 2.5px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .c-card-top-works .c-card-top-works__project--content {
    padding: calc(2.5 / 390 * 100vw);
  }
}

.c-card-top-skill {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  display: grid;
  place-items: center;
  /* ▼ フリップカードだけ枠・背景を変更 */
}
.c-card-top-skill .c-card-top-skills__inner {
  width: 1171px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -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-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 40px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__inner {
    width: calc(1171 / 1440 * 100vw);
    gap: calc(40 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__inner {
    width: calc(550 / 600 * 100vw);
    gap: calc(40 / 600 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 350px;
    gap: 40px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: calc(350 / 390 * 100vw);
    gap: calc(40 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__item {
  width: 345px;
  height: 550px;
  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;
  border: 1px solid #2a1a0e;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__item {
    width: calc(345 / 1440 * 100vw);
    height: calc(550 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__item {
    width: calc(250 / 600 * 100vw);
    height: calc(400 / 600 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__item {
    width: 345px;
    height: 550px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__item {
    width: calc(345 / 390 * 100vw);
    height: calc(550 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__item.flip-card {
  border: 1px solid #caaa72;
  background: transparent;
  overflow: visible;
}
.c-card-top-skill .c-card-top-skills__img {
  padding-block: 10px;
  position: relative;
  width: auto;
  height: 200px;
  margin-inline: auto;
  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;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__img {
    padding-block: calc(10 / 1440 * 100vw);
    height: calc(200 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__img {
    padding-block: calc(7.25 / 600 * 100vw);
    height: calc(145 / 600 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__img {
    padding-block: 10px;
    height: 200px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__img {
    padding-block: calc(10 / 390 * 100vw);
    height: calc(200 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__img img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.c-card-top-skill .c-card-top-skills__desc {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 23px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__desc {
    margin-top: calc(15 / 1440 * 100vw);
    gap: calc(23 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__desc {
    margin-top: calc(10.8 / 600 * 100vw);
    gap: calc(16.6 / 600 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__desc {
    margin-top: 15px;
    gap: 23px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__desc {
    margin-top: calc(15 / 390 * 100vw);
    gap: calc(23 / 390 * 100vw);
  }
}
.c-card-top-skill .p-skill__skills {
  height: 100px;
  margin-inline: 10px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .p-skill__skills {
    height: calc(100 / 1440 * 100vw);
    margin-inline: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .p-skill__skills {
    height: calc(100 / 600 * 100vw);
    margin-inline: calc(10 / 600 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .p-skill__skills {
    height: 100px;
    margin-inline: 10px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .p-skill__skills {
    height: calc(100 / 390 * 100vw);
    margin-inline: calc(10 / 390 * 100vw);
  }
}
.c-card-top-skill .p-skill__skills h4 {
  color: #caaa72;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .p-skill__skills h4 {
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.6 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .p-skill__skills h4 {
    font-size: calc(17.4 / 600 * 100vw);
    letter-spacing: calc(0.435 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .p-skill__skills h4 {
    font-size: 24px;
    letter-spacing: 0.6px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .p-skill__skills h4 {
    font-size: calc(24 / 390 * 100vw);
    line-height: calc(20 / 390 * 100vw);
    letter-spacing: calc(0.6 / 390 * 100vw);
  }
}
.c-card-top-skill .p-skill__skills p {
  color: #101010;
  font-family: "Noto Sans JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .p-skill__skills p {
    font-size: calc(20 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .p-skill__skills p {
    font-size: calc(20 / 600 * 100vw);
    letter-spacing: calc(0.48 / 600 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .p-skill__skills p {
    font-size: 20px;
    letter-spacing: 0.48px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .p-skill__skills p {
    font-size: calc(20 / 390 * 100vw);
    letter-spacing: calc(0.48 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__explanation {
  margin-top: 5px;
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__explanation {
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
    margin-top: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__explanation {
    font-size: calc(14 / 600 * 100vw);
    letter-spacing: calc(0.48 / 600 * 100vw);
    margin-top: calc(5 / 600 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__explanation {
    font-size: 16px;
    letter-spacing: 0.48px;
    margin-top: 5px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__explanation {
    font-size: calc(16 / 390 * 100vw);
    letter-spacing: calc(0.48 / 390 * 100vw);
    margin-top: calc(5 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__contetnt {
  margin-top: 25px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__contetnt {
    margin-top: calc(25 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__contetnt {
    margin-top: calc(25 / 390 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__contetnt {
    margin-top: 25px;
  }
}
.c-card-top-skill .c-card-top-skills__main h5 {
  color: #101010;
  font-family: "Noto Sans JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__main h5 {
    font-size: calc(18 / 1440 * 100vw);
    letter-spacing: calc(0.6 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__main h5 {
    font-size: 16px;
    letter-spacing: 0.6px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__main h5 {
    font-size: 18px;
    letter-spacing: 0.6px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__main h5 {
    font-size: calc(18 / 390 * 100vw);
    letter-spacing: calc(0.6 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__main-skills__explanation {
  margin-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation {
    margin-top: calc(10 / 1440 * 100vw);
    gap: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation {
    margin-top: 10px;
    gap: 10px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation {
    margin-top: 10px;
    gap: 10px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation {
    margin-top: calc(10 / 390 * 100vw);
    gap: calc(10 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__main-skills__explanation li {
  padding-inline: 35px 5px;
  position: relative;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li {
    padding-inline: calc(35 / 1440 * 100vw) calc(5 / 1440 * 100vw);
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.6 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li {
    padding-inline: 35px 5px;
    font-size: 12px;
    letter-spacing: 0.6px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li {
    padding-inline: 35px 5px;
    font-size: 16px;
    letter-spacing: 0.6px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li {
    padding-inline: calc(35 / 390 * 100vw) calc(5 / 390 * 100vw);
    font-size: calc(16 / 390 * 100vw);
    letter-spacing: calc(0.6 / 390 * 100vw);
  }
}
.c-card-top-skill .c-card-top-skills__main-skills__explanation li::after {
  content: "■";
  position: absolute;
  top: 1px;
  left: 10px;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li::after {
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.6 / 1440 * 100vw);
    top: calc(1 / 1440 * 100vw);
    left: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li::after {
    font-size: 12px;
    letter-spacing: 0.6px;
    top: 1px;
    left: 10px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li::after {
    font-size: 16px;
    letter-spacing: 0.6px;
    top: 1px;
    left: 10px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 600px) and (max-width: 390px) {
  .c-card-top-skill .c-card-top-skills__main-skills__explanation li::after {
    font-size: calc(16 / 390 * 100vw);
    letter-spacing: calc(0.6 / 390 * 100vw);
    top: calc(1 / 390 * 100vw);
    left: calc(10 / 390 * 100vw);
  }
}

/* ============================== */
/* フリップカード（ラスト 1 枚用） */
/* ============================== */
.flip-card {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1440px) {
  .flip-card {
    width: calc(345 / 1440 * 100vw);
    height: calc(550 / 1440 * 100vw);
    -webkit-perspective: calc(1200 / 1440 * 100vw);
            perspective: calc(1200 / 1440 * 100vw);
  }
}

/* カード内部 */
.flip-card-inner {
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.8s ease;
  transition: -webkit-transform 0.8s ease;
  transition: transform 0.8s ease;
  transition: transform 0.8s ease, -webkit-transform 0.8s ease;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  position: relative;
}

/* ホバーで反転 */
.flip-card:hover .flip-card-inner {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

/* 各面の共通 */
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

/* ============================== */
/* 表面（TITLEのみ） */
/* ============================== */
.flip-card-front {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  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;
  position: relative;
  /* 背景はそのまま好みで */
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 55%), linear-gradient(155deg, #3a2313 0%, #1b1009 55%, #120a06 100%);
}

/* 上下にフィルム風の装飾ライン */
.flip-card-front::before,
.flip-card-front::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  border-top: 1px dashed rgba(202, 170, 114, 0.6);
}

.flip-card-front::before {
  top: 16%;
}

.flip-card-front::after {
  bottom: 16%;
}

.flip-title {
  position: relative;
  padding: 0 20px;
  color: #f5eee4;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 24px;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}
@media screen and (max-width: 1440px) {
  .flip-title {
    font-size: calc(24 / 1440 * 100vw);
    padding-inline: calc(20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .flip-title {
    font-size: 20px;
  }
}

/* タイトルの下に細いサブライン */
.flip-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 1px;
  margin: 14px auto 0;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(50%, rgba(202, 170, 114, 0.8)), to(transparent));
  background: linear-gradient(to right, transparent 0%, rgba(202, 170, 114, 0.8) 50%, transparent 100%);
}

/* ============================== */
/* 裏面（Coming Soon…メッセージ） */
/* ============================== */
.flip-card-back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  padding: 26px 22px;
  background: linear-gradient(145deg, #f6f1eb 0%, #f0e4d6 45%, #e6d7c4 100%);
  -webkit-box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(202, 170, 114, 0.5);
          box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(202, 170, 114, 0.5);
  /* ✅ 完全中央寄せ */
  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;
  text-align: center;
}
@media screen and (max-width: 1440px) {
  .flip-card-back {
    padding: calc(26 / 1440 * 100vw) calc(22 / 1440 * 100vw);
  }
}
.flip-card-back .c-card-top-skills__title {
  font-size: 24px !important;
  line-height: 1.5 !important;
}

/* 裏面テキスト全体も中央揃え */
.flip-card-back .c-card-top-skills__desc {
  margin-top: 0;
  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;
  text-align: center;
  gap: 18px;
}
@media screen and (max-width: 1440px) {
  .flip-card-back .c-card-top-skills__desc {
    gap: calc(18 / 1440 * 100vw);
  }
}

/* タイトル中央 */
.flip-card-back .c-card-top-skills__title {
  margin-bottom: 10px;
  color: #caaa72;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}
@media screen and (max-width: 1440px) {
  .flip-card-back .c-card-top-skills__title {
    font-size: calc(22 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .flip-card-back .c-card-top-skills__title {
    font-size: 22px;
  }
}

/* 説明文中央 */
.flip-card-back .c-card-top-skills__explanation {
  margin-top: 0;
  color: #4b3b2a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ✅ 中央寄せするため縦ライン装飾は無効化 */
.flip-card-back .p-skill__skills {
  position: relative;
  height: auto;
  margin-inline: 0;
  padding-left: 0;
}

.flip-card-back .p-skill__skills::before,
.flip-card-back .p-skill__skills::after {
  display: none;
}

.c-card-top-flow {
  width: 250px;
  height: 435px;
  border-radius: 19px;
  background: #2a1a0e;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow {
    width: calc(250 / 1440 * 100vw);
    height: calc(435 / 1440 * 100vw);
    border-radius: calc(19 / 1440 * 100vw);
  }
}
.c-card-top-flow .c-card-top-flows__inner {
  padding-top: 42px;
  width: 170px;
  margin: 0 auto;
  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-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow .c-card-top-flows__inner {
    padding-top: calc(42 / 1440 * 100vw);
    width: calc(170 / 1440 * 100vw);
    gap: calc(10 / 1440 * 100vw);
  }
}
.c-card-top-flow .c-card-top-flows__no {
  color: #caaa72;
  font-family: "Noto Serif JP";
  font-size: 46px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow .c-card-top-flows__no {
    font-size: calc(46 / 1440 * 100vw);
  }
}
.c-card-top-flow .c-card-top-flows__img {
  width: 168px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow .c-card-top-flows__img {
    width: calc(168 / 1440 * 100vw);
  }
}
.c-card-top-flow .c-card-top-flows__img svg {
  width: 100%;
}
.c-card-top-flow .c-card-top-flows__desc {
  margin-top: 15px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow .c-card-top-flows__desc {
    margin-top: calc(15 / 1440 * 100vw);
  }
}
.c-card-top-flow .c-card-top-flows__title h4 {
  color: #ede6e6;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow .c-card-top-flows__title h4 {
    font-size: calc(20 / 1440 * 100vw);
    letter-spacing: calc(0.6 / 1440 * 100vw);
  }
}
.c-card-top-flow .c-card-top-flows__explanation {
  margin-top: 30px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow .c-card-top-flows__explanation {
    margin-top: calc(30 / 1440 * 100vw);
  }
}
.c-card-top-flow .c-card-top-flows__explanation p {
  color: #ede6e6;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1440px) {
  .c-card-top-flow .c-card-top-flows__explanation p {
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
  }
}

.c-card-works {
  border: 1px solid #2a1a0e;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 360px;
  height: 376px;
  -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;
  gap: 10px;
}
@media screen and (max-width: 1440px) {
  .c-card-works {
    width: calc(360 / 1440 * 100vw);
    height: calc(376 / 1440 * 100vw);
    gap: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works {
    width: calc(250 / 390 * 100vw);
    height: calc(259 / 390 * 100vw);
    gap: calc(6.9 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__inner {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 17px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__inner {
    padding: calc(10 / 1440 * 100vw);
    gap: calc(17 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__inner {
    padding: calc(6.9 / 390 * 100vw);
    gap: calc(11.5 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__img {
  width: 330px;
  height: 240px;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__img {
    width: calc(330 / 1440 * 100vw);
    height: calc(240 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__img {
    width: calc(226.9 / 390 * 100vw);
    height: calc(165 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
}
.c-card-works .c-card-works__desc {
  width: 100%;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #101010;
  font-family: "Yu Mincho";
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 0.36px;
  gap: 10px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__desc {
    font-size: calc(12 / 1440 * 100vw);
    line-height: calc(12 / 1440 * 100vw);
    letter-spacing: calc(0.36 / 1440 * 100vw);
    gap: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__desc {
    font-size: calc(12.5 / 390 * 100vw);
    line-height: 1;
    letter-spacing: calc(0.45 / 390 * 100vw);
    gap: calc(6.87 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__title {
    margin-top: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__title {
    margin-top: calc(3.43 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__title h4 {
  text-align: center;
  color: #101010;
  font-family: "Yu Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__title h4 {
    font-size: calc(24 / 1440 * 100vw);
    line-height: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__title h4 {
    font-size: calc(16.87 / 390 * 100vw);
    line-height: 1;
    letter-spacing: calc(0.9 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__contetnt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.c-card-works .c-card-works__role {
  display: grid;
  padding: 5px 0;
  grid-template-columns: 65px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__role {
    padding: calc(5 / 1440 * 100vw) 0;
    grid-template-columns: calc(65 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__role {
    padding: calc(3.43 / 390 * 100vw) 0;
    grid-template-columns: calc(44.68 / 390 * 100vw) 1fr;
  }
}
.c-card-works .c-card-works__role--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: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__role--box {
    gap: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__role--box {
    gap: calc(34.3 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__role--contet {
  border-radius: 45px;
  border: 1px solid #101010;
  padding: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__role--contet {
    border-radius: calc(45 / 1440 * 100vw);
    padding: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__role--contet {
    border-radius: calc(30.93 / 390 * 100vw);
    padding: calc(3.43 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__period {
  display: grid;
  padding: 5px 0;
  grid-template-columns: 65px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__period {
    padding: calc(5 / 1440 * 100vw) 0;
    grid-template-columns: calc(65 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__period {
    padding: calc(3.43 / 390 * 100vw) 0;
    grid-template-columns: calc(44.68 / 390 * 100vw) 1fr;
  }
}
.c-card-works .c-card-works__period--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: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__period--box {
    gap: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__period--box {
    gap: calc(3.43 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__period--contet {
  border-radius: 45px;
  border: 1px solid #101010;
  padding: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__period--contet {
    border-radius: calc(45 / 1440 * 100vw);
    padding: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__period--contet {
    border-radius: calc(30.93 / 390 * 100vw);
    padding: calc(3.43 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__project--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: 5px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__project--box {
    gap: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__project--box {
    gap: calc(3.43 / 390 * 100vw);
  }
}
.c-card-works .c-card-works__project--contet {
  border-radius: 45px;
  border: 1px solid #101010;
  padding: 5px 15px;
  color: #19130a;
  text-align: center;
  font-family: "Yu Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .c-card-works .c-card-works__project--contet {
    border-radius: calc(45 / 1440 * 100vw);
    padding: calc(5 / 1440 * 100vw) calc(15 / 1440 * 100vw);
    font-size: calc(24 / 1440 * 100vw);
    line-height: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .c-card-works .c-card-works__project--contet {
    border-radius: calc(30.93 / 390 * 100vw);
    padding: calc(3.43 / 390 * 100vw) calc(10.31 / 390 * 100vw);
    font-size: calc(16.5 / 390 * 100vw);
    line-height: 1;
    letter-spacing: calc(0.9 / 390 * 100vw);
  }
}

.c-page-fv {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100vw;
  height: 373px !important;
  background-color: #2b1b0f;
  color: #c6a463;
  padding-left: calc(40 / 1440 * 100vw);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .c-page-fv {
    height: calc(373 / 1440 * 100vw) !important;
    padding-left: calc(40 / 1440 * 100vw);
    margin-top: 80px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-page-fv {
    margin-top: 60px;
  }
}
.c-page-fv div h2 {
  font-size: 48px;
  margin: 0;
  color: #a7844c;
  font-family: "Noto Serif JP";
  font-size: 60px;
  font-style: normal;
  font-weight: 900;
  line-height: 60px;
  letter-spacing: 1.8px;
}
@media screen and (max-width: 1440px) {
  .c-page-fv div h2 {
    font-size: calc(48 / 1440 * 100vw);
    font-size: calc(60 / 1440 * 100vw);
    line-height: calc(60 / 1440 * 100vw);
    letter-spacing: calc(1.8 / 1440 * 100vw);
  }
}
.c-page-fv div p {
  margin-top: 10px;
  color: #a7844c;
  font-family: "Noto Serif JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 1440px) {
  .c-page-fv div p {
    margin-top: calc(10 / 1440 * 100vw);
    font-size: calc(20 / 1440 * 100vw);
    line-height: calc(20 / 1440 * 100vw);
    letter-spacing: calc(0.6 / 1440 * 100vw);
  }
}

.c-page-fv::before,
.c-page-fv::after {
  content: "";
  position: absolute;
  left: -25px; /* 1周期ぶん左へ */
  width: calc(100% + 50px); /* 左右に25pxずつ余分に */
  height: 20px;
  pointer-events: none;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent 15px, rgba(255, 255, 255, 0.5) 15px, rgba(255, 255, 255, 0.5) 25px);
  /* 背景の位置を動かして無限ループ（速く） */
  -webkit-animation: film-scroll 6s linear infinite;
          animation: film-scroll 6s linear infinite;
  will-change: background-position;
  background-repeat: repeat-x;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
@media screen and (max-width: 1440px) {
  .c-page-fv::before,
  .c-page-fv::after {
    left: calc(-25 / 1440 * 100vw);
    width: calc(100% + 50 / 1440 * 100vw);
    height: calc(20 / 1440 * 100vw);
  }
}

.c-page-fv::before {
  top: 10px;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
  animation-direction: reverse;
}
@media screen and (max-width: 1440px) {
  .c-page-fv::before {
    top: calc(10 / 1440 * 100vw);
  }
}

.c-page-fv::after {
  bottom: 20px;
  animation-direction: reverse;
  -webkit-animation-duration: 0.5s;
          animation-duration: 0.5s;
}
@media screen and (max-width: 1440px) {
  .c-page-fv::after {
    bottom: calc(20 / 1440 * 100vw);
  }
}

/* 背景を左へ動かして継ぎ目なくループ */
@-webkit-keyframes film-scroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -25px 0;
    @media screen and (max-width: 1440px) {
      background-position: calc(-25 / 1440 * 100vw) 0;
    }
  }
}
@keyframes film-scroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -25px 0;
    @media screen and (max-width: 1440px) {
      background-position: calc(-25 / 1440 * 100vw) 0;
    }
  }
}
/* 動きを抑制（ユーザーがOS設定でアニメ無効の場合） */
@media (prefers-reduced-motion: reduce) {
  .c-page-fv::before,
  .c-page-fv::after {
    -webkit-animation: none;
            animation: none;
  }
}
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: #001a75;
}

.header__inner {
  padding: 13.5px 20px;
}
@media screen and (max-width: 1440px) {
  .header__inner {
    padding: calc(13.5 / 1440 * 100vw) calc(20 / 1440 * 100vw);
  }
}

.header__nav {
  display: none;
}

.drawer__icon {
  position: fixed;
  z-index: 102;
  top: 18px;
  right: 20px;
  width: 24px;
  height: 16px;
  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-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.drawer__icon--bar {
  width: 100%;
  height: 1px;
  background: #2a1a0e;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.drawer__icon.js-show .drawer__icon--bar:nth-of-type(1) {
  rotate: 45deg;
  translate: 0 7.5px;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(2) {
  display: none;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(3) {
  rotate: -45deg;
  translate: 0 -7.5px;
}

.drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: #001a75;
  overflow-y: scroll;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}
.drawer.js-show {
  opacity: 1;
  visibility: visible;
}

.drawer__body {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding-block: 88px 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;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.drawer__list li a {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.drawer__btn {
  display: inline-block;
  padding: 6px 30px;
  background: #fff;
  border-radius: 100vmax;
  color: #001a75;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.c-btn-send {
  width: 350px !important;
  padding: 12px 30px;
  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;
  position: relative;
  border: 1px solid #101010;
  gap: 5px;
}
@media screen and (max-width: 1440px) {
  .c-btn-send {
    width: calc(350 / 1440 * 100vw) !important;
    padding: calc(12 / 1440 * 100vw) calc(30 / 1440 * 100vw);
    gap: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-btn-send {
    width: min(250 / 390 * 100vw, 250px) !important;
    padding: min(12 / 390 * 100vw, 12px) min(30 / 390 * 100vw, 30px);
    gap: min(5 / 390 * 100vw, 5px);
  }
}
.c-btn-send input {
  color: #2a1a0e;
  font-family: "Noto Serif";
  font-size: 36px;
  font-style: italic;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 1.08px;
  padding-bottom: 5px;
}
@media screen and (max-width: 1440px) {
  .c-btn-send input {
    font-size: calc(36 / 1440 * 100vw);
    line-height: calc(36 / 1440 * 100vw);
    letter-spacing: calc(1.08 / 1440 * 100vw);
    padding-bottom: calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-btn-send input {
    font-size: 16px;
    line-height: 1;
    letter-spacing: 1.08px;
    padding-bottom: 5px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 900px) {
  .c-btn-send input {
    font-size: min(16 / 390 * 100vw, 16px);
    letter-spacing: 1.08px;
  }
}
.c-btn-send input::before {
  content: "Thank you for visiting ";
  position: absolute;
}
.c-btn-send p {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #6b5647;
  font-family: "Noto Serif";
  font-size: 10px;
  font-style: italic;
  font-weight: 500;
  line-height: 10px; /* 100% */
  letter-spacing: 0.3px;
}
@media screen and (max-width: 1440px) {
  .c-btn-send p {
    font-size: calc(10 / 1440 * 100vw);
    line-height: calc(10 / 1440 * 100vw);
    letter-spacing: calc(0.3 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .c-btn-send p {
    font-size: min(8 / 390 * 100vw, 8px);
    line-height: 1;
    letter-spacing: 0.3px;
  }
}
.c-btn-send .wpcf7-spinner {
  position: absolute;
  left: 40%;
  translate: -50%;
  top: 90px;
}
@media screen and (max-width: 1440px) {
  .c-btn-send .wpcf7-spinner {
    top: calc(90 / 1440 * 100vw);
  }
}

.c-top-works__btn span {
  font-family: "jsMath-cmti10", "Yu Mincho", serif;
  display: inline-block;
  background: #2a1a0e;
  color: #dfdddc;
  padding: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 24px;
}
.c-top-works__btn span:hover {
  background-color: #a7844c;
}
.c-top-works__btn span:hover span {
  color: #2a1a0e;
}

/* 文字アニメ用のベース */
.p-top-fv__text h2 {
  position: relative;
  /* overflow: hidden; ← これは外す */
  line-height: 1.4; /* ちょっと余裕を持たせる */
  padding: 0.2em 0; /* 上下に少しマージンを追加しておくと安心 */
}

/* 1文字ずつに付くクラス */
.text-line {
  display: inline-block;
}

.text-char {
  opacity: 0;
  display: inline-block;
  -webkit-transform: translateY(14px);
          transform: translateY(14px);
  -webkit-animation: movieChar 1.8s ease-out forwards;
          animation: movieChar 1.8s ease-out forwards;
}

/* 映画っぽい自然なフェードアップ */
@-webkit-keyframes movieChar {
  0% {
    opacity: 0;
    -webkit-transform: translateY(18px);
            transform: translateY(18px);
  }
  40% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes movieChar {
  0% {
    opacity: 0;
    -webkit-transform: translateY(18px);
            transform: translateY(18px);
  }
  40% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/* ほのかなフリッカー（映画っぽさ） ※任意 */
.p-top-fv__text h2::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  -webkit-animation: titleFlicker 3.2s ease-in-out 1.2s infinite;
          animation: titleFlicker 3.2s ease-in-out 1.2s infinite;
}

@-webkit-keyframes titleFlicker {
  0%, 60%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 0.18;
  }
}

@keyframes titleFlicker {
  0%, 60%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 0.18;
  }
}
.c-modal {
  position: fixed;
  inset: 0;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 9999;
}
.c-modal.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.c-modal__body {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 40px 60px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
@media screen and (max-width: 900px) {
  .c-modal__body {
    padding: 24px 16px;
  }
}

.c-modal__message {
  margin-bottom: 24px;
  color: #2a1a0e;
  font-family: "Yu Mincho";
  font-size: 18px;
  letter-spacing: 0.54px;
}
@media screen and (max-width: 900px) {
  .c-modal__message {
    font-size: 14px;
  }
}

.c-modal__close {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid #2a1a0e;
  background: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.c-modal__close:hover {
  background: #33250c;
  color: #fff;
}

/* ===============================
   Header
   =============================== */
.p-header {
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.01);
  /* ヘッダー固定＆スクロールで出し入れ */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #fff;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -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;
}

/* 隠れている状態（下スクロール時） */
.p-header.is-hide {
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}

/* ドロワーが開いているときは必ずヘッダーを表示 */
.is-drawer-open .p-header {
  -webkit-transform: translateY(0) !important;
          transform: translateY(0) !important;
}

.p-header__inner {
  width: 1405px;
  height: 80px;
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-inline: 35px;
  margin-inline: auto;
}
@media screen and (max-width: 1440px) {
  .p-header__inner {
    height: 80px;
    padding-inline: calc(35 / 1440 * 100vw);
    width: calc(1405 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-header__inner {
    height: 60px;
  }
}

.p-heder-site-title {
  width: 100px;
  height: auto;
}
@media screen and (max-width: 1440px) {
  .p-heder-site-title {
    width: 100px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-heder-site-title {
    width: 60px;
  }
}
.p-heder-site-title img {
  display: block;
  width: 100%;
  height: auto;
}

.p-header-menu {
  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;
  gap: 50px;
  color: #101010;
  font-family: "jsMath-cmti10", "Yu Mincho", serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-block: 0px;
  /* ==========================
     メニュー：中央から伸びる下線
     ========================== */
  /* 下線本体（初期は中央に0幅） */
  /* ホバーで左右に伸びる */
  /* ==========================
     CONTACTだけボタン化
     ========================== */
  /* CONTACTボタンには下線を出さない */
  /* ★ CONTACT ホバー演出（背景 #33250c・文字 白） */
}
@media screen and (max-width: 1440px) {
  .p-header-menu {
    gap: calc(50 / 1440 * 100vw);
    font-size: 26px;
  }
}
.p-header-menu a {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.p-header-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background-color: currentColor;
  -webkit-transition: width 0.35s ease;
  transition: width 0.35s ease;
}
.p-header-menu a:hover::after {
  width: 100%;
}
.p-header-menu .menu-item--button > a {
  display: inline-block;
  padding: 10px 33px;
  border: 1.5px solid currentColor;
  border-radius: 9999px;
  text-decoration: none;
  -webkit-transition: background-color 0.3s ease, color 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@media screen and (max-width: 1440px) {
  .p-header-menu .menu-item--button > a {
    padding: calc(10 / 1440 * 100vw) calc(33 / 1440 * 100vw);
  }
}
.p-header-menu .menu-item--button > a::after {
  display: none;
}
.p-header-menu .menu-item--button > a:hover {
  background-color: #33250c;
  color: #ffffff;
  opacity: 1;
}

/* ===============================
   Drawer（SP用）
   =============================== */
/* ハンバーガーアイコン */
.drawer__icon {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  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-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  z-index: 10000;
  cursor: pointer;
}
@media screen and (min-width: 901px) {
  .drawer__icon {
    position: static;
    top: auto;
    right: auto;
  }
}

.drawer__icon--bar {
  width: 100%;
  height: 2px;
  background-color: #101010;
  border-radius: 9999px;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
}

/* 開いているときのアイコン変形（X印） */
.drawer__icon.js-show .drawer__icon--bar:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(95deg);
          transform: translateY(10px) rotate(95deg);
}
.drawer__icon.js-show .drawer__icon--bar:nth-child(2) {
  opacity: 0;
}
.drawer__icon.js-show .drawer__icon--bar:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(-95deg);
          transform: translateY(-10px) rotate(-95deg);
}

/* ドロワー全体（オーバーレイ） */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 開いている状態 */
.drawer.js-show {
  opacity: 1;
  visibility: visible;
}

/* ドロワー本体（右側からスライド） */
.drawer__body {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: #fff;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -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;
  padding: 80px 24px 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

/* ドロワー表示時は中身をスライドイン */
.drawer.js-show .drawer__body {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

/* メニューリスト */
.drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  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;
}
.drawer__list li a {
  display: block;
  padding-block: 8px;
  color: #101010;
  text-decoration: none;
}
.drawer__list li a:hover {
  opacity: 0.8;
}

/* お問い合わせボタン */
.drawer__btn {
  display: inline-block;
  margin-top: auto;
  padding: 12px 24px;
  text-align: center;
  background-color: #101010;
  color: #fff;
  border-radius: 9999px;
  text-decoration: none;
}

.drawer__btn:hover {
  opacity: 0.9;
}

/* ===============================
   body スクロール制御
   =============================== */
.is-drawer-open {
  overflow: hidden;
}

/* ===============================
   Footer Section
   =============================== */
.p-footer {
  width: 100%;
  background-color: #1c120b;
  color: #c6a463;
  text-align: center;
  padding: 60px 0;
  font-family: "Georgia", serif;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  /* 内部レイアウト：横並びに修正 */
  /* THE END */
  /* COPYRIGHT */
}
@media screen and (max-width: 1440px) {
  .p-footer {
    padding: calc(60 / 1440 * 100vw) 0;
    font-size: calc(14 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-footer {
    padding: 30px 0;
    font-size: 14px;
  }
}
.p-footer .p-footer__inner {
  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;
  gap: 24px; /* 間隔 */
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .p-footer .p-footer__inner {
    gap: calc(24 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-footer .p-footer__inner {
    gap: 24px;
  }
}
.p-footer .p-footer-end {
  font-weight: bold;
  color: rgba(255, 255, 255, 0.1);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(200, 170, 120, 0.3);
  font-family: "Yu Mincho";
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.72px;
  opacity: 0;
  -webkit-transform: translateY(40px);
          transform: translateY(40px);
  -webkit-transition: opacity 0.8s ease-out, -webkit-transform 1.2s ease-out;
  transition: opacity 0.8s ease-out, -webkit-transform 1.2s ease-out;
  transition: transform 1.2s ease-out, opacity 0.8s ease-out;
  transition: transform 1.2s ease-out, opacity 0.8s ease-out, -webkit-transform 1.2s ease-out;
  will-change: transform, opacity;
}
@media screen and (max-width: 1440px) {
  .p-footer .p-footer-end {
    font-size: calc(28 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-footer .p-footer-end {
    font-size: 16px;
    letter-spacing: 0.72px;
  }
}
.p-footer .p-footer-end.is-active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}
.p-footer .p-footer-copy {
  color: #fff;
  text-align: center;
  font-family: "Yu Mincho";
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.72px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(200, 170, 120, 0.3);
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  opacity: 0;
  -webkit-transition: opacity 0.8s ease-out, -webkit-transform 1.2s ease-out;
  transition: opacity 0.8s ease-out, -webkit-transform 1.2s ease-out;
  transition: transform 1.2s ease-out, opacity 0.8s ease-out;
  transition: transform 1.2s ease-out, opacity 0.8s ease-out, -webkit-transform 1.2s ease-out;
  will-change: transform, opacity;
}
@media screen and (max-width: 1440px) {
  .p-footer .p-footer-copy {
    font-size: calc(20 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-footer .p-footer-copy {
    font-size: 10px;
  }
}
.p-footer .p-footer-copy.is-active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}
.p-footer .p-footer-copy .p-footer-brand {
  font-weight: 600;
}
.p-footer .p-footer-copy .p-footer-credit {
  font-style: italic;
}

/* prefers-reduced-motion: reduce 対応 */
@media (prefers-reduced-motion: reduce) {
  .p-footer .p-footer-end,
  .p-footer .p-footer-copy {
    -webkit-transition: none;
    transition: none;
    -webkit-transform: none;
            transform: none;
    opacity: 1;
  }
}
.p-contact {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.p-contact__inner {
  width: 980px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin-inline: auto;
}
@media screen and (max-width: 1440px) {
  .p-contact__inner {
    width: calc(980 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__inner {
    width: calc(370 / 390 * 100vw);
  }
}

.p-contact__title {
  font-size: 60px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
}
@media screen and (max-width: 1440px) {
  .p-contact__title {
    font-size: calc(60 / 1440 * 100vw);
  }
}

.p-contact__desc {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  margin-block: 30px 50px;
}
@media screen and (max-width: 1440px) {
  .p-contact__desc {
    margin-block: calc(30 / 1440 * 100vw) calc(50 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__desc {
    width: min(270 / 390 * 100vw, 400px);
    margin-block: calc(20 / 390 * 100vw) calc(30 / 390 * 100vw);
  }
}
.p-contact__desc p {
  color: #2a1a0e;
  font-family: "Yu Mincho";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.54px;
}
@media screen and (max-width: 1440px) {
  .p-contact__desc p {
    font-size: calc(18 / 1440 * 100vw);
    letter-spacing: calc(0.54 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__desc p {
    font-size: min(10 / 390 * 100vw, 15px);
    letter-spacing: 0.54px;
  }
}

.p-contact__input {
  width: 800px;
  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: 34px;
}
@media screen and (max-width: 1440px) {
  .p-contact__input {
    width: calc(800 / 1440 * 100vw);
    row-gap: calc(34 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__input {
    width: min(300 / 390 * 100vw, 450px);
    row-gap: calc(10 / 390 * 100vw);
    margin-inline: auto;
  }
}

.p-contact__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .p-contact__row {
    grid-template-columns: calc(280 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__row {
    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: start;
        -ms-flex-align: start;
            align-items: start;
    gap: 3px;
  }
}
.p-contact__row.--aifs {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.p-contact__head {
  color: #2a1a0e;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}
@media screen and (max-width: 1440px) {
  .p-contact__head {
    font-size: calc(18 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__head {
    font-size: 12px;
  }
}
.p-contact__head span.--must {
  position: relative;
  display: inline-block;
}
.p-contact__head span.--must::after {
  margin-left: 10px;
  content: "必須";
  position: absolute;
  top: calc(50% + 1px);
  translate: 0 -50%;
  display: inline-block;
  color: #ffffff;
  white-space: nowrap;
  background: #caaa72;
  color: #ede6e6;
  font-family: "Yu Mincho";
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.36px;
  padding: 3px 5px;
}
@media screen and (max-width: 1440px) {
  .p-contact__head span.--must::after {
    top: calc(50% + 1 / 1440 * 100vw);
    letter-spacing: calc(0.36 / 1440 * 100vw);
    padding: calc(3 / 1440 * 100vw) calc(5 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__head span.--must::after {
    top: calc(50% + 1px);
    letter-spacing: 0.36px;
    padding: 3px 5px;
  }
}

.p-contact__data {
  width: 100%;
}

input[type=text],
input[type=email],
select,
textarea {
  border-radius: 0;
  width: 100%;
  border: none;
  padding: 5.5px 10px;
  border: 0.75px solid #343436;
  font-size: 14px;
  line-height: normal;
}
@media screen and (max-width: 1440px) {
  input[type=text],
  input[type=email],
  select,
  textarea {
    padding: calc(5.5 / 1440 * 100vw) calc(10 / 1440 * 100vw);
    border: calc(0.75 / 1440 * 100vw) solid #343436;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  input[type=text],
  input[type=email],
  select,
  textarea {
    padding: 5.5px 10px;
    border: 0.75px solid #343436;
  }
}
input[type=text]::-webkit-input-placeholder, input[type=email]::-webkit-input-placeholder, select::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: rgba(52, 52, 54, 0.3);
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: rgba(52, 52, 54, 0.3);
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
input[type=text]:-ms-input-placeholder, input[type=email]:-ms-input-placeholder, select:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: rgba(52, 52, 54, 0.3);
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
input[type=text]::-ms-input-placeholder, input[type=email]::-ms-input-placeholder, select::-ms-input-placeholder, textarea::-ms-input-placeholder {
  color: rgba(52, 52, 54, 0.3);
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
input[type=text]::placeholder,
input[type=email]::placeholder,
select::placeholder,
textarea::placeholder {
  color: rgba(52, 52, 54, 0.3);
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
@media screen and (max-width: 1440px) {
  input[type=text]::-webkit-input-placeholder, input[type=email]::-webkit-input-placeholder, select::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    font-size: calc(18 / 1440 * 100vw);
  }
  input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
    font-size: calc(18 / 1440 * 100vw);
  }
  input[type=text]:-ms-input-placeholder, input[type=email]:-ms-input-placeholder, select:-ms-input-placeholder, textarea:-ms-input-placeholder {
    font-size: calc(18 / 1440 * 100vw);
  }
  input[type=text]::-ms-input-placeholder, input[type=email]::-ms-input-placeholder, select::-ms-input-placeholder, textarea::-ms-input-placeholder {
    font-size: calc(18 / 1440 * 100vw);
  }
  input[type=text]::placeholder,
  input[type=email]::placeholder,
  select::placeholder,
  textarea::placeholder {
    font-size: calc(18 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  input[type=text]::-webkit-input-placeholder, input[type=email]::-webkit-input-placeholder, select::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    font-size: 12px;
  }
  input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
    font-size: 12px;
  }
  input[type=text]:-ms-input-placeholder, input[type=email]:-ms-input-placeholder, select:-ms-input-placeholder, textarea:-ms-input-placeholder {
    font-size: 12px;
  }
  input[type=text]::-ms-input-placeholder, input[type=email]::-ms-input-placeholder, select::-ms-input-placeholder, textarea::-ms-input-placeholder {
    font-size: 12px;
  }
  input[type=text]::placeholder,
  input[type=email]::placeholder,
  select::placeholder,
  textarea::placeholder {
    font-size: 12px;
  }
}

textarea {
  height: 243px;
  resize: vertical;
}
@media screen and (max-width: 1440px) {
  textarea {
    height: calc(243 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  textarea {
    height: 150px;
  }
}

input[type=checkbox] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

input[type=checkbox]:checked + span::after {
  opacity: 1;
}

.wpcf7-list-item {
  display: grid;
  grid-template-columns: 1fr;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  justify-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 1440px) {
  .wpcf7-list-item {
    -webkit-column-gap: calc(10 / 1440 * 100vw);
       -moz-column-gap: calc(10 / 1440 * 100vw);
            column-gap: calc(10 / 1440 * 100vw);
    margin-bottom: calc(40 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .wpcf7-list-item {
    -webkit-column-gap: 10px;
       -moz-column-gap: 10px;
            column-gap: 10px;
    margin-bottom: 20px;
  }
}
.wpcf7-list-item span {
  display: inline-block;
  padding-left: 48px;
  position: relative;
  color: #2a1a0e;
  font-family: "Yu Mincho";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.54px;
}
@media screen and (max-width: 1440px) {
  .wpcf7-list-item span {
    padding-left: calc(48 / 1440 * 100vw);
    font-size: calc(18 / 1440 * 100vw);
    letter-spacing: calc(0.54 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .wpcf7-list-item span {
    padding-left: 16px;
    font-size: min(12 / 390 * 100vw, 14px);
    letter-spacing: 0.54px;
  }
}
.wpcf7-list-item span::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #000;
}
@media screen and (max-width: 1440px) {
  .wpcf7-list-item span::before {
    width: calc(30 / 1440 * 100vw);
    height: calc(30 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .wpcf7-list-item span::before {
    width: min(12 / 390 * 100vw, 14px);
    height: min(12 / 390 * 100vw, 14px);
    top: 3px;
  }
}
.wpcf7-list-item span::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 10px;
  width: 12px;
  height: 24px;
  rotate: 45deg;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 1440px) {
  .wpcf7-list-item span::after {
    left: calc(10 / 1440 * 100vw);
    width: calc(12 / 1440 * 100vw);
    height: calc(24 / 1440 * 100vw);
  }
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

input[type=radio] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  padding-left: 42px;
}

input[type=radio]:checked + span {
  position: relative;
}
input[type=radio]:checked + span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #6b6866;
  border-radius: 50%;
  left: -32px;
  top: 50%;
  translate: 0 -50%;
}
input[type=radio]:checked + span::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  left: -27px;
  top: 50%;
  translate: 0 -50%;
  z-index: 10;
}

.p-contact__data-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-left: 48px;
}
.p-contact__data-radio span {
  position: relative;
}
.p-contact__data-radio span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #6b6866;
  border-radius: 50%;
  left: -32px;
  top: 50%;
  translate: 0 -50%;
}
.p-contact__data-radio label:not(:last-of-type) span {
  border-right: none;
}

.p-contact__acceptance {
  grid-template-columns: 1fr;
}
.p-contact__acceptance a {
  text-decoration: underline;
}

.p-contact__private {
  margin-inline: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 50px;
  color: #2a1a0e;
  font-family: "Yu Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .p-contact__private {
    margin-top: calc(50 / 1440 * 100vw);
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__private {
    margin-top: calc(20 / 390 * 100vw);
    width: min(250 / 390 * 100vw, 400px);
  }
}
.p-contact__private .p-contact__head {
  color: #2a1a0e;
  text-align: center;
  font-family: "Yu Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .p-contact__private .p-contact__head {
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__private .p-contact__head {
    font-size: min(16 / 390 * 100vw, 25px);
    letter-spacing: 0.72px;
  }
}
.p-contact__private .p-contact__body {
  margin-block: 20px 30px;
  color: #2a1a0e;
  font-family: "Yu Mincho";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.54px;
}
@media screen and (max-width: 1440px) {
  .p-contact__private .p-contact__body {
    margin-block: calc(20 / 1440 * 100vw) calc(30 / 1440 * 100vw);
    font-size: calc(18 / 1440 * 100vw);
    letter-spacing: calc(0.54 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-contact__private .p-contact__body {
    font-size: min(12 / 390 * 100vw, 14px);
    margin-block: 10px 10px;
  }
}

input[type=submit],
input[type=button] {
  border-radius: 0px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  -moz-appearance: button;
       appearance: button;
  border: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  background: transparent;
}

input[type=submit]::-webkit-search-decoration,
input[type=button]::-webkit-search-decoration {
  display: none;
}

.row.jc-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.p-contact__submit {
  width: 320px;
  margin-top: 48px;
}
@media screen and (max-width: 1440px) {
  .p-contact__submit {
    margin-top: 48px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 600px) {
  .p-contact__submit {
    margin-top: 80px;
  }
}
.p-contact__submit:hover {
  background-color: #33250c;
}
.p-contact__submit:hover input {
  color: #ffffff;
}
.p-contact__submit:hover p {
  color: #ffffff;
}

.wpcf7-not-valid-tip {
  color: red;
  font-weight: 400;
  font-size: 16px;
  margin-top: 6px;
}

/* -----------------------------------------------------------
   Film Leader Loader  最終確定版（1タブ1回 & 遷移時チラ見え防止）
----------------------------------------------------------- */
/* 初期はスクロール固定用クラス */
body.lock {
  overflow: hidden;
}

/* =========================================================
   ✅ ローダー全体
   - デフォルトは「非表示」
   - body.is-loader-active が付いたときだけ表示
========================================================= */
body.is-loader-active .p-header {
  visibility: hidden;
  pointer-events: none;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(120% 140% at 50% 45%, #e7ccab 0%, #d9ba93 58%, #caa97f 78%, #b28e67 100%);
  display: grid;
  place-items: center;
  /* ← 初期は出さない（JSで .is-loader-active が付くまで完全非表示） */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* JS が付与する「ローダー稼働中」クラス */
.is-loader-active #loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* フェードアウト終了時用 */
#loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* =========================================================
   ✅ 左右のフィルム（黒帯 + 中央の白い縦穴）
========================================================= */
.film {
  position: absolute;
  top: 0;
  width: 88px;
  height: 100%;
  background: #111; /* 完全な黒帯 */
  z-index: 100;
  pointer-events: none;
}

.film-left {
  left: 0;
}

.film-right {
  right: 0;
}

/* 白い穴は疑似要素で作る */
.film::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 40px; /* 穴の太さ */
  height: 100%;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 15px, rgba(255, 255, 255, 0.5) 15px, rgba(255, 255, 255, 0.5) 25px);
  background-repeat: repeat-y;
  -webkit-animation: film-scroll-y 0.5s linear infinite;
          animation: film-scroll-y 0.5s linear infinite;
}

/* 穴の縝方向スクロール */
@-webkit-keyframes film-scroll-y {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 25px 0px;
  }
}
@keyframes film-scroll-y {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 25px 0px;
  }
}
/* =========================================================
   ✅ 劣化ノイズ（フリッカー + スクラッチ + ビネット）
========================================================= */
.film-noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  mix-blend-mode: multiply;
  -webkit-animation: filmFlicker 1.2s steps(2, end) infinite;
          animation: filmFlicker 1.2s steps(2, end) infinite;
}

.film-noise::before {
  content: "";
  position: absolute;
  inset: -20% 0 -20% 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 0 70%, rgba(255, 255, 255, 0.16) 90%, rgba(255, 255, 255, 0.04) 100%);
  -webkit-animation: scratches 6s linear infinite;
          animation: scratches 6s linear infinite;
  mix-blend-mode: screen;
}

.film-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.45) 100%);
  mix-blend-mode: multiply;
  -webkit-animation: flicker 1.8s steps(2, end) infinite;
          animation: flicker 1.8s steps(2, end) infinite;
}

@-webkit-keyframes filmFlicker {
  0% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  50% {
    -webkit-filter: brightness(0.95);
            filter: brightness(0.95);
  }
  100% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
}

@keyframes filmFlicker {
  0% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  50% {
    -webkit-filter: brightness(0.95);
            filter: brightness(0.95);
  }
  100% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
}
@-webkit-keyframes scratches {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(20%);
            transform: translateY(20%);
  }
}
@keyframes scratches {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(20%);
            transform: translateY(20%);
  }
}
@-webkit-keyframes flicker {
  0% {
    opacity: 0.92;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.92;
  }
}
@keyframes flicker {
  0% {
    opacity: 0.92;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.92;
  }
}
/* =========================================================
   ✅ 中央の円盤（リーダー）
========================================================= */
.leader {
  position: relative;
  width: min(74vmin, 720px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 40% 37%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 55%), #e7ccab;
  -webkit-box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18), 0 28px 120px rgba(0, 0, 0, 0.45);
          box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18), 0 28px 120px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 100;
}

/* ガイドライン */
.cross {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.35);
}

.cross.h {
  width: 100%;
  height: 3px;
}

.cross.v {
  height: 100%;
  width: 3px;
}

/* リング */
.ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 7px solid rgba(0, 0, 0, 0.58);
  -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
          box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.ring-inner {
  inset: 18%;
  border-width: 5px;
  border-color: rgba(0, 0, 0, 0.48);
}

/* 12時固定の淡い帯 */
.sector-base {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  mix-blend-mode: screen;
}

/* 回転する扇形 */
.sector-wipe {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  mix-blend-mode: screen;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.22) 0deg, rgba(255, 255, 255, 0.08) 8deg, rgba(255, 255, 255, 0) 16deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 49.8%, transparent 50%);
  mask: radial-gradient(circle at 50% 50%, #000 0 49.8%, transparent 50%);
  -webkit-animation: rotateSweep 1s linear infinite;
          animation: rotateSweep 1s linear infinite;
}

@-webkit-keyframes rotateSweep {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotateSweep {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/* 数字 */
.count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Georgia", serif;
  font-size: clamp(64px, 18vmin, 240px);
  color: #2b1a14;
  z-index: 3;
}

/* =========================================================
   ✅ モバイル調整
========================================================= */
@media (max-width: 480px) {
  .film {
    width: 64px;
  }
  .film::before {
    width: 30px;
  }
  .ring {
    border-width: 5px;
  }
  .ring-inner {
    border-width: 4px;
  }
}
.p-about {
  position: relative;
  background: linear-gradient(234deg, rgba(213, 113, 59, 0.8) -1.32%, rgba(211, 161, 130, 0.5) 31.23%, rgba(252, 201, 190, 0.2) 96.82%);
}

.p-about__inner {
  width: 100%;
  margin-inline: auto;
}

.p-about-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-block: 40px 60px;
  gap: 86px;
  color: #19130a;
  font-family: "Yu Mincho";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.54px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 1440px) {
  .p-about-content {
    margin-block: calc(40 / 1440 * 100vw) calc(60 / 1440 * 100vw);
    gap: calc(86 / 1440 * 100vw);
    font-size: calc(18 / 1440 * 100vw);
    letter-spacing: calc(0.54 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-about-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: min(16 / 390 * 100vw, 18px);
  }
}
.p-about-content .p-about-img {
  width: 573px;
}
@media screen and (max-width: 1440px) {
  .p-about-content .p-about-img {
    width: calc(573 / 1440 * 100vw);
  }
}
.p-about-content .p-about-img img {
  width: 100%;
  height: auto;
}

.p-about-text {
  width: 608px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 47px;
}
@media screen and (max-width: 1440px) {
  .p-about-text {
    width: calc(608 / 1440 * 100vw);
    gap: calc(47 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-about-text {
    width: min(350 / 390 * 100vw, 600px);
    gap: 20px;
  }
}

.p-about-skill {
  border: 1px solid rgba(0, 0, 0, 0.19);
  background: #fff;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 18px;
}
@media screen and (max-width: 1440px) {
  .p-about-skill {
    padding: calc(10 / 1440 * 100vw);
    gap: calc(18 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-about-skill {
    padding: 10px;
    font-size: min(14 / 390 * 100vw, 16px);
  }
}

.p-about__item {
  display: grid;
  grid-template-columns: 111px 1fr;
}
@media screen and (max-width: 1440px) {
  .p-about__item {
    grid-template-columns: calc(111 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-about__item {
    grid-template-columns: calc(111 / 390 * 100vw) 1fr;
  }
}

.p-skill {
  position: relative;
}
.p-skill::after {
  content: "";
  position: absolute;
  background: url("../img/skill/img-skill-bg-film.webp") center/contain no-repeat;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  height: auto;
  aspect-ratio: 131/110;
  z-index: -1;
  right: calc(-20 / 1440 * 100vw);
  top: calc(-10 / 1440 * 100vw);
  width: calc(350 / 1440 * 100vw);
}
.p-skill::before {
  content: "";
  position: absolute;
  background: url("../img/skill/img-skill-bg-katinko.webp") center/contain no-repeat;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  height: auto;
  aspect-ratio: 131/110;
  z-index: -1;
  left: calc(-50 / 1440 * 100vw);
  bottom: calc(-180 / 1440 * 100vw);
  width: calc(350 / 1440 * 100vw);
}

.p-skill__content {
  margin-top: 50px;
}
@media screen and (max-width: 1440px) {
  .p-skill__content {
    margin-top: calc(50 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-skill__content {
    margin-top: 50px;
  }
}

@media screen and (max-width: 900px) {
  .p-skill__inner {
    width: calc(350 / 390 * 100vw);
    margin-inline: auto;
  }
}

/* ===============================
   WORKS セクション
================================ */
.p-works {
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 600px) {
  .p-works {
    overflow: hidden;
  }
}
.p-works::after {
  content: "";
  position: absolute;
  background: url("../img/works/img-work-bg1.webp") center/contain no-repeat;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  height: auto;
  aspect-ratio: 131/110;
  z-index: -1;
  left: calc(-170 / 1440 * 100vw);
  top: calc(-200 / 1440 * 100vw);
  width: calc(530 / 1440 * 100vw);
}
.p-works::before {
  content: "";
  position: absolute;
  background: url("../img/works/img-work-bg2.webp") center/contain no-repeat;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  height: auto;
  aspect-ratio: 131/110;
  z-index: -1;
  right: calc(-250 / 1440 * 100vw);
  bottom: calc(-330 / 1440 * 100vw);
  width: calc(750 / 1440 * 100vw);
}

/* ✅ sticky 専用ラッパー */
.p-serviceTabs__stickyWrap {
  position: relative;
  z-index: 50;
}
@media screen and (max-width: 600px) {
  .p-serviceTabs__stickyWrap {
    position: sticky;
    top: 0;
  }
}

/* =============================== */
/*  SP：タブの固定（fixed 制御）    */
/* =============================== */
@media screen and (max-width: 600px) {
  /* ラッパーを fixed にする */
  .p-serviceTabs__stickyWrap.is-fixed {
    position: fixed;
    top: 0; /* メニュー閉じているとき */
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 100%;
    max-width: calc(350 / 390 * 100vw);
    z-index: 50;
  }
  /* メニュー（ドロワー）開いたときだけ 60px 下げる */
  .p-serviceTabs__stickyWrap.is-fixed.is-drawer-offset {
    top: 60px;
  }
  /* タブ自体のレイアウト（sticky は付けない） */
  .p-serviceTabs__tabList {
    display: grid;
    grid-template-areas: "all wp st" "all cd des";
    grid-template-columns: calc(130 / 390 * 100vw) 1fr 1fr;
    -webkit-column-gap: 0;
       -moz-column-gap: 0;
            column-gap: 0;
    background: #a7844c;
    width: 100%;
    max-width: calc(350 / 390 * 100vw);
    margin: 0 auto;
  }
}
/* ===============================
   WORKS タブ全体
================================ */
.p-serviceTabs {
  margin-block: 40px;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs {
    margin-block: calc(40 / 1440 * 100vw);
  }
}
@media screen and (max-width: 600px) {
  .p-serviceTabs {
    margin-block: calc(40 / 390 * 100vw);
  }
}

.p-serviceTabs__inner {
  width: 1243px;
  margin-inline: auto;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__inner {
    width: calc(1243 / 1440 * 100vw);
  }
}
@media screen and (max-width: 600px) {
  .p-serviceTabs__inner {
    width: calc(350 / 390 * 100vw);
  }
}

/* ===============================
   タブ一覧
================================ */
.p-serviceTabs__tabList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 6px;
     -moz-column-gap: 6px;
          column-gap: 6px;
  border-bottom: 1px solid #000;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__tabList {
    -webkit-column-gap: calc(6 / 1440 * 100vw);
       -moz-column-gap: calc(6 / 1440 * 100vw);
            column-gap: calc(6 / 1440 * 100vw);
  }
}

/* SP：2行レイアウト＋sticky
   - メニュー閉：top: 0
   - メニュー開：top: 60px
-------------------------------- */
@media screen and (max-width: 600px) {
  .p-serviceTabs__tabList {
    display: grid;
    grid-template-areas: "all wp st" "all cd des";
    grid-template-columns: calc(130 / 390 * 100vw) 1fr 1fr;
    -webkit-column-gap: 0;
       -moz-column-gap: 0;
            column-gap: 0;
    background: #a7844c;
    width: 100%;
    max-width: calc(350 / 390 * 100vw);
    margin: 0 auto;
    /* ★ ここでは position は付けない（sticky は stickyWrap に任せる） */
  }
  /* ✅ drawer 開いたときだけ 60px 下げる（stickyWrap に付ける） */
  .p-serviceTabs__stickyWrap.is-drawer-offset {
    top: 60px;
  }
}
/* ===============================
   タブボタン
================================ */
.p-serviceTabs__tab {
  width: 170px;
  padding: 14px 27px;
  background: #a7844c;
  color: #000;
  font-size: 20px;
  border-radius: 0 20px 0 0;
  border-top: 1px solid #19130a;
  border-right: 1px solid #19130a;
  border-left: 1px solid #19130a;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__tab {
    width: calc(170 / 1440 * 100vw);
    padding: calc(14 / 1440 * 100vw) calc(27 / 1440 * 100vw);
    font-size: calc(20 / 1440 * 100vw);
    border-radius: 0 calc(20 / 1440 * 100vw) 0 0;
  }
}
.p-serviceTabs__tab.is-active {
  background: #2a1a0e;
  color: #fff;
  pointer-events: none;
}
@media (any-hover: hover) {
  .p-serviceTabs__tab:not(.is-active):hover {
    cursor: pointer;
    opacity: 0.7;
  }
}

/* SP 用：grid-area 割り当て */
@media screen and (max-width: 600px) {
  .p-serviceTabs__tab {
    width: 100%;
    padding: calc(7 / 390 * 100vw) calc(14 / 390 * 100vw);
    font-size: calc(12 / 390 * 100vw);
    border-radius: 0;
    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;
  }
  .p-serviceTabs__tab:nth-of-type(1) {
    grid-area: all;
  }
  .p-serviceTabs__tab:nth-of-type(2) {
    grid-area: wp;
  }
  .p-serviceTabs__tab:nth-of-type(3) {
    grid-area: st;
  }
  .p-serviceTabs__tab:nth-of-type(4) {
    grid-area: cd;
  }
  .p-serviceTabs__tab:nth-of-type(5) {
    grid-area: des;
  }
}
/* ===============================
   タブ中身（フィルム枠）
================================ */
.p-serviceTabs__panels,
.p-serviceTabs__box {
  width: 1243px;
  margin-inline: auto;
  border: 1px solid #2a1a0e;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__panels,
  .p-serviceTabs__box {
    width: calc(1243 / 1440 * 100vw);
  }
}
@media screen and (max-width: 600px) {
  .p-serviceTabs__panels,
  .p-serviceTabs__box {
    width: calc(350 / 390 * 100vw);
  }
}

/* ▼ 左右フィルム縦ライン */
.p-serviceTabs__panels::before,
.p-serviceTabs__panels::after {
  content: "";
  position: absolute;
  top: -25px;
  height: calc(100% + 50px);
  width: 20px;
  pointer-events: none;
  z-index: 1;
  background-image: repeating-linear-gradient(to bottom, #2b1b0f 0, #2b1b0f 15px, #ffffff 15px, #ffffff 25px);
  background-repeat: repeat-y;
  -webkit-animation: film-scroll-vert 0.5s linear infinite;
          animation: film-scroll-vert 0.5s linear infinite;
  will-change: background-position;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__panels::before,
  .p-serviceTabs__panels::after {
    top: calc(-25 / 1440 * 100vw);
    height: calc(100% + 50 / 1440 * 100vw);
    width: calc(20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 600px) {
  .p-serviceTabs__panels::before,
  .p-serviceTabs__panels::after {
    top: calc(-25 / 390 * 100vw);
    height: calc(100% + 50 / 390 * 100vw);
    width: calc(10 / 390 * 100vw);
  }
}

.p-serviceTabs__box::before,
.p-serviceTabs__box::after {
  content: "";
  position: absolute;
  top: -25px;
  height: calc(100% + 50px);
  width: 40px;
  pointer-events: none;
  z-index: 0;
  background-color: #2a1a0e;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__box::before,
  .p-serviceTabs__box::after {
    width: calc(40 / 1440 * 100vw);
    top: calc(-25 / 1440 * 100vw);
  }
}
@media screen and (max-width: 600px) {
  .p-serviceTabs__box::before,
  .p-serviceTabs__box::after {
    width: calc(20 / 390 * 100vw);
    top: calc(-25 / 390 * 100vw);
  }
}

/* 左右位置 */
.p-serviceTabs__panels::before {
  left: 10px;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__panels::before {
    left: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 600px) {
  .p-serviceTabs__panels::before {
    left: calc(2.5 / 390 * 100vw);
  }
}

.p-serviceTabs__box::before {
  left: 0;
}

.p-serviceTabs__panels::after {
  right: 10px;
  animation-direction: reverse;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__panels::after {
    right: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 390px) {
  .p-serviceTabs__panels::after {
    right: calc(5.5 / 390 * 100vw);
  }
}

.p-serviceTabs__box::after {
  right: 0;
  animation-direction: reverse;
}

/* フィルムアニメーション */
@-webkit-keyframes film-scroll-vert {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -25px;
  }
}
@keyframes film-scroll-vert {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -25px;
  }
}
/* ===============================
   パネル切り替え
================================ */
.p-serviceTabs__panel {
  opacity: 0;
  visibility: hidden;
  height: 0;
  translate: 0 20px;
  -webkit-transition: opacity 0.3s ease, translate 0.3s ease;
  transition: opacity 0.3s ease, translate 0.3s ease;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__panel {
    translate: 0 calc(20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 390px) {
  .p-serviceTabs__panel {
    translate: 0 calc(20 / 390 * 100vw);
  }
}
.p-serviceTabs__panel.is-active {
  opacity: 1;
  visibility: visible;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  translate: 0;
}

/* パネル本体 */
.p-serviceTabs__panelBody {
  padding-block: 60px;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__panelBody {
    padding-block: calc(60 / 1440 * 100vw);
  }
}
@media screen and (max-width: 390px) {
  .p-serviceTabs__panelBody {
    padding-block: calc(30 / 390 * 100vw);
  }
}

.p-serviceTabs__panelBody-text {
  color: #000;
  font-size: 40px;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__panelBody-text {
    font-size: calc(40 / 1440 * 100vw);
  }
}
@media screen and (max-width: 390px) {
  .p-serviceTabs__panelBody-text {
    font-size: calc(40 / 390 * 100vw);
  }
}

/* カード一覧 */
.p-serviceTabs__content {
  width: 1131px;
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  row-gap: 40px;
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
}
@media screen and (max-width: 1440px) {
  .p-serviceTabs__content {
    width: calc(1131 / 1440 * 100vw);
    row-gap: calc(40 / 1440 * 100vw);
    -webkit-column-gap: calc(20 / 1440 * 100vw);
       -moz-column-gap: calc(20 / 1440 * 100vw);
            column-gap: calc(20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 600px) {
  .p-serviceTabs__content {
    width: calc(350 / 390 * 100vw);
    row-gap: calc(10 / 390 * 100vw);
    -webkit-column-gap: calc(5 / 390 * 100vw);
       -moz-column-gap: calc(5 / 390 * 100vw);
            column-gap: calc(5 / 390 * 100vw);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

/* =========================================
   FV：全体構造
========================================= */
.p-top-fv {
  margin-top: 40px;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 900px) {
  .p-top-fv {
    margin-top: 40px;
  }
}

/* ---------- 暗転の黒幕（ローディング終了後に消える） ---------- */
.p-top-fv__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 1;
  pointer-events: none;
  -webkit-transition: opacity 0.8s ease 0.2s;
  transition: opacity 0.8s ease 0.2s;
  z-index: 30;
}

/* =========================================
   FV：画像スライド
========================================= */
.p-top-fv__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000; /* ベース背景も黒 */
}

.p-top-fv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 5;
  -webkit-transition: opacity 0.8s ease;
  transition: opacity 0.8s ease;
}

/* picture をフルサイズに */
.p-top-fv__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* 画像はスライドいっぱいに表示 */
.p-top-fv__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media screen and (max-width: 900px) {
  .p-top-fv__slide img {
    -o-object-position: top;
       object-position: top;
  }
}

/* 手前に出るスライド */
.p-top-fv__slide.is-active {
  opacity: 1;
  z-index: 20;
}

/* 一つ前のスライド（背景に残す） */
.p-top-fv__slide.is-prev {
  opacity: 1;
  z-index: 10;
}

/* =========================================
   円形リビール（中央から丸く出てくる）
========================================= */
.p-top-fv__slide--reveal {
  clip-path: circle(0% at 50% 50%);
  -webkit-transition: clip-path 0s, opacity 0.8s ease;
  transition: clip-path 0s, opacity 0.8s ease;
}

/* 表示されるとき、中央から円が広がる */
.p-top-fv__slide--reveal.is-active {
  clip-path: circle(120% at 50% 50%);
  -webkit-transition: clip-path 3s ease, opacity 0.8s ease;
  transition: clip-path 3s ease, opacity 0.8s ease;
}

/* 背景に回ったスライドは全面表示（前の画面をフルで残す） */
.p-top-fv__slide--reveal.is-prev {
  clip-path: none;
}

/* =========================================
   FV：テキスト（配置は modifier で変更）
========================================= */
.p-top-fv__text {
  position: absolute;
  z-index: 40;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: calc(5 / 1440 * 100vw);
  width: calc(1280 / 1440 * 100vw);
  opacity: 0;
  -webkit-transition: opacity 0.8s ease 0.8s;
  transition: opacity 0.8s ease 0.8s;
  pointer-events: none;
  /* ▼ SP：白背景（初期は非表示） */
}
@media screen and (max-width: 900px) {
  .p-top-fv__text {
    /* 文字と一緒にスライドアップ＆フェードイン */
    /* 最後のスライド用：背景を消す */
  }
  .p-top-fv__text::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -12px;
    right: -12px;
    top: -10px;
    bottom: -40px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  .p-top-fv__text.is-text-visible::before {
    -webkit-animation: slideUpText 1s ease forwards;
            animation: slideUpText 1s ease forwards;
  }
  .p-top-fv__text.is-no-bg::before {
    content: none;
  }
}

/* FV開始トリガー（暗転が抜けたあと、テキストブロック自体を出す） */
body.is-fv-start .p-top-fv__text {
  opacity: 1;
}

/* ---- 中央配置（4枚目用） ---- */
.p-top-fv__text--center {
  top: 43%;
  left: 50%;
  -webkit-transform: translate(-50%, -40%);
          transform: translate(-50%, -40%);
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* ---- 左中央（1枚目） ---- */
.p-top-fv__text--left-center {
  top: 50%;
  left: 3%;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  text-align: left;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: calc(520 / 1440 * 100vw);
}
@media screen and (max-width: 900px) {
  .p-top-fv__text--left-center {
    width: calc(350 / 390 * 100vw);
  }
}

/* ---- 左上（2枚目） ---- */
.p-top-fv__text--left-top {
  top: 16%;
  left: 3%;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  text-align: left;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: calc(520 / 1440 * 100vw);
}
@media screen and (max-width: 900px) {
  .p-top-fv__text--left-top {
    width: calc(350 / 390 * 100vw);
  }
}

/* ---- 左下（3枚目） ---- */
.p-top-fv__text--left-bottom {
  bottom: 12%;
  left: 3%;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  text-align: left;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: calc(520 / 1440 * 100vw);
}
@media screen and (max-width: 900px) {
  .p-top-fv__text--left-bottom {
    width: calc(350 / 390 * 100vw);
  }
}

/* ---------- テキストの下からフェードイン ---------- */
.p-top-fv__text-main,
.p-top-fv__text-sub {
  overflow: hidden;
  display: inline-block;
}

.p-top-fv__text-main {
  color: #000000;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  font-size: calc(55 / 1440 * 100vw);
  letter-spacing: calc(2.2 / 1440 * 100vw);
}
@media screen and (max-width: 900px) {
  .p-top-fv__text-main {
    font-size: 24px;
    letter-spacing: 2.2px;
  }
}
@media screen and (max-width: 900px) and (max-width: 390px) {
  .p-top-fv__text-main {
    font-size: calc(24 / 390 * 100vw);
    letter-spacing: calc(2.2 / 390 * 100vw);
  }
}

.p-top-fv__text-sub {
  color: #471818;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: calc(16 / 1440 * 100vw);
  letter-spacing: calc(0.6 / 1440 * 100vw);
}
@media screen and (max-width: 900px) {
  .p-top-fv__text-sub {
    font-size: 16px;
    letter-spacing: 0.6px;
  }
}
@media screen and (max-width: 390px) {
  .p-top-fv__text-sub {
    font-size: calc(16 / 390 * 100vw);
    letter-spacing: calc(0.6 / 390 * 100vw);
  }
}

.p-top-fv__text-main span,
.p-top-fv__text-sub span {
  display: inline-block;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  opacity: 0;
}

/* JS が is-visible を付けると発火（文字用） */
.p-top-fv__text-main.is-visible span,
.p-top-fv__text-sub.is-visible span {
  -webkit-animation: slideUpText 1s ease forwards;
          animation: slideUpText 1s ease forwards;
}

@-webkit-keyframes slideUpText {
  0% {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUpText {
  0% {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
/* =========================================
   フリッカー（映画っぽさ）
========================================= */
.p-top-fv__text-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15) 0, rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  -webkit-animation: titleFlicker 3.2s ease-in-out 1.2s infinite;
          animation: titleFlicker 3.2s ease-in-out 1.2s infinite;
}

@keyframes titleFlicker {
  0%, 60%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 0.18;
  }
}
/* =========================================
   暗転が解除されるトリガー
========================================= */
body.is-fv-start .p-top-fv__overlay {
  opacity: 0;
}

/* ================================================
   CONCEPT セクション：背景装飾
================================================ */
.p-top-concept {
  position: relative;
  overflow: hidden;
}
.p-top-concept::after {
  content: "";
  position: absolute;
  left: -240px;
  top: -410px;
  background: url("../img/top/concept/img-top-concept-bg1.webp") center/contain no-repeat;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  width: 780px;
  aspect-ratio: 131/110;
  z-index: -1;
}
@media screen and (max-width: 1440px) {
  .p-top-concept::after {
    left: calc(-240 / 1440 * 100vw);
    top: calc(-410 / 1440 * 100vw);
    width: calc(780 / 1440 * 100vw);
  }
}
.p-top-concept::before {
  content: "";
  position: absolute;
  right: -260px;
  bottom: -340px;
  background: url("../img/top/concept/img-top-concept-bg2.webp") center/contain no-repeat;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  width: 780px;
  aspect-ratio: 131/110;
  z-index: -1;
}
@media screen and (max-width: 1440px) {
  .p-top-concept::before {
    right: calc(-260 / 1440 * 100vw);
    bottom: calc(-340 / 1440 * 100vw);
    width: calc(780 / 1440 * 100vw);
  }
}

/* ================================================
   Wrapper / Inner
================================================ */
.p-top-concept__inner {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

/* ================================================
   テキスト基本スタイル
================================================ */
.p-top-concept__text {
  color: #101010;
  text-align: center;
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .p-top-concept__text {
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}

/* ================================================
   追いかけ文字アニメーション用（js-split-text）
================================================ */
.p-top-concept__copy {
  display: block; /* ← 段落を縦並びにする */
  position: relative;
  z-index: 1;
}

/* 段落ごとのコンテナ */
.p-concept__line {
  position: relative;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 35px;
  text-align: center;
  line-height: 1.9;
  overflow: hidden;
  /* ▼ 背景の文字 & アニメ文字を完全に同条件にする */
}
@media screen and (max-width: 1440px) {
  .p-concept__line {
    margin: 0 auto calc(35 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-concept__line {
    line-height: 1.25;
    margin: 0 auto 20px;
  }
}
.p-concept__line .p-concept__bg {
  position: relative;
  display: inline-block;
  white-space: pre-wrap;
}
@media screen and (max-width: 900px) {
  .p-concept__line .p-concept__bg span {
    font-size: min(15 / 390 * 100vw, 20px);
  }
}
.p-concept__line .p-concept__anim {
  position: absolute;
  inset: 0;
  display: inline-block;
  white-space: pre-wrap;
  pointer-events: none;
}
@media screen and (max-width: 900px) {
  .p-concept__line .p-concept__anim span {
    font-size: min(15 / 390 * 100vw, 20px);
  }
}
.p-concept__line .p-concept__bg .char,
.p-concept__line .p-concept__anim .char {
  display: inline-block;
  line-height: 1;
}
.p-concept__line .p-concept__bg .char {
  opacity: 0.15;
}
.p-concept__line .p-concept__anim .char {
  opacity: 0;
  -webkit-animation: conceptCharAnim 0.8s ease forwards;
          animation: conceptCharAnim 0.8s ease forwards;
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
.p-concept__line.is-animate .p-concept__anim .char {
  -webkit-animation-play-state: running;
          animation-play-state: running;
}

/* ================================================
   文字が下から追いかけて出るアニメーション
================================================ */
@-webkit-keyframes conceptCharAnim {
  0% {
    opacity: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes conceptCharAnim {
  0% {
    opacity: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/* ================================================
   セクションタイトル共通フェードイン
================================================ */
.c-title__section.js-fade-title {
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  -webkit-transition: opacity 0.7s ease, -webkit-transform 0.7s ease;
  transition: opacity 0.7s ease, -webkit-transform 0.7s ease;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition: opacity 0.7s ease, transform 0.7s ease, -webkit-transform 0.7s ease;
}

.c-title__section.js-fade-title.is-inview {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.p-top-service {
  background: linear-gradient(287deg, rgba(241, 238, 233, 0.2) 5.56%, rgba(255, 191, 94, 0.2) 100%), #ede6e6;
}

.p-top-service__matter {
  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;
  gap: 40px;
}
@media screen and (max-width: 1440px) {
  .p-top-service__matter {
    gap: calc(40 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__matter {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: calc(40 / 390 * 100vw);
  }
}

.p-top-service__text {
  width: 720px;
  text-align: center;
}
@media screen and (max-width: 1440px) {
  .p-top-service__text {
    width: calc(720 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__text {
    width: calc(350 / 390 * 100vw);
  }
}
.p-top-service__text p {
  color: #101010;
  text-align: center;
  font-family: "Yu Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .p-top-service__text p {
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__text p {
    font-size: min(11 / 390 * 100vw, 20px);
    letter-spacing: 0.72px;
  }
}

.p-top-service__image {
  position: relative;
  width: 600px;
  height: 460px;
}
@media screen and (max-width: 1440px) {
  .p-top-service__image {
    width: calc(600 / 1440 * 100vw);
    height: calc(460 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__image {
    width: calc(300 / 390 * 100vw);
    height: calc(230 / 390 * 100vw);
  }
}

.p-top-service__icon1 {
  position: absolute;
  width: 220px;
  aspect-ratio: 1/1;
  left: 50%;
  translate: -50%;
  z-index: 1;
}
@media screen and (max-width: 1440px) {
  .p-top-service__icon1 {
    width: calc(220 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__icon1 {
    width: calc(110 / 390 * 100vw);
  }
}
.p-top-service__icon1 img {
  position: relative;
  z-index: 1;
}
.p-top-service__icon1::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 5px;
  background-color: #2a1a0e;
  -webkit-transform: rotate(125deg);
          transform: rotate(125deg);
  top: 200px;
  left: -130px;
  z-index: -1;
}
@media screen and (max-width: 1440px) {
  .p-top-service__icon1::after {
    width: calc(300 / 1440 * 100vw);
    height: calc(5 / 1440 * 100vw);
    top: calc(200 / 1440 * 100vw);
    left: calc(-130 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__icon1::after {
    width: calc(150 / 390 * 100vw);
    height: calc(2.5 / 390 * 100vw);
    top: calc(100 / 390 * 100vw);
    left: calc(-65 / 390 * 100vw);
  }
}
.p-top-service__icon1::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 5px;
  background-color: #2a1a0e;
  -webkit-transform: rotate(235deg);
          transform: rotate(235deg);
  bottom: 40px;
  left: 40px;
  z-index: -1;
}
@media screen and (max-width: 1440px) {
  .p-top-service__icon1::before {
    width: calc(300 / 1440 * 100vw);
    height: calc(5 / 1440 * 100vw);
    bottom: calc(40 / 1440 * 100vw);
    left: calc(40 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__icon1::before {
    width: calc(150 / 390 * 100vw);
    height: calc(2.5 / 390 * 100vw);
    bottom: calc(20 / 390 * 100vw);
    left: calc(20 / 390 * 100vw);
  }
}

.p-top-service__icon2 {
  position: absolute;
  width: 200px;
  height: auto;
  aspect-ratio: 1/1;
  left: 24px;
  bottom: 0;
  z-index: 50;
}
@media screen and (max-width: 1440px) {
  .p-top-service__icon2 {
    width: calc(200 / 1440 * 100vw);
    left: calc(24 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__icon2 {
    width: calc(100 / 390 * 100vw);
  }
}
.p-top-service__icon2 img {
  z-index: 50;
}
.p-top-service__icon2::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 5px;
  background-color: #2a1a0e;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  top: 90px;
  left: 130px;
  z-index: -1;
}
@media screen and (max-width: 1440px) {
  .p-top-service__icon2::after {
    width: calc(300 / 1440 * 100vw);
    height: calc(5 / 1440 * 100vw);
    top: calc(90 / 1440 * 100vw);
    left: calc(130 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__icon2::after {
    width: calc(150 / 390 * 100vw);
    height: calc(2.5 / 390 * 100vw);
    top: calc(45 / 390 * 100vw);
    left: calc(65 / 390 * 100vw);
  }
}

.p-top-service__icon3 {
  position: absolute;
  width: 240px;
  height: auto;
  aspect-ratio: 1/1;
  bottom: -20px;
  right: 0;
  z-index: 50;
}
@media screen and (max-width: 1440px) {
  .p-top-service__icon3 {
    width: calc(240 / 1440 * 100vw);
    bottom: calc(-20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-service__icon3 {
    width: calc(120 / 390 * 100vw);
  }
}

.p-top-works {
  background: rgba(202, 192, 197, 0.3);
}

/* -------------------------------
   ▼ WORKS タブ（p-top-works-content 全体）
-------------------------------- */
.p-top-works-content {
  margin-block: 40px;
}
@media screen and (max-width: 1440px) {
  .p-top-works-content {
    margin-block: calc(40 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-works-content {
    margin-block: 40px;
  }
}

/* -------------------------------
   ▼ タブの中身（panels）
   ★ ここがフィルム枠本体！
-------------------------------- */
.p-top-works-content__panels,
.p-top-works-content__box {
  margin-inline: auto;
}

/* カード一覧のレイアウト */
.p-top-works-content__content {
  width: 100%;
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  row-gap: 40px;
  -webkit-column-gap: 100px;
     -moz-column-gap: 100px;
          column-gap: 100px;
}
@media screen and (max-width: 1440px) {
  .p-top-works-content__content {
    row-gap: calc(40 / 1440 * 100vw);
    -webkit-column-gap: calc(100 / 1440 * 100vw);
       -moz-column-gap: calc(100 / 1440 * 100vw);
            column-gap: calc(100 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-works-content__content {
    row-gap: 40px;
    -webkit-column-gap: 100px;
       -moz-column-gap: 100px;
            column-gap: 100px;
  }
}

.p-top-works__btn {
  margin-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.p-top-flow {
  background: #241c0d;
}

.p-top-flow__content {
  background: #33250c;
  position: relative;
  overflow: hidden;
  padding-block: 120px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__content {
    padding-block: calc(120 / 1440 * 100vw);
  }
}
/* フィルムの穴ライン（上・下） */
.p-top-flow__content::before,
.p-top-flow__content::after {
  content: "";
  position: absolute;
  left: -25px;
  width: calc(100% + 50px);
  height: 20px;
  pointer-events: none;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent 15px, rgba(255, 255, 255, 0.5) 15px, rgba(255, 255, 255, 0.5) 25px);
  background-repeat: repeat-x;
  -webkit-animation: film-scroll 0.5s linear infinite;
          animation: film-scroll 0.5s linear infinite;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
@media screen and (max-width: 1440px) {
  .p-top-flow__content::before,
  .p-top-flow__content::after {
    left: calc(-25 / 1440 * 100vw);
    width: calc(100% + 50 / 1440 * 100vw);
    height: calc(20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__content::before,
  .p-top-flow__content::after {
    top: -25px;
    bottom: auto;
    width: 10px;
    height: calc(100% + 50px);
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 15px, rgba(255, 255, 255, 0.5) 15px, rgba(255, 255, 255, 0.5) 25px);
    background-repeat: repeat-y;
    -webkit-animation: film-scroll-y 0.5s linear infinite;
            animation: film-scroll-y 0.5s linear infinite;
  }
}

@keyframes film-scroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 25px 0;
  }
}
@keyframes film-scroll-y {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 25px;
  }
}
/* 上のライン */
.p-top-flow__content::before {
  top: 20px;
  animation-direction: reverse;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__content::before {
    top: calc(20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__content::before {
    left: 10px;
    right: auto;
  }
}

/* 下のライン */
.p-top-flow__content::after {
  bottom: 20px;
  animation-direction: reverse;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__content::after {
    bottom: calc(20 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__content::after {
    right: 10px;
    left: auto;
  }
}

.p-top-flow__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  gap: 30px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list {
    gap: calc(30 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-inline: auto;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.p-top-flow__list li:nth-of-type(1) {
  border-radius: 19px;
  background: #2a1a0e;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(1) {
    border-radius: calc(19 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(1) img {
  width: 128px;
  height: 100px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(1) img {
    width: calc(128 / 1440 * 100vw);
    height: calc(100 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(2) {
  border-radius: 19px;
  background: #241e0f;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(2) {
    border-radius: calc(19 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(2) img {
  width: 100px;
  height: 100px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(2) img {
    width: calc(100 / 1440 * 100vw);
    height: calc(100 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(3) {
  border-radius: 19px;
  background: #2a1a0e;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(3) {
    border-radius: calc(19 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(3) img {
  width: 125px;
  height: 100px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(3) img {
    width: calc(125 / 1440 * 100vw);
    height: calc(100 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(4) {
  border-radius: 19px;
  background: #241c0d;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(4) {
    border-radius: calc(19 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(4) img {
  width: 100px;
  height: 100px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(4) img {
    width: calc(100 / 1440 * 100vw);
    height: calc(100 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(5) {
  border-radius: 19px;
  background: #2a1a0e;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(5) {
    border-radius: calc(19 / 1440 * 100vw);
  }
}
.p-top-flow__list li:nth-of-type(5) img {
  width: 100px;
  height: 100px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__list li:nth-of-type(5) img {
    width: calc(100 / 1440 * 100vw);
    height: calc(100 / 1440 * 100vw);
  }
}

.p-top-flow__item {
  width: 250px;
  height: 435px;
  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;
  gap: 30px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__item {
    width: calc(250 / 1440 * 100vw);
    height: calc(435 / 1440 * 100vw);
    gap: calc(30 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__item {
    padding: 10px;
    width: 230px;
    height: 270px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-top-flow__item {
    width: calc(230 / 390 * 100vw);
    height: calc(270 / 390 * 100vw);
  }
}

.p-top-flow__no {
  color: #caaa72;
  font-family: "Noto Serif JP";
  font-size: 46px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__no {
    font-size: calc(46 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__no {
    font-size: 24px;
  }
}

.p-top-flow__item-title h4 {
  color: #ede6e6;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__item-title h4 {
    font-size: calc(20 / 1440 * 100vw);
    letter-spacing: calc(0.6 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__item-title h4 {
    font-size: 20px;
    letter-spacing: 0.6px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-top-flow__item-title h4 {
    font-size: calc(20 / 390 * 100vw);
    letter-spacing: calc(0.6 / 390 * 100vw);
  }
}

.p-top-flow__text p {
  color: #ede6e6;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1440px) {
  .p-top-flow__text p {
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-top-flow__text p {
    font-size: 16px;
    letter-spacing: 0.48px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-top-flow__text p {
    font-size: calc(16 / 390 * 100vw);
    letter-spacing: calc(0.48 / 390 * 100vw);
  }
}

.p-top-skill__first-matter {
  margin-top: 200px;
  -webkit-perspective: 1000px;
          perspective: 1000px;
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-matter {
    margin-top: calc(200 / 1440 * 100vw);
    -webkit-perspective: calc(1000 / 1440 * 100vw);
            perspective: calc(1000 / 1440 * 100vw);
  }
}

.p-top-skill__first-list {
  height: 220px;
  margin: 100px auto;
  width: 210px;
  position: relative;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-animation: rotation 30s linear infinite;
          animation: rotation 30s linear infinite;
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-list {
    height: calc(220 / 1440 * 100vw);
    margin: calc(100 / 1440 * 100vw) auto;
    width: calc(210 / 1440 * 100vw);
  }
}

.p-top-skill__first-list:hover {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

.p-top-skill__first-item {
  position: absolute;
  width: 180px;
  height: 120px;
  top: 10px;
  left: 10px;
  overflow: hidden;
  border-radius: 10px;
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item {
    width: calc(180 / 1440 * 100vw);
    height: calc(120 / 1440 * 100vw);
    top: calc(10 / 1440 * 100vw);
    left: calc(10 / 1440 * 100vw);
    border-radius: calc(10 / 1440 * 100vw);
  }
}

/* ▼ここが3Dの核心：8枚なら 360 ÷ 8 = 45° ずつ回転 */
.p-top-skill__first-item:nth-child(1) {
  -webkit-transform: rotateY(0deg) translateZ(500px);
          transform: rotateY(0deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(1) {
    -webkit-transform: rotateY(0deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(0deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item:nth-child(2) {
  -webkit-transform: rotateY(45deg) translateZ(500px);
          transform: rotateY(45deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(2) {
    -webkit-transform: rotateY(45deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(45deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item:nth-child(3) {
  -webkit-transform: rotateY(90deg) translateZ(500px);
          transform: rotateY(90deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(3) {
    -webkit-transform: rotateY(90deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(90deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item:nth-child(4) {
  -webkit-transform: rotateY(135deg) translateZ(500px);
          transform: rotateY(135deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(4) {
    -webkit-transform: rotateY(135deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(135deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item:nth-child(5) {
  -webkit-transform: rotateY(180deg) translateZ(500px);
          transform: rotateY(180deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(5) {
    -webkit-transform: rotateY(180deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(180deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item:nth-child(6) {
  -webkit-transform: rotateY(225deg) translateZ(500px);
          transform: rotateY(225deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(6) {
    -webkit-transform: rotateY(225deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(225deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item:nth-child(7) {
  -webkit-transform: rotateY(270deg) translateZ(500px);
          transform: rotateY(270deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(7) {
    -webkit-transform: rotateY(270deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(270deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item:nth-child(8) {
  -webkit-transform: rotateY(315deg) translateZ(500px);
          transform: rotateY(315deg) translateZ(500px);
}
@media screen and (max-width: 1440px) {
  .p-top-skill__first-item:nth-child(8) {
    -webkit-transform: rotateY(315deg) translateZ(calc(500 / 1440 * 100vw));
            transform: rotateY(315deg) translateZ(calc(500 / 1440 * 100vw));
  }
}

.p-top-skill__first-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

@-webkit-keyframes rotation {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  100% {
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}

@keyframes rotation {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  100% {
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}
.p-works-single {
  margin-top: 80px;
}
@media screen and (max-width: 900px) {
  .p-works-single {
    margin-top: 40px;
  }
}

.p-works-single__inner {
  width: 1142px;
  margin-inline: auto;
}
@media screen and (max-width: 1440px) {
  .p-works-single__inner {
    width: calc(1142 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-works-single__inner {
    width: calc(350 / 390 * 100vw);
  }
}

/* =========================
  ファーストビュー
========================= */
.p-sig-works-fv {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.p-sig-works-fv__title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.p-sig-works-fv__title h3 {
  margin: 0;
  color: #2a1a0e;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.92px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__title h3 {
    font-size: calc(64 / 1440 * 100vw);
    letter-spacing: calc(1.92 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__title h3 {
    font-size: 24px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__title h3 {
    font-size: calc(24 / 390 * 100vw);
  }
}

.p-sig-works-fv__info {
  width: 1200px;
  margin-top: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__info {
    width: calc(1200 / 1440 * 100vw);
    margin-top: calc(35 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__info {
    width: calc(350 / 390 * 100vw);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-top: 10px;
    gap: 15px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__info {
    margin-top: calc(10 / 390 * 100vw);
    gap: calc(15 / 390 * 100vw);
  }
}

.p-sig-works-fv__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: 600px;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__tags {
    width: calc(600 / 1440 * 100vw);
  }
}
@media screen and (max-width: 900px) {
  .p-sig-works-fv__tags {
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 8px;
  }
}
@media screen and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__tags {
    gap: calc(8 / 390 * 100vw);
  }
}
.p-sig-works-fv__tags span {
  padding: 10px 16px;
  border: 1px solid #000;
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__tags span {
    padding: calc(10 / 1440 * 100vw) calc(16 / 1440 * 100vw);
    font-size: calc(34 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__tags span {
    font-size: 20px;
    padding: 5px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__tags span {
    font-size: calc(20 / 390 * 100vw);
    padding: calc(5 / 390 * 100vw);
  }
}

.p-sig-works-fv__tag {
  padding: 10px 16px;
  border: 1px solid #000;
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__tag {
    padding: calc(10 / 1440 * 100vw) calc(16 / 1440 * 100vw);
    font-size: calc(34 / 1440 * 100vw);
  }
}
@media screen and (max-width: 900px) {
  .p-sig-works-fv__tag {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
    text-align: center;
    padding: 8px 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__tag {
    padding: calc(8 / 390 * 100vw) 0;
    font-size: calc(18 / 390 * 100vw);
  }
}

.p-sig-works-fv__tag:nth-child(2) {
  margin-left: 150px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__tag:nth-child(2) {
    margin-left: calc(150 / 1440 * 100vw);
  }
}
@media screen and (max-width: 900px) {
  .p-sig-works-fv__tag:nth-child(2) {
    margin-left: 0;
  }
}

.p-sig-works-fv__url {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 600px;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 100px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__url {
    width: calc(600 / 1440 * 100vw);
    gap: calc(30 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__url {
    width: calc(350 / 390 * 100vw);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.p-sig-works-fv__url--title {
  background: #867272;
  padding: 4px;
  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;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__url--title {
    padding: calc(4 / 1440 * 100vw);
  }
}
.p-sig-works-fv__url--title span {
  color: #fff;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__url--title span {
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__url--title span {
    font-size: 24px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__url--title span {
    font-size: calc(24 / 390 * 100vw);
  }
}

.p-sig-works-fv__url--url {
  color: #fff;
  text-decoration: underline;
  font-size: 32px;
  border-radius: 30px;
  background: #867272;
  padding: 10px;
  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;
  text-decoration: none;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__url--url {
    font-size: calc(32 / 1440 * 100vw);
    border-radius: calc(30 / 1440 * 100vw);
    padding: calc(10 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__url--url {
    font-size: 20px;
    padding: 15px;
    border-radius: 30px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__url--url {
    font-size: calc(20 / 390 * 100vw);
    padding: calc(15 / 390 * 100vw);
    border-radius: calc(30 / 390 * 100vw);
  }
}

.p-sig-works-fv__url--login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  font-size: 32px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__url--login {
    font-size: calc(32 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__url--login {
    font-size: 20px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__url--login {
    font-size: calc(20 / 390 * 100vw);
  }
}

.p-sig-works-fv__url--id {
  display: grid;
  grid-template-columns: 100px 1fr;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__url--id {
    grid-template-columns: calc(100 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__url--id {
    grid-template-columns: 85px 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__url--id {
    grid-template-columns: calc(85 / 390 * 100vw) 1fr;
  }
}

.p-sig-works-fv__url--pw {
  display: grid;
  grid-template-columns: 100px 1fr;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-fv__url--pw {
    grid-template-columns: calc(100 / 1440 * 100vw) 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-fv__url--pw {
    grid-template-columns: 85px 1fr;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-fv__url--pw {
    grid-template-columns: calc(85 / 390 * 100vw) 1fr;
  }
}

.p-sig-works-fv__inner {
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
/* =========================
  コンテンツ（1枚目風の表）
========================= */
.p-sig-works-contents {
  margin-top: 80px;
  padding: 32px 40px;
  background: rgba(178, 178, 178, 0.19);
}
@media screen and (max-width: 1440px) {
  .p-sig-works-contents {
    margin-top: calc(80 / 1440 * 100vw);
    padding: calc(32 / 1440 * 100vw) calc(40 / 1440 * 100vw);
  }
}
.p-sig-works-contents > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #8f8d8d;
  -webkit-column-gap: 40px;
     -moz-column-gap: 40px;
          column-gap: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-contents > div {
    padding: calc(12 / 1440 * 100vw) 0;
    -webkit-column-gap: calc(40 / 1440 * 100vw);
       -moz-column-gap: calc(40 / 1440 * 100vw);
            column-gap: calc(40 / 1440 * 100vw);
  }
}
.p-sig-works-contents > div > div:first-child {
  width: 226px;
  color: #000;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.72px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-contents > div > div:first-child {
    width: calc(226 / 1440 * 100vw);
    font-size: calc(24 / 1440 * 100vw);
    letter-spacing: calc(0.72 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-contents > div > div:first-child {
    font-size: 12px;
    width: 70px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-contents > div > div:first-child {
    font-size: calc(12 / 390 * 100vw);
    width: calc(70 / 390 * 100vw);
  }
}
.p-sig-works-contents > div > div:last-child {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 16px;
  line-height: 1.7;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-contents > div > div:last-child {
    font-size: calc(16 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-contents > div > div:last-child {
    font-size: 12px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-contents > div > div:last-child {
    font-size: calc(12 / 390 * 100vw);
  }
}
.p-sig-works-contents > div > div:last-child > p {
  color: #000;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-contents > div > div:last-child > p {
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-contents > div > div:last-child > p {
    font-size: 12px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-contents > div > div:last-child > p {
    font-size: calc(12 / 390 * 100vw);
  }
}
.p-sig-works-contents h4 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.p-sig-works-contents p {
  margin: 0;
}

/* =========================
  各ブロック（見た目は共通）
========================= */
/* ツールのタグ装飾 */
.p-sig-works-tool__copy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-tool__copy {
    gap: calc(12 / 1440 * 100vw);
  }
}

.p-sig-works-tool__item {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #000;
  font-size: 14px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-tool__item {
    padding: calc(6 / 1440 * 100vw) calc(14 / 1440 * 100vw);
    font-size: calc(14 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-tool__item {
    font-size: 10px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-tool__item {
    font-size: calc(10 / 390 * 100vw);
  }
}

/* =========================
  下部の画像エリア
========================= */
.p-sig-works-img {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-img {
    margin-top: calc(120 / 1440 * 100vw);
    gap: calc(40 / 1440 * 100vw);
  }
}

.p-sig-works-img__desc img,
.p-sig-works-img__desc2 img,
.p-sig-works-img__desc3 img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
  情報設計（WYSIWYG）のリスト装飾
========================= */
.p-sig-works-info__copy li p {
  color: #000;
  padding-block: 5px;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1440px) {
  .p-sig-works-info__copy li p {
    padding-block: calc(5 / 1440 * 100vw);
    font-size: calc(16 / 1440 * 100vw);
    letter-spacing: calc(0.48 / 1440 * 100vw);
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) {
  .p-sig-works-info__copy li p {
    font-size: 12px;
  }
}
@media screen and (max-width: 1440px) and (max-width: 900px) and (max-width: 390px) {
  .p-sig-works-info__copy li p {
    font-size: calc(12 / 390 * 100vw);
  }
}

.u-mb24 {
  margin-bottom: 24px !important;
}

.u-space-ml117 {
  margin-left: 117px;
}

.u-space-centerX {
  margin-inline: auto;
}

.u-space-centerX {
  margin-block: auto;
}

.u-space-center {
  margin-inline: auto;
  margin-block: auto;
}

.u-flex-centerX {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media (max-width: 899px) {
  .u-hidden-sp {
    display: none !important;
  }
  .u-display-sp {
    display: block !important;
  }
}
@media screen and (min-width: 900px) {
  .u-hidden-pc {
    display: none !important;
  }
  .u-display-pc {
    display: block !important;
  }
}
.u-color-font-gold {
  color: #caaa72 !important;
}

.u-color-font-gold-60 {
  color: rgba(202, 170, 114, 0.6) !important;
}