@charset "UTF-8";
*,
*::before,
*::after {
  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,
small,
button,
time,
figure {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

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

img {
  border: none;
  width: 100%;
}

/*===============================================================================================
# フォント
===============================================================================================*/
/* Webフォントの登録（Butler Black） */
@font-face {
  font-family: "Butler-ultra-light"; /* 好きな呼び名。あとで font-family で使う */
  src: url("../fonts/Butler_Ultra_Light_Stencil.otf") format("opentype"); /* css/style.css から見ての相対パス */
  font-weight: 600; /* Black はだいたい 900 でOK */
  font-style: normal;
  font-display: swap; /* 文字が一瞬消えるのを防ぐおまじない */
}
@font-face {
  font-family: "Butler-light"; /* 好きな呼び名。あとで font-family で使う */
  src: url("../fonts/Butler_Light_Stencil.otf") format("opentype"); /* css/style.css から見ての相対パス */
  font-weight: 600; /* Black はだいたい 900 でOK */
  font-style: normal;
  font-display: swap; /* 文字が一瞬消えるのを防ぐおまじない */
}
@font-face {
  font-family: "Butler-regular"; /* 好きな呼び名。あとで font-family で使う */
  src: url("../fonts/Butler_Regular_Stencil.otf") format("opentype"); /* css/style.css から見ての相対パス */
  font-weight: 600; /* Black はだいたい 900 でOK */
  font-style: normal;
  font-display: swap; /* 文字が一瞬消えるのを防ぐおまじない */
}
@font-face {
  font-family: "Butler-medium"; /* 好きな呼び名。あとで font-family で使う */
  src: url("../fonts/Butler_Medium_Stencil.otf") format("opentype"); /* css/style.css から見ての相対パス */
  font-weight: 600; /* Black はだいたい 900 でOK */
  font-style: normal;
  font-display: swap; /* 文字が一瞬消えるのを防ぐおまじない */
}
@font-face {
  font-family: "Butler-bold"; /* 好きな呼び名。あとで font-family で使う */
  src: url("../fonts/Butler_Bold_Stencil.otf") format("opentype"); /* css/style.css から見ての相対パス */
  font-weight: 600; /* Black はだいたい 900 でOK */
  font-style: normal;
  font-display: swap; /* 文字が一瞬消えるのを防ぐおまじない */
}
@font-face {
  font-family: "Butler-extra-bold"; /* 好きな呼び名。あとで font-family で使う */
  src: url("../fonts/Butler_ExtraBold_Stencil.otf") format("opentype"); /* css/style.css から見ての相対パス */
  font-weight: 600; /* Black はだいたい 900 でOK */
  font-style: normal;
  font-display: swap; /* 文字が一瞬消えるのを防ぐおまじない */
}
@font-face {
  font-family: "Yu Mincho"; /* 好きな呼び名。あとで font-family で使う */
  src: url("../fonts/eayufontpack.exe") format("opentype"); /* css/style.css から見ての相対パス */
  font-weight: 600; /* Black はだいたい 900 でOK */
  font-style: normal;
  font-display: swap; /* 文字が一瞬消えるのを防ぐおまじない */
}
@media screen and (max-width: 1439px) and (min-width: 768px) {
  html {
    font-size: calc(16 / 1440 * 100vw);
  }
}
@media screen and (max-width: 374px) {
  html {
    font-size: calc(16 / 375 * 100vw);
  }
}

body {
  position: relative;
  isolation: isolate;
  color: #222;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  height: 100%;
}

.is-sp {
  display: block;
}
@media (min-width: 768px) {
  .is-sp {
    display: none;
  }
}

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

a {
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
}
@media (hover: hover) {
  a:hover {
    cursor: pointer;
  }
}

picture,
img,
a,
span {
  display: inline-block;
}

video,
img,
svg {
  width: 100%;
  height: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  background: none;
  border: none;
}

input,
textarea,
select {
  font: inherit;
}

.l-top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

.l-top-header.js-active {
  opacity: 1 !important;
}

.l-main {
  padding-top: 2500px;
}

.l-inner {
  max-width: 100%;
  width: 100%;
  padding-inline: 16px;
  margin-inline: auto;
}
@media (min-width: 532px) {
  .l-inner {
    padding-inline: 32px;
  }
}
@media (min-width: 768px) {
  .l-inner {
    width: min(83.3334% + 80px, 100%);
    padding-inline: 40px;
  }
}
@media (min-width: 1440px) {
  .l-inner {
    max-width: 100%;
    width: 100%;
    padding-inline: 110px;
  }
}

.l-top-footer {
  padding-block: 2.5rem 1rem;
  position: relative;
  z-index: 100;
}
@media (min-width: 768px) {
  .l-top-footer {
    padding-block: 5rem 1.8125rem;
  }
}

.l-section {
  padding-block: 5rem;
}
@media (min-width: 768px) {
  .l-section {
    padding-block: 5rem;
  }
}

.l-header__drawer {
  display: none;
}

.l-top-fv {
  -webkit-padding-before: 1.5rem;
          padding-block-start: 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
@media (min-width: 768px) {
  .l-top-fv {
    -webkit-padding-before: 2.5rem;
            padding-block-start: 2.5rem;
  }
}

.l-top-mv {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.l-top-about {
  position: relative;
  z-index: 100;
  padding-block: 5rem 6rem;
}
@media (min-width: 768px) {
  .l-top-about {
    padding-block: 6rem;
  }
}

.l-top-service {
  position: relative;
  z-index: 100;
  -webkit-padding-before: 4.25rem;
          padding-block-start: 4.25rem;
}
@media (min-width: 768px) {
  .l-top-service {
    padding-block: 4rem;
  }
}

.l-top-contact {
  padding-block: 4.0625rem;
}
@media (min-width: 768px) {
  .l-top-contact {
    padding-block: 6.25rem;
  }
}

.l-sub-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5rem;
  z-index: 10000;
}

.l-breadcrumb {
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
}
@media (min-width: 768px) {
  .l-breadcrumb {
    -webkit-margin-before: 1rem;
            margin-block-start: 1rem;
  }
}

.l-works-single {
  padding-block: 6.6875rem 2.5rem;
}

.l-works-single__inner {
  max-width: 100%;
  width: 100%;
  padding-inline: 16px;
  margin-inline: auto;
}
@media (min-width: 532px) {
  .l-works-single__inner {
    padding-inline: 32px;
  }
}
@media (min-width: 768px) {
  .l-works-single__inner {
    width: min(1280px, 100%);
    padding-inline: 40px;
    margin-inline: auto;
  }
}
@media (min-width: 1440px) {
  .l-works-single__inner {
    width: 100%;
    padding-inline: 120px;
    margin-inline: auto;
  }
}

.l-about {
  padding-block: 6.6875rem 2.5rem;
}

.c-hamburger {
  z-index: 11000;
  padding-block: 10px;
}
@media (any-hover: hover) {
  .c-hamburger:hover {
    cursor: pointer;
  }
}

.c-hamburger span {
  position: relative;
  display: block;
  height: 1px;
  width: 32px;
  background: #000;
  border-radius: 3px;
  transition: ease 0.3s;
}

.c-hamburger span:nth-child(1) {
  transform: translateY(-1px);
}

.c-hamburger span:nth-child(2) {
  transform: translateY(3px);
}

.c-hamburger.is-open span:nth-child(1) {
  top: 0px;
  transform: rotate(194deg);
}
@media (min-width: 768px) {
  .c-hamburger.is-open span:nth-child(1) {
    top: 0px;
  }
}

.c-hamburger.is-open span:nth-child(2) {
  top: -1px;
  transform: rotate(-196deg);
}

.c-top-title {
  display: flex;
  flex-direction: column-reverse;
}

.c-top-title-en {
  color: #EFF0F5;
  font-size: 3.5rem;
  font-family: "Butler-light";
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}
@media (min-width: 768px) {
  .c-top-title-en {
    font-size: 4.5rem;
  }
}

.c-top-title-en--about {
  text-transform: none;
}

.c-top-title-en--service {
  color: #EFF0F5 !important;
  letter-spacing: 0.09em;
  color: #1E2C82;
}

.c-top-title-ja {
  color: #EE5D2A;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  -webkit-margin-before: -0.875rem;
          margin-block-start: -0.875rem;
}

.c-top-title-ja--white {
  color: #1E2C82;
}

/*===============================================================================================
# 中央寄せ contactセクション
===============================================================================================*/
.c-top-title-ja--contact {
  color: #FFFFFF;
  text-align: center;
  font-weight: 500;
  line-height: 1.6;
  -webkit-margin-before: 0.0625rem;
          margin-block-start: 0.0625rem;
  white-space: nowrap;
}
.c-top-title-en--contact {
  display: block;
  text-align: center;
  color: #FFFFFF;
  font-family: "Butler-extra-bold";
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
}
@media (min-width: 768px) {
  .c-top-title-en--contact {
    font-size: 6rem;
  }
}

.c-title {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  border-bottom: 1px solid #1E2C82;
  -webkit-padding-after: 0.5rem;
          padding-block-end: 0.5rem;
}
@media (min-width: 768px) {
  .c-title {
    -webkit-padding-after: 1rem;
            padding-block-end: 1rem;
  }
}

.c-title-en {
  color: #EFF0F5;
  font-size: 3.5rem;
  font-family: "Butler-light";
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: capitalize;
}
@media (min-width: 768px) {
  .c-title-en {
    font-size: 4.5rem;
  }
}

.c-title-ja {
  color: #1E2C82;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  -webkit-margin-before: -1.0625rem;
          margin-block-start: -1.0625rem;
}

.to-site {
  display: inline-flex;
  padding: 0.15625rem 1.4375rem;
  border: 1px solid #1E2C82;
  border-radius: 19px;
  background-color: #FFFFFF;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
.to-site svg path {
  fill: #1E2C82;
  transition: fill 0.4s ease;
}
.to-site svg {
  width: 0.8333125rem;
  height: 0.8333125rem;
}
@media (min-width: 768px) {
  .to-site svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/*===============================================================================================
# contact
===============================================================================================*/
.to-site--contact {
  border: none;
}

.to-top {
  display: grid;
  place-items: center;
  cursor: pointer;
  background-color: #FFFFFF;
  border-radius: 2.5rem;
  width: 60px;
  height: 20px;
  transition: background-color 0.3s ease-out;
}
.to-top img {
  width: 6.751px;
  height: 10.5px;
  transition: filter 0.3s ease-out;
}
.to-top:hover {
  background-color: #EE5D2A;
}
.to-top:hover img {
  filter: brightness(0) invert(1);
}

.js-scroll-fadein {
  transition: opacity 0.3s;
  visibility: hidden;
  opacity: 0;
}

.js-scroll-fadein.is-fadein {
  visibility: visible;
  opacity: 1;
}

.c-breadcrumb {
  display: flex;
  flex-direction: row; /* 縦並び */
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.c-breadcrumb a {
  transition: font-weight 0.3s ease;
}

.c-breadcrumb a:hover {
  font-weight: 700;
}

.c-breadcrumb span {
  position: relative;
  display: inline-block;
  transition: all 0.5s ease;
}

.c-breadcrumb span {
  position: relative;
  display: inline-block;
}
.c-breadcrumb span a {
  transition: font-weight 0.3s ease;
}
.c-breadcrumb span a:hover {
  font-weight: 700 !important;
}

/* 2行目以降に矢印を付与 */
.c-breadcrumb span[property=itemListElement]:not(:first-of-type)::before {
  content: "";
  display: inline-block;
  width: 4.933px;
  height: 8px;
  margin-right: 0.5em;
  background: url(../img/breadcrumb-allow.webp) no-repeat center/contain;
}

.c-breadcrumb span:not(:first-of-type) {
  color: #ABACC9;
}

.image-grid {
  position: fixed;
  inset: 0;
  display: grid;
  z-index: 1000;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(14, 1fr);
}
.image-grid.isMobile .tile {
  background-image: url("../img/loading-bg-sp.webp");
}

.tile {
  background-image: url("../img/loading-bg.webp");
  background-size: 100vw 100vh;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-out {
  opacity: 0;
  transform: translateY(-40px); /* タイルが上に移動しながら消える */
}

.c-go-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  padding-bottom: 1rem;
  --u-scale: 1;
  --u-origin: right center;
}

.c-go-link--back {
  flex-direction: row-reverse;
}

.c-go-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #222;
  transform-origin: var(--u-origin);
  transform: scaleX(var(--u-scale));
  will-change: transform;
}

.c-go-link__text {
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}
.c-go-link__text span {
  display: inline-block;
  will-change: transform;
}

.is-hover .c-go-link__text span {
  transform: translateY(-100%);
  /* アニメーション完了後、下から戻す場合はJSで再度切り替え */
}

.c-go-link__allow {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transform: translateX(0);
}

.c-go-link__allow--single {
  width: 13px;
  height: 13px;
}

.p-top-header {
  max-width: 100%;
  width: 100%;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-top-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .p-top-header__inner {
    padding-inline: 1.5rem;
  }
}

.p-top-header__logo {
  width: 4rem;
}
@media (min-width: 768px) {
  .p-top-header__logo {
    width: 4.5rem;
  }
}

.p-top-header__logo-link {
  height: inherit;
  display: block;
  width: 100%;
}

.p-top-header__logo img {
  display: block;
  height: auto;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-top-header__right {
  display: flex;
  align-items: center;
  -webkit-margin-start: auto;
          margin-inline-start: auto;
}

.p-top-header__right-flex {
  background-color: #FFFFFF;
  border: 1px solid #EFF0F5;
  padding: 5.9px 2.349375rem;
  border-radius: 24px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 1.5rem;
  transition: 0.7s;
}
.p-top-header__right-flex:hover {
  background: #1E2C82;
  border: 1px solid #1E2C82;
  cursor: pointer;
}

.p-top-header__right-flex:hover .c-hamburger span {
  background-color: #FFFFFF;
  transition: background-color 0.3s;
}

.p-top-header__right-menu {
  color: #1E2C82;
  font-size: 1rem;
  font-family: "Butler-bold";
  font-weight: 600;
  line-height: 1;
  height: 15px;
  letter-spacing: 1.28px;
  transition: 0.7s;
}
.p-top-header__right-menu .char {
  translate: 0 0;
}
.p-top-header__right-menu span {
  overflow: hidden;
}

.p-top-header__right-menu:hover {
  color: #FFFFFF;
}

.p-top-header__right-flex:hover .p-top-header__right-menu .char {
  color: #FFFFFF;
  transition: color 0.7s;
}

.p-top-header__right-contact {
  background-color: #FFFFFF;
  padding: 7px;
  border: 1px solid #EFF0F5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: relative;
  transition: 0.7s;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-top-header__right-contact img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-top-header__right-contact .p-top-header__right-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-top-header__right-contact .p-top-header__right-link img {
  display: block;
  width: 22px;
  height: 22px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.6s ease;
}
.p-top-header__right-contact .p-top-header__right-link:nth-of-type(1) img {
  transform: translateY(0);
}
.p-top-header__right-contact .p-top-header__right-link:nth-of-type(2) img {
  transform: translateY(100%);
  width: 20px;
  height: 20px;
}
.p-top-header__right-contact:hover .p-top-header__right-link:nth-of-type(1) img {
  transform: translateY(-100%);
}
.p-top-header__right-contact:hover .p-top-header__right-link:nth-of-type(2) img {
  transform: translateY(0);
}

.p-top-header__right-contact:hover {
  background-color: #EE5D2A;
  border: 1px solid #EE5D2A;
}

.p-top-drawer {
  background-image: url(../img/drawer-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  inset: 0;
  height: 100%;
  position: fixed;
  list-style: none;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  padding: 7rem 1rem 4.625rem;
}
@media (min-width: 768px) {
  .p-top-drawer {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

.p-top-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.p-top-drawer__logo {
  width: 7.5rem;
  margin-inline: auto;
  opacity: 0;
}
@media (min-width: 768px) {
  .p-top-drawer__logo {
    width: 20.386875rem;
    margin-inline: 0;
  }
}

.p-top-drawer.active .p-top-drawer__logo {
  -webkit-animation: slideUp-0 0.7s ease forwards;
          animation: slideUp-0 0.7s ease forwards;
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}

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

@keyframes slideUp-0 {
  0% {
    transform: translateY(10%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.p-top-drawer__nav {
  flex-shrink: 0;
}

.p-top-drawer__nav-items {
  padding-top: 6.25rem; /* ヘッダー高さ + 余白 */
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none; /* IE/Edge Legacy: 非表示 */
  scrollbar-width: none; /* Firefox: 非表示 */
  -webkit-overflow-scrolling: touch; /* iOS慣性スクロール */
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 16.0625rem;
  width: 100%;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .p-top-drawer__nav-items {
    max-width: 100%;
    padding-top: 0; /* ヘッダー高さ + 余白 */
  }
}

.p-top-drawer__nav-item {
  width: 100%;
  margin-inline: auto;
  display: flex;
  gap: 0.5rem;
}
.p-top-drawer__nav-link {
  width: 100%;
  text-align: left;
  overflow: hidden;
  display: inline-block;
  line-height: 1;
  transition: color 0.5s ease;
}
.p-top-drawer__nav-link:hover .p-top-drawer__nav-en,
.p-top-drawer__nav-link:hover .p-top-drawer__nav-ja {
  color: #EE5D2A;
  transition: color 0.5s ease;
}

.p-top-drawer__nav-en {
  text-transform: capitalize;
  color: #FFFFFF;
  font-size: 2.5rem;
  font-family: "Butler-light";
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(50%);
}
@media (min-width: 768px) {
  .p-top-drawer__nav-en {
    font-size: 3.5rem;
  }
}

.p-top-drawer.active .p-top-drawer__nav-en {
  -webkit-animation: slideUp-1 0.7s ease forwards;
          animation: slideUp-1 0.7s ease forwards;
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}

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

@keyframes slideUp-1 {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.p-top-drawer__nav-ja {
  font-size: 1rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(100%);
}

.p-top-drawer.active .p-top-drawer__nav-ja {
  -webkit-animation: 0.3s 0.5s ease forwards slideUp-2;
          animation: 0.3s 0.5s ease forwards slideUp-2;
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}

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

@keyframes slideUp-2 {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.p-top-drawer__sns {
  text-align: center;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-top-drawer__sns {
    -webkit-margin-before: 0;
            margin-block-start: 0;
  }
}
.p-top-drawer__sns a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #EFF0F5;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(100%);
}
.p-top-drawer__sns a:hover {
  border: 1px solid #EE5D2A;
}
.p-top-drawer__sns img {
  width: 18px;
  height: 16px;
  transition: filter 0.35s ease, transform 0.5s ease;
}

.p-top-drawer__sns:hover img {
  filter: invert(52%) sepia(67%) saturate(3933%) hue-rotate(5deg) brightness(101%) contrast(97%);
}

.p-top-drawer.active .p-top-drawer__sns a {
  -webkit-animation: slideUp-3 0.3s ease forwards;
          animation: slideUp-3 0.3s ease forwards;
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}

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

@keyframes slideUp-3 {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.p-top-fv {
  height: 100%;
  background-color: #F5EDE9;
}

.p-top-fv__inner {
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .p-top-fv__inner {
    padding-inline: 2.5rem;
  }
}

.p-top-fv__bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
  transform: none;
  background-image: url("../img/fv-bg-full.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  min-height: 100vh;
}

.p-top-fv__image {
  margin-inline: auto;
  position: relative;
  z-index: 3;
}
@media (min-width: 375px) {
  .p-top-fv__image {
    width: 310px;
  }
}
@media (min-width: 532px) {
  .p-top-fv__image {
    width: 400px;
    margin-inline: 0;
  }
}
@media (min-width: 768px) {
  .p-top-fv__image {
    width: 512px;
  }
}

.p-top-fv__title-wrap {
  position: absolute;
  top: 62%;
  right: 4.22222%;
  text-align: right;
  z-index: 1;
}
@media (min-width: 634px) {
  .p-top-fv__title-wrap {
    top: 60%;
    right: 40px;
  }
}
@media (min-width: 768px) {
  .p-top-fv__title-wrap {
    bottom: 40px;
    top: unset;
  }
}
.p-top-fv__title-wrap .char {
  translate: 0 0;
  white-space: nowrap;
  display: inline-block;
}
.p-top-fv__title-wrap span {
  overflow: hidden;
  display: block;
}

.p-top-fv__line {
  display: block;
  overflow: hidden;
  line-height: 1.2;
}

.p-top-fv__line:nth-of-type(2) {
  border-bottom: 1px solid #ABACC9;
}

.p-top-fv__title {
  display: block;
  font-family: "Butler-light";
  color: #1E2C82;
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  display: inline-block;
}
@media (min-width: 768px) {
  .p-top-fv__title {
    font-size: 72px;
  }
}

@media (min-width: 532px) {
  .p-top-fv__title:nth-of-type(2) {
    display: inline-block;
  }
}

.p-top-fv__title:nth-of-type(2) {
  position: relative;
  display: inline-block;
}
.p-top-fv__title:nth-of-type(2)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 47%;
  transform: translateX(-50%);
  width: 20.75rem;
  height: 1px;
  background-color: #1E2C82;
}
@media (min-width: 768px) {
  .p-top-fv__title:nth-of-type(2)::after {
    left: 50%;
    width: 100%;
  }
}

.p-top-fv__sub-title {
  display: block;
  color: #EE5D2A;
  text-align: right;
  font-size: 1rem;
  -webkit-margin-end: 0.375rem;
          margin-inline-end: 0.375rem;
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
  mix-blend-mode: overlay;
}
@media (min-width: 768px) {
  .p-top-fv__sub-title {
    -webkit-margin-before: 1.0625rem;
            margin-block-start: 1.0625rem;
    -webkit-padding-end: 0.3125rem;
            padding-inline-end: 0.3125rem;
  }
}

.p-top-fv__sub-title--sp {
  display: block;
}
@media (min-width: 768px) {
  .p-top-fv__sub-title--sp {
    display: none !important;
  }
}

.p-top-fv__sub-title--pc {
  display: none !important;
}
@media (min-width: 768px) {
  .p-top-fv__sub-title--pc {
    display: block !important;
  }
}

.p-top-mv {
  height: 100%;
  -webkit-clip-path: circle(0 at 50% 100%);
          clip-path: circle(0 at 50% 100%);
}

.p-top-mv__bg-image {
  height: 100%;
}

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

.p-top-mv___title {
  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--neutral-white, #fff);
  font-family: "Yu Mincho", "YuMincho";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.09em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
@media (min-width: 532px) {
  .p-top-mv___title {
    font-size: 32px;
  }
}

.p-top-works {
  background-color: #FFFFFF;
  border-radius: 40px 40px 0 0;
  padding-block: 5rem 3.5rem;
  position: relative;
  z-index: 100;
}
@media (min-width: 768px) {
  .p-top-works {
    padding-block: 10rem 5rem;
  }
}

.p-top-works__cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
  row-gap: 1.40625rem;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-top-works__cards {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-top-works__view {
  -webkit-margin-before: 3.375rem;
          margin-block-start: 3.375rem;
  text-align: right;
}
@media (min-width: 768px) {
  .p-top-works__view {
    -webkit-margin-before: 3.625rem;
            margin-block-start: 3.625rem;
  }
}

.p-top-about {
  background-color: #FFFFFF;
}

.p-top-about__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-top-about__content {
    flex-direction: row;
    gap: 2.5rem;
    max-width: 75rem;
    margin: 2.5rem auto 0;
  }
}
@media (min-width: 1440px) {
  .p-top-about__content {
    flex-direction: row;
    gap: 2.5rem;
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
  }
}

.p-top-about__profile {
  max-width: 100%;
  width: 100%;
  margin-inline: auto;
  background-color: #F5EDE9;
  padding: 2.5rem 0.75rem;
}
@media (min-width: 532px) {
  .p-top-about__profile {
    text-align: center;
  }
}
@media (min-width: 768px) {
  .p-top-about__profile {
    width: 46.667%;
    padding: 4.4375rem 6.8125rem;
    text-align: left;
  }
}
@media (min-width: 1440px) {
  .p-top-about__profile {
    width: 48.7951807229%;
  }
}

.p-top-about__profile-contents {
  max-width: 20rem;
  width: 100%;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .p-top-about__profile-contents {
    max-width: 24rem;
  }
}

.p-top-about__role {
  color: #1E2C82;
  font-family: "Butler-ultra-light";
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.p-top-about__name {
  color: #1E2C82;
  font-family: "Butler-regular";
  font-size: 3.5rem;
  line-height: 0.8;
  letter-spacing: 0.08em;
}
@media (min-width: 768px) {
  .p-top-about__name {
    font-size: 4.5rem;
  }
}

.p-top-about__desc {
  color: #1E2C82;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN";
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .p-top-about__desc {
    font-size: 1.5rem;
    -webkit-margin-before: 2.3125rem;
            margin-block-start: 2.3125rem;
  }
}

.p-top-about__desc + .p-top-about__desc {
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
}

.p-top-about__details {
  max-width: 100%;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5625rem;
}
@media (min-width: 768px) {
  .p-top-about__details {
    max-width: 51.72413793%;
    width: 100%;
    gap: 1.5rem;
  }
}
@media (min-width: 1440px) {
  .p-top-about__details {
    max-width: 50%;
    width: 100%;
    gap: 1.5rem;
  }
}

.p-top-about__important-title,
.p-top-about__skills-title,
.p-top-about__communication-title {
  display: inline-block;
  color: #FFFFFF;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  background-color: #1E2C82;
  padding-inline: 0.25rem;
}
@media (min-width: 768px) {
  .p-top-about__important-title,
.p-top-about__skills-title,
.p-top-about__communication-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }
}

.p-top-about__important-list,
.p-top-about__skills-list,
.p-top-about__communication-list {
  -webkit-margin-before: 0.375rem;
          margin-block-start: 0.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.29375rem;
}

.p-top-about__important-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.p-top-about__important-item-label {
  text-align: center;
  color: #EE5D2A;
  font-size: 12px;
  font-family: "Butler-medium";
  line-height: 14px;
  height: 14px;
  letter-spacing: 0.08em;
  border-radius: 40px;
  border: 1px solid #EE5D2A;
  width: 24px;
  -webkit-padding-start: 1px;
          padding-inline-start: 1px;
}

.p-top-about__important-item-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.p-top-about__skills-item {
  display: flex;
  flex-direction: column;
}
@media (min-width: 532px) {
  .p-top-about__skills-item {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }
}

.p-top-about__communication-item {
  display: flex;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .p-top-about__communication-item {
    gap: 1rem;
    align-items: center;
  }
}

.p-top-about__skills-item-label,
.p-top-about__skills-item-text,
.p-top-about__communication-item-label,
.p-top-about__communication-item-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.p-top-about__communication-link {
  border-bottom: 1px dotted #EE5D2A;
  font-weight: 500;
}

.p-top-about__communication-link:hover {
  color: #EE5D2A;
}

.p-top-about__skills-item-label,
.p-top-about__communication-item-label {
  width: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-margin-start: 0.5rem;
          margin-inline-start: 0.5rem;
}
@media (min-width: 768px) {
  .p-top-about__skills-item-label,
.p-top-about__communication-item-label {
    width: 8.75rem;
  }
}
.p-top-about__skills-item-label img,
.p-top-about__communication-item-label img {
  width: 6px;
  height: 19px;
}

.p-top-about__communication-note {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-margin-before: 0.3125rem;
          margin-block-start: 0.3125rem;
}

.p-top-about__view {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-top-about__view {
    -webkit-margin-before: 3.5rem;
            margin-block-start: 3.5rem;
  }
}

.p-top-about__view {
  text-align: right;
}

.p-top-service {
  background-color: #FFFFFF;
  position: relative;
  z-index: 100;
  transition: background-color 0.6s ease;
}

.p-top-service__content {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}

/*===============================================================================================
# features
===============================================================================================*/
.p-service__features {
  display: flex;
  flex-direction: column;
  gap: 1.1875rem;
}
@media (min-width: 768px) {
  .p-service__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1600px) {
  .p-service__features {
    gap: 2.5rem;
  }
}

.p-service__feature {
  padding: 1.5rem 1rem 2.5rem;
  background-color: #FFFFFF;
}
@media (min-width: 768px) {
  .p-service__feature {
    padding: 1.5rem 1.5rem 2.5rem;
  }
}
@media (min-width: 1600px) {
  .p-service__feature {
    padding: 1.5rem 2.5rem 2.5rem;
  }
}

.p-service__feature-image--cording img {
  width: 24px;
  height: 24px;
}

.p-service__feature-image--wordpress img {
  width: 24px;
  height: 24px;
}

.p-service__feature-image--update img {
  width: 24px;
  height: 24px;
}

.p-service__feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  -webkit-margin-before: -0.1875rem;
          margin-block-start: -0.1875rem;
}
@media (min-width: 768px) {
  .p-service__feature-title {
    font-size: 1.5rem;
  }
}

.p-service__feature-text {
  font-size: 1rem;
  font-weight: 500;
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
}

/*===============================================================================================
# pricing
===============================================================================================*/
@media (min-width: 768px) {
  .p-service__pricing {
    display: flex;
    gap: 3.75rem;
    align-items: flex-start;
    -webkit-margin-before: 2.5rem;
            margin-block-start: 2.5rem;
    position: relative;
    padding-inline: 2.5rem;
  }
}
@media (min-width: 768px) and (min-width: 900px) {
  .p-service__pricing {
    gap: 14.3125rem;
    padding-inline: 3.5rem;
  }
}

.p-service__pricing::before,
.p-service__pricing::after {
  position: absolute;
  content: "";
  background-repeat: no-repeat;
  top: 0;
  width: 1rem;
  height: 100%;
  border: 1px solid #FFFFFF;
  width: 1rem;
  display: none;
}
@media (min-width: 768px) {
  .p-service__pricing::before,
.p-service__pricing::after {
    display: block;
  }
}

.p-service__pricing::before {
  border-right: none;
  left: 0;
}

.p-service__pricing::after {
  border-left: none;
  right: 0;
}

@media (min-width: 768px) {
  .p-service__pricing-inner {
    max-width: 1000px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    gap: 5.625rem;
  }
}

.p-service__pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-service__pricing-title {
    font-size: 1.5rem;
    -webkit-margin-before: 0;
            margin-block-start: 0;
    flex-grow: 1;
  }
}

.p-service__pricing-list {
  font-size: 1.5rem;
  font-weight: 700;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  row-gap: 0.875rem;
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
}
@media (min-width: 768px) {
  .p-service__pricing-list {
    -webkit-margin-before: 0;
            margin-block-start: 0;
    row-gap: 1.375rem;
  }
}

.p-service__pricing-item {
  text-align: right;
}
@media (min-width: 768px) {
  .p-service__pricing-item {
    display: flex;
    align-items: center;
  }
}

.p-service__pricing-item .p-service__pricing-term {
  text-align: left;
}

.p-service__pricing-term {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding-left: 0.75rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .p-service__pricing-term {
    width: 307px;
  }
}

.p-service__pricing-term::before {
  position: absolute;
  content: "";
  background-image: url(../img/service-square.webp);
  background-repeat: no-repeat;
  background-size: contain;
  top: 23%;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
}

.p-service__pricing-term-sub {
  position: relative;
  display: block;
  right: 0.75rem;
  top: 2px;
}

.p-service__pricing-price {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding-left: 2rem;
  text-align: right;
}
@media (min-width: 768px) {
  .p-service__pricing-price {
    padding-left: 11.5rem;
    width: 26.1875rem;
    text-align: left;
  }
}
.p-service__pricing-price span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.p-service__pricing-price::before {
  position: absolute;
  content: "";
  background-image: url(../img/service-pricingLine.webp);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 1.5rem;
  height: 0.0625rem;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
@media (min-width: 768px) {
  .p-service__pricing-price::before {
    width: 10rem;
  }
}

.p-service__pricing-note {
  font-size: 1rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .p-service__pricing-note {
    -webkit-margin-before: 0.625rem;
            margin-block-start: 0.625rem;
  }
}

/*===============================================================================================
# standard
===============================================================================================*/
.p-service__standard {
  -webkit-margin-before: 2.1875rem;
          margin-block-start: 2.1875rem;
}
@media (min-width: 768px) {
  .p-service__standard {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-service__standard-title {
  display: inline-block;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  background-color: #FFFFFF;
  padding-inline: 0.25rem;
}
@media (min-width: 768px) {
  .p-service__standard-title {
    font-size: 1.5rem;
  }
}

.p-service__standard-lead {
  font-size: 1rem;
  -webkit-margin-before: 0.625rem;
          margin-block-start: 0.625rem;
}

.p-standard-cards {
  -webkit-margin-before: 1.375rem;
          margin-block-start: 1.375rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5625rem;
  list-style: none;
}
@media (min-width: 768px) {
  .p-standard-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.34375rem;
  }
}

@media (min-width: 768px) {
  .p-standard-card {
    max-width: 23.4375rem;
    width: 100%;
  }
}
@media (min-width: 1441px) {
  .p-standard-card {
    max-width: 100%;
    width: 100%;
  }
}

.p-standard-card__index {
  color: #EFF0F5;
  font-family: "Butler-ultra-light";
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  -webkit-margin-start: 0.6875rem;
          margin-inline-start: 0.6875rem;
}

.p-standard-card__demo {
  background-color: #FFFFFF;
  aspect-ratio: 343/228;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .p-standard-card__demo {
    aspect-ratio: 375/250;
    height: 15.625rem;
    -webkit-margin-before: 0.625rem;
            margin-block-start: 0.625rem;
  }
}
@media (min-width: 1441px) {
  .p-standard-card__demo {
    height: auto;
  }
}
.p-standard-card__demo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 1441px) {
  .p-standard-card__demo img {
    height: 101%;
  }
}

.p-standard-card__title {
  font-size: 1.25rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .p-standard-card__title {
    font-size: 1.5rem;
    -webkit-margin-before: 0.5rem;
            margin-block-start: 0.5rem;
  }
}

@media (min-width: 768px) {
  .p-standard-card__list {
    -webkit-margin-before: 0.5rem;
            margin-block-start: 0.5rem;
  }
}

.p-standard-card__list-item {
  font-size: 1rem;
  position: relative;
  -webkit-padding-start: 0.75rem;
          padding-inline-start: 0.75rem;
}

.p-standard-card__list-item--no-wrap {
  white-space: nowrap;
}

.p-standard-card__list-item::before {
  position: absolute;
  content: "";
  background-image: url(../img/service-square.webp);
  background-repeat: no-repeat;
  background-size: contain;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
}

.p-standard-card__list-item--middle::before {
  top: 18%;
  transform: none;
}

/*===============================================================================================
# flow
===============================================================================================*/
.p-service__flow {
  -webkit-margin-before: 5rem;
          margin-block-start: 5rem;
  position: relative;
  max-width: 100%;
  width: 100%;
}
@media (min-width: 768px) {
  .p-service__flow {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-service__flow-inner {
  position: relative;
  display: block;
}

.p-service__flow-heading {
  display: flex;
  gap: 7.375rem;
}

.p-service__flow-title {
  display: inline-block;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  background-color: #FFFFFF;
  padding-inline: 0.25rem;
}
@media (min-width: 768px) {
  .p-service__flow-title {
    font-size: 1.5rem;
  }
}

.p-service__flow-allow {
  display: flex;
  gap: 0.645625rem;
  align-items: center;
}
@media (min-width: 768px) {
  .p-service__flow-allow {
    display: none;
  }
}
.p-service__flow-allow img {
  width: 13.333px;
  height: 13.333px;
}

.p-service__flow-allow-text {
  color: #1E2C82;
}

.p-flow__line {
  position: absolute;
  border: 0.5px solid #FFFFFF;
  position: absolute;
  width: 443%;
  top: 9%;
  transform: rotate(-6.8deg);
}
@media (min-width: 768px) {
  .p-flow__line {
    top: 21%;
  }
}
@media (min-width: 1000px) {
  .p-flow__line {
    top: 16%;
  }
}
@media (min-width: 1200px) {
  .p-flow__line {
    top: 11%;
  }
}
@media (min-width: 1440px) {
  .p-flow__line {
    top: 9%;
    width: 460%;
  }
}
@media (min-width: 1500px) {
  .p-flow__line {
    top: 11%;
    width: 490%;
  }
}
@media (min-width: 1600px) {
  .p-flow__line {
    top: 7%;
    width: 510%;
  }
}
@media (min-width: 1700px) {
  .p-flow__line {
    top: 7%;
    width: 550%;
  }
}
@media (min-width: 1800px) {
  .p-flow__line {
    top: 7%;
    width: 590%;
  }
}
@media (min-width: 1900px) {
  .p-flow__line {
    top: 5%;
    width: 625%;
    transform: rotate(-5deg);
  }
}
@media (min-width: 2000px) {
  .p-flow__line {
    top: 5%;
    width: 690%;
    transform: rotate(-5deg);
  }
}
@media (min-width: 2100px) {
  .p-flow__line {
    top: 5%;
    width: 625%;
    transform: rotate(-5deg);
  }
}

.p-flow__steps {
  display: flex;
  gap: 6.25rem;
  -webkit-margin-before: 1.625rem;
          margin-block-start: 1.625rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.p-flow__steps::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .p-flow__steps {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.75rem;
  }
}

.p-flow__step {
  scroll-snap-align: start;
  flex: 0 0 16.6875rem; /* 幅を固定（縮ませない） */
  max-width: 16.6875rem;
}

.p-flow__step:nth-of-type(1) {
  -webkit-margin-before: 6.625rem;
          margin-block-start: 6.625rem;
  position: relative;
}

.p-flow__step:nth-of-type(2) {
  -webkit-margin-before: 4.25rem;
          margin-block-start: 4.25rem;
}

.p-flow__step:nth-of-type(3) {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}

.p-flow__marker {
  display: grid;
  place-items: center;
  position: relative;
  max-width: 100%;
}
.p-flow__marker img {
  grid-area: 1/1;
  width: 160px;
  height: 160px;
}
.p-flow__marker span {
  grid-area: 1/1;
  font-family: "Butler-ultra-light";
  font-size: 1rem;
}

.p-flow__step-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-flow__step-text {
  font-size: 1rem;
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
}

/*===============================================================================================
# 文字色揃える
===============================================================================================*/
.p-service__feature-title,
.p-service__feature-text,
.p-service__pricing-title,
.p-service__pricing-list,
.p-service__pricing-term,
.p-service__pricing-price,
.p-service__pricing-note,
.p-service__standard-lead,
.p-standard-card__title,
.p-standard-card__list-item,
.p-flow__step-title,
.p-flow__step-text,
.p-service__pricing-price .p-flow__marker span {
  color: #1E2C82;
  transition: color 0.6s ease;
}

.p-top-contact {
  background-color: #FFFFFF;
  position: relative;
  z-index: 100;
  transition: background-color 0.6s ease;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-top-contact__inner {
  width: min(100% + 32px, 100%);
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .p-top-contact__inner {
    width: min(100% + 64px, 100%);
    padding-inline: 32px;
    position: relative;
  }
}

.p-top-contact__contents--sp {
  position: relative;
  display: block;
  width: 30%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  width: 25%;
  padding-block: 10rem;
  overflow: hidden;
}
@media (min-width: 532px) {
  .p-top-contact__contents--sp {
    padding-block: 6.25rem;
  }
}
@media (min-width: 768px) {
  .p-top-contact__contents--sp {
    display: none;
  }
}

.p-top-contact__contents--pc {
  display: none;
}
@media (min-width: 768px) {
  .p-top-contact__contents--pc {
    position: relative;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    width: 15%;
    height: 400px;
    transition: 0s;
  }
}

.p-top-contact__bg {
  position: absolute;
  inset: 0;
  background-image: url(../img/contact-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  border-radius: 16px;
}

.p-top-contact__title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #FFFFFF;
}

.p-top-contact__allow {
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
@media (min-width: 768px) {
  .p-top-contact__allow {
    display: none;
  }
}

.p-top-contact__allow-link {
  display: inline-block;
  background-color: #FFFFFF;
  padding: 0.375rem 1.6875rem;
  border-radius: 19px;
  border: none;
  line-height: 1;
  text-align: center;
}
.p-top-contact__allow-link img {
  width: 13.3px;
  height: 13.3px;
}

.p-top-footer {
  background-color: #FFFFFF;
  transition: background-color 0.6s ease;
}

.p-top-footer__inner {
  max-width: 100%;
  width: 100%;
  padding-inline: 1rem;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .p-top-footer__inner {
    padding-inline: 2.5rem;
  }
}

.p-top-footer__heading {
  border-bottom: 1px solid #FFFFFF;
  -webkit-padding-after: 1rem;
          padding-block-end: 1rem;
}
@media (min-width: 768px) {
  .p-top-footer__heading {
    -webkit-padding-after: 0.5625rem;
            padding-block-end: 0.5625rem;
  }
}

.p-top-footer__logo {
  text-align: center;
}
.p-top-footer__logo img {
  width: 8.625rem;
  height: 10.6875rem;
}

.p-top-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.375rem;
  -webkit-margin-before: 4.4375rem;
          margin-block-start: 4.4375rem;
}
@media (min-width: 532px) {
  .p-top-footer__nav {
    flex-direction: row;
    gap: 2.6875rem;
  }
}

.p-top-footer__nav-link {
  color: #FFFFFF;
  font-family: "Butler-regular";
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.5s ease;
}
.p-top-footer__nav-link:hover {
  color: #EE5D2A;
}

.p-top-footer__sns {
  -webkit-margin-before: 2.375rem;
          margin-block-start: 2.375rem;
  text-align: center;
}
@media (min-width: 768px) {
  .p-top-footer__sns {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-top-footer__sns-link {
  width: 20px;
  height: 20px;
  position: relative;
}
.p-top-footer__sns-link::after {
  position: absolute;
  content: "";
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s ease;
}
.p-top-footer__sns-link:hover::after {
  border-color: #EE5D2A;
}

.p-top-footer__sns-link img {
  transition: filter 0.3s ease;
}

.p-top-footer__sns-link:hover img {
  filter: invert(52%) sepia(67%) saturate(3933%) hue-rotate(5deg) brightness(101%) contrast(97%);
}

.p-top-footer__bottom {
  -webkit-padding-before: 0.4375rem;
          padding-block-start: 0.4375rem;
}
@media (min-width: 768px) {
  .p-top-footer__bottom {
    position: relative;
    -webkit-padding-before: 1.5625rem;
            padding-block-start: 1.5625rem;
  }
}

.p-top-footer__bottom {
  text-align: center;
}
@media (min-width: 768px) {
  .p-top-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.p-top-footer__bottom-copy {
  color: #FFFFFF;
  font-family: "Butler-ultra-light";
  font-size: 0.875rem;
  line-height: normal;
  letter-spacing: 0.08em;
}

.p-top-footer__middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-margin-before: 4.125rem;
          margin-block-start: 4.125rem;
  padding-inline: 1rem;
}

.p-top-footer__privacy--sp {
  display: block;
}
.p-top-footer__privacy--sp:hover {
  color: #EE5D2A;
}
@media (min-width: 768px) {
  .p-top-footer__privacy--sp {
    display: none;
  }
}

.p-top-footer__privacy--pc {
  display: none;
}
@media (min-width: 768px) {
  .p-top-footer__privacy--pc {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .p-top-footer__privacy--pc:hover {
    color: #EE5D2A;
  }
}

.p-top-footer__privacy-link {
  color: #FFFFFF;
  font-family: "Butler-ultra-light";
  font-size: 0.875rem;
  line-height: normal;
  letter-spacing: 0.08em;
}
.p-top-footer__privacy-link:hover {
  color: #EE5D2A;
}

.p-top-footer__top-link {
  background-color: #FFFFFF;
  padding: 0.25rem 1.5rem;
  border-radius: 2.5rem;
}
.p-top-footer__top-link img {
  width: 12px;
  height: 12px;
}

.p-works {
  -webkit-padding-before: 6.6875rem 8.625rem;
          padding-block-start: 6.6875rem 8.625rem;
}
@media (min-width: 768px) {
  .p-works {
    padding-block: 5rem;
  }
}

.p-works__contents {
  -webkit-margin-before: 4rem;
          margin-block-start: 4rem;
}

.p-works__tags {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-works__tags {
    gap: 1.5rem;
    justify-content: center;
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-works-tag__link.is-active {
  color: #EE5D2A;
}
.p-works-tag__link.is-active:hover {
  color: #EE5D2A;
}

.p-works-tag__link {
  display: inline-block;
  width: 100px;
  color: #ABACC9;
  font-size: 1rem;
  transition: 0.7s;
}
@media (min-width: 768px) {
  .p-works-tag__link {
    width: auto;
  }
}
.p-works-tag__link:hover {
  color: #1E2C82;
}

.p-works__cards {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
  display: grid;
  row-gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .p-works__cards {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
    row-gap: 2.5rem;
  }
}

.p-works__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}
@media (min-width: 768px) {
  .p-works__pagination {
    margin-top: 40px;
    margin-right: 8px;
  }
}
.p-works__pagination:empty {
  margin-top: 0;
}

.p-works__pagination-prev,
.p-works__pagination-next {
  display: block;
  color: #1E2C82;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  position: relative;
  padding-inline: 1.25rem;
}

.p-works__pagination-prev::before,
.p-works__pagination-next::after {
  position: absolute;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

.p-works__pagination-prev::before {
  background-image: url(../img/pagination-left.webp);
  left: 0;
}

.p-works__pagination-next::after {
  background-image: url(../img/pagination.right.webp);
  right: 0;
}

.p-works__pagination-icon.current {
  background-color: #1E2C82;
}

.p-works__pagination-next:hover::before,
.p-works__pagination-next:hover::after {
  background-color: #FFFFFF;
}

.p-works__pagination-prev:hover::before,
.p-works__pagination-prev:hover::after {
  background-color: #FFFFFF;
}

.p-works__pagination-icon {
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #1E2C82;
  transition: 0.3s;
}

.current .p-works__pagination-icon {
  background-color: #1E2C82;
  color: #FFFFFF;
}

.p-works__pagination-icon:hover {
  background-color: #1E2C82;
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-works-card {
  display: inline-block;
}
.p-works-card .to-site {
  border-color: transparent;
  background-color: #EE5D2A;
}
.p-works-card .to-site svg path {
  fill: #FFFFFF;
}
@media (min-width: 768px) {
  .p-works-card .to-site {
    border: 1px solid #1E2C82;
    background-color: #FFFFFF;
  }
  .p-works-card .to-site svg path {
    fill: #1E2C82;
  }
  .p-works-card:hover .p-works-card__title::after {
    opacity: 1;
  }
  .p-works-card:hover .to-site {
    border-color: transparent;
    background-color: #EE5D2A;
  }
  .p-works-card:hover .to-site svg path {
    fill: #FFFFFF;
  }
}

.p-works-card--sp {
  display: block;
}
@media (min-width: 768px) {
  .p-works-card--sp {
    display: none;
  }
}

.p-works-card--pc {
  display: none;
}
@media (min-width: 768px) {
  .p-works-card--pc {
    display: block;
  }
}

.p-works-card__image {
  aspect-ratio: 343/193.083;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .p-works-card__image .hover-image,
.p-works-card__image .hover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: opacity 0.5s ease-in-out;
  }
}
@media (min-width: 768px) {
  .p-works-card__image .hover-video {
    opacity: 0;
    pointer-events: none;
  }
}
@media (min-width: 768px) {
  .p-works-card__image:hover .hover-image {
    opacity: 0;
  }
}
@media (min-width: 768px) {
  .p-works-card__image:hover .hover-video {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (min-width: 768px) {
  .p-works-card__image {
    aspect-ratio: 588/331;
  }
}

.p-top-works__card.is-playing .hover-image {
  opacity: 0 !important;
}
.p-top-works__card.is-playing .hover-video {
  opacity: 1 !important;
  pointer-events: auto;
}

.p-works-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  -webkit-margin-before: -0.125rem;
          margin-block-start: -0.125rem;
}
@media (min-width: 768px) {
  .p-works-card__body {
    -webkit-margin-before: 0.8125rem;
            margin-block-start: 0.8125rem;
  }
}

.p-works-card__title {
  display: flex;
  align-items: flex-start;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media (min-width: 768px) {
  .p-works-card__title::after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 105%;
    height: 1px;
    background-color: #EE5D2A;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
}

.p-works-card__title__main {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  -webkit-margin-before: -0.0625rem;
          margin-block-start: -0.0625rem;
}

.p-works-card__title__separator {
  position: relative;
  top: 0.75rem;
  left: 0.25rem;
}

.p-works-card__title__sub {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  top: 0.75rem;
  left: 0.5rem;
}

.p-works-card__info {
  display: grid;
  grid-template-columns: repeat(2, auto); /* 2列ベース */
  justify-content: start; /* 左詰め */
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  row-gap: 0.55rem;
}
@media (min-width: 768px) {
  .p-works-card__info {
    display: grid;
    grid-template-columns: repeat(2, auto); /* 👈 各列の幅をコンテンツに合わせる */
    justify-content: start; /* 👈 左詰め */
  }
}

.p-works-card__info-item:nth-child(3),
.p-works-card__info-item:nth-child(4) {
  grid-column: 1/3; /* 1〜2列目をまたぐ（横幅いっぱい） */
}
@media (min-width: 768px) {
  .p-works-card__info-item:nth-child(3),
.p-works-card__info-item:nth-child(4) {
    grid-column: auto; /* デフォルトに戻す */
  }
}

.p-works-card__info-item {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}

.p-works-card__info-item:nth-of-type(3) {
  flex-basis: 100%;
}
.p-works-card__skills,
.p-works-card__term,
.p-works-card__price {
  background-color: #1E2C82;
  padding: 0.0625rem 0.25rem;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.p-works-card__description {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.p-works-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-works-card__tags {
  display: flex;
  gap: 0.5rem;
  -webkit-margin-before: -0.25rem;
          margin-block-start: -0.25rem;
}

.p-works-card__tag {
  color: #ABACC9;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.009em;
  position: relative;
}
.p-works-card__tag::before {
  content: "#";
  margin-right: 0.25em;
}

.p-works-card__allow {
  text-align: right;
  display: block;
}

.p-works-single {
  -webkit-margin-before: 4rem;
          margin-block-start: 4rem;
  overflow: hidden;
}

.p-works-single__contents {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}

@media (min-width: 768px) {
  .p-works-single__head {
    display: grid;
    grid-template-columns: 27.375rem 1fr;
    gap: 2.5rem;
  }
}

.p-works-single__head-title {
  color: #1E2C82;
  font-family: "Yu Mincho", "YuMincho";
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .p-works-single__head-title {
    font-size: 2rem;
  }
}

.p-works-single-head__desc {
  display: block;
  font-size: 1rem;
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
}

.p-works-single__go-site {
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
  display: inline-block;
}

.p-works-single__go-site-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  position: relative;
}

.p-works-single__go-site-link::after {
  content: "";
  width: 13px;
  height: 13px;
  background: url(../img/go-site-allow.webp) no-repeat center/contain;
}

.p-works-single__overview {
  margin-block: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-works-single__overview-image {
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-works-single__overview-details {
  position: relative;
}
@media (min-width: 768px) {
  .p-works-single__overview-details {
    display: flex;
    gap: 2.5rem;
    width: 100%;
    -webkit-padding-end: 2.5rem;
            padding-inline-end: 2.5rem;
  }
}

.p-works-single__overview-details::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0.75rem;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background-color: #f9f8f8;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-works-single__overview-details::before {
    margin: 0;
    width: 100%;
    top: 1.125rem;
  }
}

.p-works-single__overview-client {
  max-width: 16.875rem;
  width: 100%;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .p-works-single__overview-client {
    max-width: 17rem;
    margin-left: 2.5rem;
    margin-right: 0;
  }
}

.p-works-single__overview-client-title {
  text-align: center;
  color: #FFFFFF;
  font-size: 1rem;
  background-color: #1E2C82;
  padding-inline: 4.4375rem;
  width: 100%;
  margin-inline: auto;
}

.p-works-single__overview-client-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding-inline: 16px;
  -webkit-margin-before: 1.125rem;
          margin-block-start: 1.125rem;
  border-left: 1px solid #ABACC9;
  border-right: 1px solid #ABACC9;
}

.p-works-single__overview-client-name {
  color: #1E2C82;
  font-family: "Yu Mincho", "YuMincho";
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between; /* 左右端に配置 */
  align-items: center; /* 縦中央揃え */
}

.p-works-single__overview-client-url a {
  font-size: 1rem;
}

.p-works-single__overview-client-label {
  color: #1E2C82;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-works-single__overview-client-note {
  color: #1E2C82;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-works-single__overview-list {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-works-single__overview-list {
    -webkit-margin-before: 2rem;
            margin-block-start: 2rem;
  }
}

.p-works-single__overview-item {
  border-bottom: 1px solid #EFF0F5;
  padding-block: 0.5rem;
}
@media (min-width: 768px) {
  .p-works-single__overview-item {
    display: flex;
    gap: 1.5rem;
  }
}

.p-works-single__overview-term {
  color: #1E2C82;
  font-size: 1rem;
  position: relative;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  -webkit-padding-start: 0.75rem;
          padding-inline-start: 0.75rem;
}
@media (min-width: 768px) {
  .p-works-single__overview-term {
    width: 8.125rem;
    flex-shrink: 0;
  }
}

.p-works-single__overview-term::before {
  position: absolute;
  content: "";
  background-color: #1E2C82;
  background-repeat: no-repeat;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
}

.p-works-single__overview-desc {
  font-size: 1rem;
}

.p-works-single__overview-feature {
  color: #1E2C82;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-works-single__overview-points {
  position: relative;
}

.p-works-single__overview-points::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 12px;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background-color: #f9f8f8;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-works-single__overview-points::before {
    margin: 0;
    width: 100%;
    top: 1.125rem;
  }
}

.p-works-single__overview-points__title {
  text-align: center;
  color: #FFFFFF;
  font-size: 1rem;
  background-color: #EE5D2A;
  padding-inline: 4.9375rem;
  max-width: 16.875rem;
  width: 100%;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .p-works-single__overview-points__title {
    -webkit-margin-start: 2.5rem;
            margin-inline-start: 2.5rem;
  }
}

.p-works-single__overview-points__list {
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
}
@media (min-width: 768px) {
  .p-works-single__overview-points__list {
    width: 93.4%;
    margin-inline: auto;
  }
}

.p-works-single__overview-item:nth-of-type(2),
.p-works-single__overview-item:nth-of-type(3) {
  display: flex;
  gap: 70px;
}
@media (min-width: 768px) {
  .p-works-single__overview-item:nth-of-type(2),
.p-works-single__overview-item:nth-of-type(3) {
    gap: 78px;
  }
}
.p-works-single__overview-item:nth-of-type(2) .p-works-single__overview-term,
.p-works-single__overview-item:nth-of-type(3) .p-works-single__overview-term {
  width: 76px;
}

@media (min-width: 768px) {
  .p-works-single__overview-point {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
}

.p-works-single__overview-point + .p-works-single__overview-point {
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-works-single__overview-point-title {
  display: inline-block;
  background-color: #FFFFFF;
  color: #1E2C82;
  text-align: center;
  font-size: 1rem;
  border: 1px solid #EE5D2A;
  border-radius: 4px;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.16);
  padding: 1rem 2.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .p-works-single__overview-point-title {
    padding: 2.5rem 0;
    width: 8.75rem;
    flex-shrink: 0;
  }
}

.p-works-single__overview-point-title::after {
  position: absolute;
  content: "";
  background-image: url(../img/works-point-bottom.webp);
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -9.3px;
  left: 10px;
  width: 26px;
  height: 19px;
  z-index: 1;
  -webkit-clip-path: inset(50% 0 0 0);
          clip-path: inset(50% 0 0 0);
}
@media (min-width: 768px) {
  .p-works-single__overview-point-title::after {
    background-image: url(../img/works-point-right.webp);
    height: 17px;
    left: unset;
    right: -24px;
    bottom: 40px;
    -webkit-clip-path: inset(0 0 0 7%);
            clip-path: inset(0 0 0 7%);
  }
}

.p-works-single__overview-points-body {
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
}
.p-works-single__overview-points-body p {
  font-size: 1rem;
}

.p-works-single__overview-back {
  text-align: center;
  display: inline-block;
}

.p-works-single__overview-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #222;
  padding-bottom: 1rem;
  position: relative;
  -webkit-padding-start: 2rem;
          padding-inline-start: 2rem;
}

.p-works-single__overview-link::before {
  position: absolute;
  content: "";
  width: 13.3333px;
  height: 13.3333px;
  background: url(../img/arrow_back.webp) no-repeat center/contain;
  left: 0;
}

/*===============================================================================================
# スライダー
===============================================================================================*/
.p-works-single__slider {
  padding-block: 2.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .p-works-single__slider {
    padding-block: 5rem;
    display: flex;
  }
}

.p-works-single__slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% + 5rem);
  background-color: #f9f8f8;
  z-index: -1;
}
.p-works-single__slider-head {
  color: #1E2C82;
  font-size: 1rem;
  font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1E2C82;
}
@media (min-width: 768px) {
  .p-works-single__slider-head {
    flex-shrink: 0;
    width: 144px;
    height: 100%;
    position: relative;
  }
}

.p-works-single__swiper-container {
  -webkit-margin-before: 7.75rem;
          margin-block-start: 7.75rem;
}
@media (min-width: 768px) {
  .p-works-single__swiper-container {
    width: calc(100vw - 21.5rem);
    margin-left: calc(50% - 50vw + 12.5rem);
    margin-right: calc(50% - 50vw);
    -webkit-margin-before: 0;
            margin-block-start: 0;
  }
}
.p-works-single__clip {
  overflow: hidden; /* ← はみ出し隠しを内側へ移管 */
}

.p-works-single__swiper-slide {
  max-width: 21.4375rem;
}
@media (min-width: 768px) {
  .p-works-single__swiper-slide {
    max-width: 36.75rem;
  }
}

/*===============================================================================================
# slider
===============================================================================================*/
.p-works-single__swiper-container,
.p-works-single__swiper,
.p-works-single__swiper-wrapper,
.p-works-single__swiper-slide {
  position: relative;
}

.p-works-single__swiper {
  overflow: visible;
}

/*===============================================================================================
# 
===============================================================================================*/
.draggable {
  display: none;
}

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

/* 位置のreset */
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  margin: 0;
  padding: 0;
}

/* 各ボタンのカスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  bottom: calc(100% - 175px);
  width: 60px;
  height: 28px;
  right: 0;
}
@media (min-width: 768px) {
  .swiper-button-prev,
.swiper-button-next {
    bottom: calc(100% - 135px);
  }
}

.swiper-button-prev {
  right: 70px;
}
@media (min-width: 768px) {
  .swiper-button-prev {
    right: 77px;
  }
}

/* =============================
   ページネーション (progressbar)
============================= */
/* 位置の設定と外枠 */
.swiper-pagination-progressbar.swiper-pagination-horizontal {
  top: calc(100% + 34px);
  left: 50%;
  translate: -50%;
  width: 100%;
  height: 8px;
  background: #FFFFFF;
  border-radius: 16px;
}

/* activeな部分 */
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #1E2C82;
  border-radius: 16px;
}

.p-about {
  -webkit-margin-before: 5rem;
          margin-block-start: 5rem;
  position: relative;
  z-index: 100;
}

.p-about__contents {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-about__contents {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-about__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  -webkit-padding-after: 2.5rem;
          padding-block-end: 2.5rem;
}
@media (min-width: 768px) {
  .p-about__top {
    flex-direction: row;
    gap: 5rem;
    -webkit-margin-after: 10rem;
            margin-block-end: 10rem;
  }
}

@media (min-width: 768px) {
  .p-about__top-me {
    flex-shrink: 0;
  }
}

.p-about__role {
  font-family: "Butler-regular";
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.p-about__title {
  color: #1E2C82;
  /* en-72-500 */
  font-family: "Butler-regular";
  font-size: 3.5rem;
  line-height: 0.8;
  letter-spacing: 0.08em;
}
@media (min-width: 768px) {
  .p-about__title {
    font-size: 4.5rem;
  }
}

.p-about__kana {
  color: #1E2C82;
  font-size: 1rem;
  font-weight: 700;
}

.p-about__top-image {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-about__top-image {
    max-width: 22.4570625rem;
    aspect-ratio: 359.313/360;
    width: 100%;
    height: auto;
    margin-inline: auto;
  }
  .p-about__top-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.p-about__profile {
  letter-spacing: 0.08em;
}

.p-about__profile-heading {
  color: #EE5D2A;
  font-family: "Butler-regular";
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.p-about__profile-row {
  padding-block: 0.5rem;
  border-bottom: 1px dashed #ABACC9;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .p-about__profile-row {
    padding-block: 1rem;
    gap: 2.5rem;
  }
}

.p-about__profile-row--column {
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .p-about__profile-row--column {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.p-about__profile-term {
  font-size: 0.75rem;
  font-weight: 700;
  width: 4.0625rem;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .p-about__profile-term {
    width: 6.25rem;
  }
}

.p-about__profile-desc {
  font-size: 1rem;
}

.p-about__bottom {
  -webkit-padding-after: 5rem;
          padding-block-end: 5rem;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .p-about__bottom {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
    display: flex;
  }
}

@media (min-width: 768px) {
  .p-about__bottom-container {
    padding-inline: 2.5rem 5rem;
  }
}

.p-about__bottom::before {
  position: absolute;
  content: "";
  background-size: cover;
  background-color: #F5EDE9;
  margin: 0 calc(50% - 50vw);
  width: calc(100% + 72px);
  height: 104%;
  top: -2.5rem;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-about__bottom::before {
    top: -5rem;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .p-about__nav {
    padding-inline: 2.5rem 1.25rem;
    width: 16rem;
    flex-shrink: 0;
    border-right: 1px solid #FFFFFF;
    position: -webkit-sticky;
    position: sticky;
    top: 10rem;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    align-self: start;
    width: 18.9583333333%;
  }
}
@media (min-width: 1600px) {
  .p-about__nav {
    padding-inline: 120px 24px;
  }
}

.p-about__nav-title {
  display: none;
}
@media (min-width: 768px) {
  .p-about__nav-title {
    display: block;
    color: #ABACC9;
    font-family: "Butler-light";
    font-size: 1rem;
    letter-spacing: 0.08em;
  }
}

.p-about__nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 1rem;
}
@media (min-width: 768px) {
  .p-about__nav-list {
    -webkit-margin-before: 2.5rem;
            margin-block-start: 2.5rem;
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-about-nav__item {
  text-align: center;
  border-left: 1px solid #ABACC9;
  border-right: 1px solid #ABACC9;
}
@media (min-width: 768px) {
  .p-about-nav__item {
    border-left: none;
    border-right: none;
    text-align: left;
  }
}

.p-about-nav__item:nth-of-type(2),
.p-about-nav__item:nth-of-type(4) {
  border-right: none;
}

.p-about-nav__item--wide {
  grid-column: 1/-1; /* 1列目から最終列まで */
}

.p-about-nav__link {
  display: inline-block;
  color: #1E2C82;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  -webkit-padding-end: 1.0625rem;
          padding-inline-end: 1.0625rem;
}
@media (min-width: 768px) {
  .p-about-nav__link {
    -webkit-padding-end: 0;
            padding-inline-end: 0;
    -webkit-padding-start: 1.8166625rem;
            padding-inline-start: 1.8166625rem;
  }
}

.p-about-nav__link::after {
  position: absolute;
  content: "";
  background-image: url(../img/about-allow-link.webp);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  top: 10px;
  right: 0;
  width: 9.8px;
  height: 5.427px;
}
@media (min-width: 768px) {
  .p-about-nav__link::after {
    display: none;
  }
}

@media (min-width: 768px) {
  .p-about-nav__link::before {
    position: absolute;
    content: "";
    background-image: url(../img/about-allow-link-pc.webp);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 1rem;
    height: 1rem;
    transition: 0.3s;
  }
}
@media (min-width: 768px) and (any-hover: hover) {
  .p-about-nav__link::before:hover {
    cursor: pointer;
  }
}

.p-about-nav__link:hover::before {
  background-image: url(../img/about-allow-link-orange.webp);
}
@media (min-width: 768px) {
  .p-about-nav__link:hover::before {
    background-image: url(../img/about-allow-link-orange.webp);
  }
}

@media (min-width: 768px) {
  .p-about-nav__link.is-active {
    color: #EE5D2A;
  }
}

@media (min-width: 768px) {
  .p-about__bottom {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }
}

@media (min-width: 768px) {
  .p-about__bottom-container {
    width: 81.0416666667%;
  }
}

.p-about__bottom-wrapper {
  padding-block: 2.5rem;
}
@media (min-width: 768px) {
  .p-about__bottom-wrapper {
    padding-block: 2.5rem;
  }
}

.p-about__bottom-wrapper:nth-of-type(1) {
  padding-block: 2.5rem;
}
@media (min-width: 768px) {
  .p-about__bottom-wrapper:nth-of-type(1) {
    -webkit-padding-before: 0;
            padding-block-start: 0;
  }
}

.p-about__bottom-wrapper-title {
  display: inline-block;
  padding-inline: 1.5rem;
  border-left: 1px solid #EE5D2A;
  border-right: 1px solid #EE5D2A;
  color: #EE5D2A;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.p-about__bottom-wrapper-lead {
  font-size: 1rem;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-about__bottom-items {
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-about__bottom-item {
  border: 1px solid #FFFFFF;
  border-radius: 8px;
  padding: 1rem 0.5rem;
}

.p-about__bottom-item--white {
  background-color: #FFFFFF;
}

.p-about__bottom-item-top {
  padding-block: 1rem;
  border-bottom: 1px solid #ABACC9;
}
@media (min-width: 768px) {
  .p-about__bottom-item-top {
    -webkit-padding-start: 1.5rem;
            padding-inline-start: 1.5rem;
  }
}

.p-about__bottom-item-number {
  display: grid;
  place-content: center;
  color: #EE5D2A;
  font-size: 0.75rem;
  font-family: "Butler-medium";
  letter-spacing: 0.08em;
  border-radius: 40px;
  border: 1px solid #EE5D2A;
  width: 1.9375rem;
  padding: 0.000625rem 0.34375rem;
}

.p-about__bottom-item-title {
  color: #1E2C82;
  font-family: "Yu Mincho", "YuMincho";
  font-size: 1.5rem;
  font-weight: 600;
  -webkit-margin-before: 0.25rem;
          margin-block-start: 0.25rem;
}
@media (min-width: 768px) {
  .p-about__bottom-item-title {
    font-size: 2rem;
  }
}

.p-about__bottom-item-under {
  padding-block: 1rem;
}
@media (min-width: 768px) {
  .p-about__bottom-item-under {
    display: flex;
    gap: 1.5rem;
    -webkit-padding-start: 1.5rem;
            padding-inline-start: 1.5rem;
  }
}

.p-about__bottom-item-text {
  color: #1E2C82;
  font-size: 1rem;
}

.p-about__bottom-item-label {
  color: #EE5D2A;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .p-about__bottom-item-left {
    width: 31.5rem;
  }
}

.p-about__bottom-item-lead {
  font-size: 1rem;
}

.p-about__bottom-item-lead span {
  background-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(221, 46, 30, 0.5) 70%);
}

.p-about__bottom-item-text-list {
  -webkit-margin-before: 1.25rem;
          margin-block-start: 1.25rem;
}

.p-about__bottom-item-tool-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}
@media (min-width: 768px) {
  .p-about__bottom-item-tool-list {
    -webkit-margin-before: 0;
            margin-block-start: 0;
  }
}

.p-about__bottom-item-flex {
  display: flex;
  align-items: center;
}

.p-about__bottom-item-flex-tool {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.p-about__bottom-item-flex-text {
  font-size: 1rem;
}

.p-about__bottom-item-note {
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
}

.p-about__bottom-item-under--share {
  padding-inline: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .p-about__bottom-item-under--share {
    align-items: center;
    flex-direction: row;
  }
}

.p-about__bottom-share-lead {
  font-size: 1rem;
}

.p-about__bottom-share-lead span {
  background-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(221, 46, 30, 0.5) 70%);
}

.p-about__bottom-share-right {
  background-color: #EFF0F5;
  border-radius: 4px;
  padding: 0.5rem 1.96875rem;
}
@media (min-width: 768px) {
  .p-about__bottom-share-right {
    flex-grow: 1;
  }
}

.p-about__bottom-share-right-title {
  display: inline-block;
  color: #1E2C82;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  -webkit-padding-start: 0.625rem;
          padding-inline-start: 0.625rem;
}

.p-about__bottom-share-right-title::before {
  position: absolute;
  content: "";
  background-position: left center;
  background-repeat: no-repeat;
  background-color: #1E2C82;
  width: 8px;
  height: 8px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.p-about__bottom-share-tool-list {
  -webkit-padding-before: 0.25rem;
          padding-block-start: 0.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.p-about__bottom-share-tool-list li {
  display: block;
  text-align: left;
  width: 96px;
  color: #1E2C82;
  font-size: 1rem;
  white-space: nowrap;
}

.p-about__bottom-share-right-title {
  color: #1E2C82;
  font-size: 1rem;
  font-weight: 700;
}

.p-about__bottom-share-right-text {
  font-size: 1rem;
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
}

.p-about__bottom-share-under-imagewrap {
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .p-about__bottom-share-under-imagewrap {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.p-about__bottom-wrapper-title-sub {
  color: #1E2C82;
  font-family: "Yu Mincho", "YuMincho";
  font-size: 1.5rem;
  font-weight: 600;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}
@media (min-width: 768px) {
  .p-about__bottom-wrapper-title-sub {
    font-size: 2rem;
  }
}

.p-about__bottom-textbox {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-about__bottom-text {
  font-size: 1rem;
}

.p-about__bottom-text span {
  display: inline-block;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(221, 46, 30, 0.5) 70%);
}

/*===============================================================================================
# 楽しみ-1
===============================================================================================*/
.p-about__bottom-enjoys {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}

.p-about__bottom-enjoy:nth-of-type(1) {
  padding: 1.5rem 1rem;
  border: 1px dashed #EE5D2A;
  position: relative;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy:nth-of-type(1) {
    padding: 2.5rem;
  }
}

.p-about__bottom-enjoy-label {
  color: #FFFFFF;
  background-color: #EE5D2A;
  width: 89px;
  height: 26px;
  text-align: center;
}
.p-about__bottom-enjoy-label span:nth-child(1) {
  font-size: 12px;
}
.p-about__bottom-enjoy-label span:nth-child(2) {
  font-size: 16px;
  text-transform: uppercase;
}

.p-about__bottom-enjoy-title {
  font-size: 20px;
  font-weight: 700;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.p-about__bottom-enjoy-lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  white-space: nowrap;
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
}

.p-about__bottom-enjoy-cat {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}

.p-about__bottom-enjoy-cat-image {
  width: 9.7743125rem;
  margin-inline: auto;
  position: relative;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy-cat-image {
    width: 12.625rem;
    height: 23.25rem;
    position: absolute;
    top: -9%;
    right: 13%;
  }
}

.p-about__bottom-enjoy-cat-image::before {
  position: absolute;
  content: "";
  background-image: url(../img/about-left-orange.webp);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  left: -70px;
  width: 10.6359375rem;
  height: 10.6359375rem;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy-cat-image::before {
    bottom: -0.375rem;
    left: -6.375rem;
    width: 14.375rem;
    height: 14.375rem;
    z-index: -1;
  }
}

.p-about__bottom-enjoy-cat-image::after {
  position: absolute;
  content: "";
  background-image: url(../img/abour-right-orange.webp);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  right: -6.4375rem;
  width: 10.6359375rem;
  height: 10.6359375rem;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy-cat-image::after {
    right: -9.625rem;
    width: 14.375rem;
    height: 14.375rem;
    top: 0.9375rem;
  }
}

.p-about__bottom-enjoy-footer {
  display: flex;
  gap: 4px;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy-footer {
    gap: 1.5rem;
  }
}

.p-about__bottom-enjoy-image {
  flex: 1;
}

/*===============================================================================================
# 楽しみ-2
===============================================================================================*/
.p-about__bottom-enjoy:nth-of-type(2) {
  padding: 1.5rem 1rem;
  border: 1px dashed #1E2C82;
  position: relative;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy:nth-of-type(2) {
    padding: 2.5rem;
  }
}

.p-about__bottom-enjoy-label--blue {
  color: #FFFFFF;
  background-color: #1E2C82;
  width: 120px;
  height: 26px;
  text-align: center;
}
.p-about__bottom-enjoy-label--blue span:nth-child(1) {
  font-size: 12px;
}
.p-about__bottom-enjoy-label--blue span:nth-child(2) {
  font-size: 16px;
  text-transform: uppercase;
}

.p-about__bottom-enjoy-dragons-image {
  width: 9.7743125rem;
  margin-inline: auto;
  position: relative;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy-dragons-image {
    width: 13.8125rem;
    position: absolute;
    top: -10%;
    right: 13%;
  }
}

.p-about__bottom-enjoy-dragons-image::before {
  position: absolute;
  content: "";
  background-image: url(../img/about-left-blue.webp);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -1.25rem;
  left: -5rem;
  width: 10.6359375rem;
  height: 10.6359375rem;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy-dragons-image::before {
    left: -41%;
    width: 14.375rem;
    height: 14.375rem;
  }
}

.p-about__bottom-enjoy-dragons-image::after {
  position: absolute;
  content: "";
  background-image: url(../img/about-right-blue.webp);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0.75rem;
  right: -6.4375rem;
  width: 10.6359375rem;
  height: 10.6359375rem;
  z-index: -1;
}
@media (min-width: 768px) {
  .p-about__bottom-enjoy-dragons-image::after {
    top: 36%;
    right: -56%;
    width: 14.375rem;
    height: 14.375rem;
  }
}

.p-page-top__allow--sp {
  display: block;
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
}
@media (min-width: 768px) {
  .p-page-top__allow--sp {
    display: none;
  }
}

.p-page-top__allow--pc {
  display: none;
}
@media (min-width: 768px) {
  .p-page-top__allow--pc {
    display: block;
  }
}

.p-contact {
  -webkit-margin-before: 5rem;
          margin-block-start: 5rem;
  padding-block: 6.6875rem 5rem;
}
@media (min-width: 768px) {
  .p-contact {
    padding-block: 6.6875rem 10rem;
  }
}

.p-contact__contents {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-contact__contents {
    width: min(1200px, 100%);
    padding-inline: 12.5rem;
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .p-contact__top {
    max-width: 30.3125rem;
    margin-inline: auto;
    text-align: center;
  }
}

.p-contact__message {
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.p-contact__message-link img {
  width: 40px;
  height: 40px;
}

.p-contact__form {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .p-contact__form {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-contact__form-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-contact__head {
  font-size: 1rem;
  font-weight: 700;
}

.--must {
  color: #EE5D2A;
  font-size: 1rem;
  font-weight: 700;
}

.p-contact__data {
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
}

.p-contact__data-checkbox--bottom {
  text-align: center;
}

.p-contact__submit {
  text-align: center;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}

.p-contact__submit-button {
  display: inline-block;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  background-color: #1E2C82;
  border-radius: 4px;
  padding: 1rem 10rem;
  transition: 0.3s;
}
@media (any-hover: hover) {
  .p-contact__submit-button:hover {
    cursor: pointer;
  }
}
@media screen and (max-width: 767px) {
  .p-contact__submit-button {
    padding: 1rem 7.25rem;
  }
}

.p-contact__submit-button:hover {
  background-color: #222;
}

.p-contact__error-message {
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
  color: #EE5D2A;
  font-weight: 700;
}

/*===============================================================================================
  # 全体設定
  ===============================================================================================*/
input[type=text],
input[type=email],
select,
textarea {
  border-radius: 4px;
  width: 100%;
  border: 1px solid #ABACC9;
  padding: 1rem;
  background-color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}
input[type=text]:focus,
input[type=email]:focus,
select:focus,
textarea:focus {
  border-color: transparent;
  outline: 1px solid #1E2C82;
  background-color: #EFF0F5;
}
input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: #ABACC9;
  font-size: 1rem;
  font-weight: 700;
}
input[type=text]::placeholder,
input[type=email]::placeholder,
select::placeholder,
textarea::placeholder {
  color: #ABACC9;
  font-size: 1rem;
  font-weight: 700;
}
input[type=text].is-error,
input[type=email].is-error,
select.is-error,
textarea.is-error {
  border: 1px solid #EE5D2A; /* 鮮やかな赤 */
  outline: none; /* デフォルトの青枠を消す */
}

textarea {
  resize: vertical;
  height: 11.25rem;
  padding: 1rem;
  border: 1px solid #ABACC9;
}
textarea:focus {
  border: 1px solid #1E2C82;
  outline: none;
}

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

input[type=checkbox]:checked + span::before {
  background-color: #EE5D2A;
  border-color: #EE5D2A;
}
input[type=checkbox]:checked + span::after {
  opacity: 1;
}

.p-contact__data-checkbox {
  display: flex;
  gap: 0.5rem 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.p-contact__data-checkbox span {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  -webkit-padding-start: 2.875rem;
          padding-inline-start: 2.875rem;
}
@media (min-width: 768px) {
  .p-contact__data-checkbox span {
    padding-left: 2.5rem;
  }
}
@media (min-width: 1440px) {
  .p-contact__data-checkbox span {
    padding-left: 2.875rem;
  }
}
.p-contact__data-checkbox span a {
  text-decoration: underline;
}
.p-contact__data-checkbox span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -35px;
  transform: translateY(-50%);
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid #ABACC9;
  border-radius: 4px;
  background-color: #FFFFFF;
}
@media (min-width: 768px) {
  .p-contact__data-checkbox span::before {
    top: 45%;
    transform: translateY(-48%);
  }
}
.p-contact__data-checkbox span::after {
  content: "";
  position: absolute;
  top: 0px;
  left: -19px;
  width: 0.5625rem;
  height: 1.25rem;
  rotate: 45deg;
  border-right: 1.5px solid #FFFFFF;
  border-bottom: 1.5px solid #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (min-width: 768px) {
  .p-contact__data-checkbox span::after {
    top: 0;
    left: -19px;
  }
}

input[type=checkbox].invalid + span::before {
  border-color: #EE5D2A;
}

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

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

.row.jc-center {
  justify-content: center;
}

input.invalid,
textarea.invalid,
checkbox.invalid {
  outline: none;
  border: 1px solid #EE5D2A;
}

input[type=checkbox].invalid + span::before {
  border: 1px solid #EE5D2A;
}

/*===============================================================================================
# 
===============================================================================================*/
@media (min-width: 768px) {
  .wp-block-contact-form-7-contact-form-selector {
    max-width: 50rem;
    width: 100%;
    margin-inline: auto;
  }
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.wpcf7-form-control-wrap {
  width: 100%;
}

.wpcf7-list-item::before {
  display: none;
}

.wpcf7-form-control.wpcf7-acceptance::before {
  display: none;
}

.wpcf7-form-control-wrap {
  -webkit-padding-before: 0;
          padding-block-start: 0;
}

.wpcf7-form-control-wrap::before {
  display: none;
}

.p-contact__data-checkbox span {
  padding-left: 0.625rem;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance {
  padding-left: 0;
}

/*===============================================================================================
# デフォルトのエラーメッセージ非表示
===============================================================================================*/
#emSubmit {
  font-weight: 700; /* 太字 */
  color: #EE5D2A; /* 赤系で強調したい場合 */ /* ボタンとの余白 */
}

.is-error {
  border: 1px solid #EE5D2A; /* 鮮やかな赤 */
  outline: none; /* デフォルトの青枠を消す */
}

/*===============================================================================================
# Xのパーツのスタイル
===============================================================================================*/
.wp-block-media-text {
  display: flex;
  justify-content: center;
  gap: 24px;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}

.wp-block-media-text__media {
  width: 40px;
}

.wp-block-media-text__content {
  padding: 0 !important;
}

.wpcf7-not-valid-tip {
  display: none;
}

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

.has-text-align-center {
  text-align: left;
}
@media (min-width: 500px) {
  .has-text-align-center {
    text-align: center;
  }
}

.wp-block-media-text__media img {
  transition: filter 0.4s ease;
}
.wp-block-media-text__media:hover img {
  filter: invert(52%) sepia(67%) saturate(3933%) hue-rotate(5deg) brightness(101%) contrast(97%);
}

.p-privacy {
  -webkit-margin-before: 5rem;
          margin-block-start: 5rem;
  padding-block: 3.875rem 5rem;
}

.p-privacy__contents {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-privacy__contents {
    width: min(1200px, 100%);
    padding-inline: 12.5rem;
    margin-inline: auto;
    -webkit-margin-before: 6rem;
            margin-block-start: 6rem;
  }
}

.p-privacy__lead {
  font-size: 1rem;
}

.p-privacy__items {
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .p-privacy__items {
    -webkit-margin-before: 2.5rem;
            margin-block-start: 2.5rem;
    gap: 2.5rem;
  }
}

.p-privacy__item-title {
  font-size: 1.25rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .p-privacy__item-title {
    font-size: 1.5rem;
  }
}

.p-privacy__item-box {
  -webkit-margin-before: 0.5rem;
          margin-block-start: 0.5rem;
}

.p-privacy__item-text {
  font-size: 1rem;
}

.p-contact__back {
  text-align: center;
  display: block;
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}

.p-contact__back-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #222;
  padding-bottom: 1rem;
  position: relative;
  -webkit-padding-start: 2rem;
          padding-inline-start: 2rem;
}

.p-contact__back-link::before {
  position: absolute;
  content: "";
  width: 13.3333px;
  height: 13.3333px;
  background: url(../img/arrow_back.webp) no-repeat center/contain;
  left: 0;
}

.p-thanks__wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.p-thanks {
  -webkit-margin-before: 5rem;
          margin-block-start: 5rem;
  padding-block: 6.6875rem 5rem;
}
@media (min-width: 768px) {
  .p-thanks {
    padding-block: 6.6875rem 10rem;
    flex-grow: 1;
  }
}

.p-thanks__contents {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-thanks__contents {
    width: min(1200px, 100%);
    padding-inline: 12.5rem;
    margin-inline: auto;
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

@media (min-width: 768px) {
  .p-thanks__lead {
    text-align: center;
  }
}

.p-thanks__note {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  -webkit-margin-before: 1.5rem;
          margin-block-start: 1.5rem;
}
@media (min-width: 768px) {
  .p-thanks__note {
    text-align: center;
  }
}

.p-thanks-top {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
  text-align: center;
}

.p-thanks-top__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #222;
  padding-bottom: 1rem;
  position: relative;
  -webkit-padding-start: 2rem;
          padding-inline-start: 2rem;
}

.p-thanks-top__link::before {
  position: absolute;
  content: "";
  width: 13.3333px;
  height: 13.3333px;
  background: url(../img/arrow_back.webp) no-repeat center/contain;
  left: 0;
}

.p-not-found__wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.p-not-found {
  -webkit-margin-before: 5rem;
          margin-block-start: 5rem;
  padding-block: 6.6875rem 5rem;
}
@media (min-width: 768px) {
  .p-not-found {
    padding-block: 6.6875rem 10rem;
    flex-grow: 1;
  }
}

.p-not-found__contents {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
}
@media (min-width: 768px) {
  .p-not-found__contents {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding-inline: 12.5rem;
    margin-inline: auto;
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}

.p-not-found__top {
  -webkit-margin-before: 2.5rem;
          margin-block-start: 2.5rem;
  text-align: center;
}

.p-not-found__top-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #222;
  padding-bottom: 1rem;
  position: relative;
  -webkit-padding-start: 2rem;
          padding-inline-start: 2rem;
}

.p-not-found__top-link::before {
  position: absolute;
  content: "";
  width: 13.3333px;
  height: 13.3333px;
  background: url(../img/arrow_back.webp) no-repeat center/contain;
  left: 0;
}