*,
*::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 {
	border: 0;
	font-size: 100%;
	font-weight: normal;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

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

ol,
ul {
	list-style: none;
}

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

button,
a {
  outline: none;
  -webkit-tap-highlight-color: transparent; /* iOS Safariのタップ時の枠線を透明にする */
}

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

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

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

/* ① スクロール禁止 */

body.drawer-open {
	overflow: hidden;
}

body {
	background-color: #ffffff;
	color: #1A1A1A;
	font-family: "Noto Sans japanese", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

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

a {
	color: inherit;
}

:root {
	--space-10: 8px;
}

:root {
	--space-12: 10px;
}

:root {
	--space-16: 12px;
}

:root {
	--space-20: 16px;
}

:root {
	--space-24: 20px;
}

:root {
	--space-30: 24px;
}

:root {
	--space-40: 30px;
}

:root {
	--space-60: 40px;
}

:root {
	--space-80: 60px;
}

:root {
	--space-100: 80px;
}

:root {
	--space-120: 100px;
}

:root {
	--space-140: 120px;
}

:root {
	--space-200: 180px;
}

:root {
	--space-300: 280px;
}

.l-header {
	background-color: #1A1A1A;
	box-shadow: 0 1px 15px 0 rgba(102, 102, 102, 0.16);
	font-size: 20px;
	height: 60px;
	line-height: 58px;
	margin: 0 auto;
	padding-block: 1px;
	position: sticky;
	top: 0;
	z-index: 55;
}

.l-header__inner {
	display: flex;
	justify-content: space-between;
	padding-inline: var(--space-24);
}

.l-header__right {
	display: none;
}

.l-inner {
	padding-inline: var(--space-30);
}

.l-footer__copyrights {
	padding-bottom: var(--space-10);
	padding-top: var(--space-10);
}

.l-main {
	background-color: #ffffff;
}

.l-top__service {
  background-color: #DCDCDC;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: var(--space-100) var(--space-40) var(--space-100);
}

.l-top-workFlow {
  position: relative;
  padding-block: var(--space-100); /* 上下の余白 */
}

.l-top-workFlow__inner {
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 var(--space-30);
}

.l-top-price {
	padding-top: var(--space-100);
}

.l-top-price__inner {
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 var(--space-30);
}

.l-top-faq {
	padding-top: var(--space-100);
}

.l-top-faq__inner {
	margin-inline: auto;
	max-width: 1000px;
	padding: 0 var(--space-30);
}

.l-fixed-bg {
  left: 50%;
  margin-left: -50vw;
  width: 100%;
  margin-top: var(--space-100);
  background-image: url("../img/bk-image03.webp");
  background-repeat: repeat;
  background-size: contain;
  background-attachment: fixed;
  position: relative;
}

.l-top-about {
	padding-bottom: var(--space-100);
	padding-top: var(--space-100);
}

.l-top-about__inner {
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 var(--space-30);
}

.l-cta {
	position: relative;
}

.l-cta-inner {
	padding: 0 !important;
}

.l-lower__works {
	background-color: #DCDCDC;
	padding-bottom: var(--space-100);
	padding-top: var(--space-100);
}

.l-lower__entry {
	background-color: #DCDCDC;
	padding-bottom: var(--space-100);
	padding-top: var(--space-100);
}

.l-lower-entry__inner {
	margin: 0 auto;
	max-width: 800px;
}

.l-lower__otherWorks {
	background-color: #ffffff;
	padding-bottom: var(--space-100);
	padding-top: var(--space-100);
}

.l-lower__contact {
	background-color: #DCDCDC;
	padding-bottom: var(--space-100);
	padding-top: var(--space-100);
}

.l-lower-contact__inner {
	margin: 0 auto;
	max-width: 800px;
	padding: 0 var(--space-30);
}

.c-button-drawer {
	height: 18px;
	position: relative;
	top: 20px;
	width: 30px;
}

.c-button-drawer.is-checked .c-button-drawer__bar:nth-child(1) {
	top: 50%;
	transform: translate(0, 0) rotate(25deg);
}

.c-button-drawer.is-checked .c-button-drawer__bar:nth-child(2) {
	display: none;
}

.c-button-drawer.is-checked .c-button-drawer__bar:nth-child(3) {
	top: 50%;
	transform: translate(0, 0) rotate(-25deg);
}

.c-button-drawer__bar {
	background-color: #ffffff;
	height: 1px;
	position: absolute;
	transition: transform 0.4s ease;
	width: 30px;
	z-index: 40;
}

.c-button-drawer__bar:nth-child(1) {
	left: 0;
	top: 0;
}

.c-button-drawer__bar:nth-child(2) {
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.c-button-drawer__bar:nth-child(3) {
	bottom: 0;
	left: 0;
}

.c-logo__link {
	color: #ffffff;
	display: block;
	font-family: "Playfair Display", serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	padding-block: 18px 8px;
	text-decoration: none;
	letter-spacing: 0.5px
}

.c-logo__link:hover {
	opacity: 0.8;
	transition: opacity 0.4s ease;
}

.c-page-top {
	align-items: center;
	background-color: #ffffff;
	border-radius: 50%;
	bottom: 100px;
	box-shadow: 0 1px 15px 0 rgba(102, 102, 102, 0.16);
	display: flex;
	height: 50px;
	justify-content: center;
	opacity: 0;
	overflow: hidden;
	position: fixed;
	right: 8px;
	width: 50px;
	z-index: 30;
}

.c-page-top.is-show {
	opacity: 1;
	visibility: visible;
}

.c-footer-btnWrap {
	align-items: center;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.c-footer-btn {
	align-items: center;
	background-color: #1A1A1A;
	color: #ffffff !important;
	cursor: pointer;
	display: flex;
	font-family: "Playfair Display", serif;
	font-size: clamp(1.75rem, 1.64rem + 0.45vw, 2rem);
	height: 100%;
	justify-content: center;
	overflow: hidden;
	padding-bottom: var(--space-40);
	padding-top: var(--space-40);
	position: relative;
	width: 50%;
}

.c-footer-btn:hover::before {
	transform: translateX(0);
}

.c-footer-btn:hover span {
	color: #1A1A1A;
}

.c-footer-btn span {
	position: relative;
	z-index: 2;
}

/* スライド用背景 */

.c-footer-btn::before {
	background-color: #ffffff;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transform: translateX(-100%); /* 初期位置：左に隠す */
	transition: transform 0.4s ease;
	width: 100%;
	z-index: 1;
}

.c-copyrights {
	background-color: #1A1A1A;
	display: flex;
	font-size: 11px;
	justify-content: center;
}

.c-copyrights__text {
	color: #ffffff;
}

.c-button--contact {
display: inline-block;
  background: linear-gradient(to bottom, #C0392B, #a32e22);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 0.7em 2.2em;
  border: none;
  border-radius: 9999px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), inset 0 -2px 4px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.c-button--contact:hover {
  background: linear-gradient(to top, #C0392B, #a32e22); /* ホバー時：下が明るく、押し込まれた印象に */
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3); /* 内側に影を入れて凹ませる */
  transform: translateY(1px); /* 少し沈む */
}

.c-button--works {
 display: inline-flex;
  align-items: center;
	padding:var(--space-10) var(--space-20) !important;
}

.c-button--text {
  letter-spacing: 0.1em;
  display: inline-block;
	align-items: center;
	height:30px;
	padding-top: 3px;
	}

.c-button--icon img {
	height: 30px;
	width: 30px;
}

.c-button {
  display: inline-block;
  background-color: #fff;
  color: #1A1A1A;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 0.6em 1.8em;
  border: 1px solid #C0392B;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* 通常時：下にしっかり影 */
  transition: all 0.2s ease;
  cursor: pointer;
}

.c-button:hover {
  transform: translateY(3px); /* 下に沈む動き */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* 影を浅くして押された印象に */
}

.c-button--submit {
	padding-inline: var(--space-40);
	width: 100%;
	margin: 0 auto;
}

.c-section-title {
	align-items: center;
	color: #1A1A1A;
	display: flex;
	font-family: "Playfair Display", serif;
	font-size: 28px;
	justify-content: center;
	overflow: hidden;
}

.c-section-title span {
	display: inline-block;
	transform: translate(0, 105%);
	transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.c-section-title span.-visible span {
	transform: translateY(0);
}

.c-section-title.-visible span {
	transform: translate(0, 0);
}

.c-section-title span:nth-child(2) {
	transition-delay: 0.06s;
}

.c-section-title span:nth-child(3) {
	transition-delay: 0.12s;
}

.c-section-title span:nth-child(4) {
	transition-delay: 0.18s;
}

.c-section-title span:nth-child(5) {
	transition-delay: 0.24s;
}

.c-section-title span:nth-child(6) {
	transition-delay: 0.3s;
}

.c-section-title span:nth-child(7) {
	transition-delay: 0.36s;
}

.c-section-title span:nth-child(8) {
	transition-delay: 0.42s;
}

.c-section-title span:nth-child(9) {
	transition-delay: 0.48s;
}

.c-section-title span:nth-child(10) {
	transition-delay: 0.54s;
}

.c-section-title span:nth-child(11) {
	transition-delay: 0.6s;
}

.c-section-title span:nth-child(12) {
	transition-delay: 0.66s;
}

.c-section-title span:nth-child(13) {
	transition-delay: 0.72s;
}

.c-section-title span:nth-child(14) {
	transition-delay: 0.78s;
}

.c-fixed-bg-section__inner {
	background-color: rgba(255, 255, 255, 0.2); /* 透過で“のぞき見”演出 */
	padding: var(--space-120) 0; /* セクションの高さ調整 */
	position: relative;
}

.c-attention {
	color: red;
	font-size: 16px;
}

.p-drawer__content {
	align-items: flex-start;
	background-color: #1A1A1A;
	display: flex;
	flex-direction: column;
	height: 80%;
	justify-content: start;
	overflow: visible !important;
	padding-block: var(--space-24);
	padding-inline: var(--space-30);
	position: fixed;
	right: 0;
	top: var(--space-80);
	transform: translateX(101%);
	transition: transform 0.3s linear;
	width: 50%;
	z-index: 50
}

.p-drawer__content.is-checked {
	transform: translateX(0);
}

.p-drawer-content__link--contact {
	background-color: transparent;
	border: 1px solid #ffffff;
	color: #ffffff; /* レイアウト＋装飾 */
	display: inline-block;
	overflow: hidden; /* はみ出しを隠す */
	padding-inline: var(--space-30);
	position: relative; /* ::before 絶対配置の拠点 */
	transition: color 0s; /* — 擬似要素：白いオーバーレイ — */ /* テキストを上に */ /* ホバー時 */
}

.p-drawer-content__link--contact::before {
	background-color: #ffffff;
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	z-index: 0;
}

.p-drawer-content__link--contact .p-drawer-content__text {
	display: inline-block;
	position: relative;
	transition: color 0.3s ease;
	z-index: 1;
}

.p-drawer-content__link--contact:hover {
	color: #1A1A1A !important;
}

.p-drawer-content__link--contact:hover::before {
	transform: translateX(0);
}

.p-drawer-content__scroll {
	flex: 1;
	/* padding-bottom: var(--space-40); */
	/* padding-top: var(--space-40); */
}

.p-drawer-content__menu {
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
}

.p-drawer-content__link {
	box-sizing: border-box; /* パディング込みで幅を制御 */
	display: block;
	padding-block: var(--space-12);
	padding-right: var(--space-60);
	text-decoration: none;
	width: 100%;
}

.p-drawer-content__link:hover .p-drawer-content__text {
	display: block;
	transform: scale(1.2);
}

.p-drawer-content__text {
	color: #ffffff;
	font-family: "Playfair Display", serif;
	font-size: 18px;
	transition: transform 0.3s ease-in-out;
}

.p-header__nav {
	color: #ffffff;
	font-family: "Playfair Display", serif;
	gap: var(--space-12);
}

.header-list {
	align-items: center;
	display: flex;
	font-size: 20px;
	gap: 30px;
}

.menu-item {
	font-size: 20px;
	display: block;
	line-height: 1.6;
	overflow: hidden;
	padding-block: 10px;
	position: relative;
	text-decoration: none;
	width: fit-content;
}
@media screen and (min-width: 1201px) {
	.menu-item a {
	font-size: 24px;
	}
}

.menu-item:not(:last-child)::after {
	background-color: #ffffff;
	bottom: 8px;
	content: "";
	cursor: pointer;
	height: 1px;
	left: 0;
	position: absolute;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform 0.4s;
	width: 100%;
}

.menu-item:hover::after {
	transform: scale(1, 1);
}

.menu-item {
	position: relative;
	z-index: 2;
}

.menu-item:last-child a:hover {
    color: #1A1A1A;
}

.menu-item:last-child a:hover::before {
	transform: translateX(0);
}

.menu-item:last-child a {
	position: relative;
  overflow: hidden;
	border: solid 1px #ffffff;
	color: #ffffff;
	padding-block: 6px;
	padding-inline: var(--space-10);
	transition: color 0.3s ease;
	z-index: 1; 
}

.menu-item:last-child a::before {
	background-color: #ffffff;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transform: translateX(-101%);
	transition: transform 0.3s ease;
	width: 100%;
	z-index: -1;
}

.menu-item:last-child a > * {
	position: relative;
}

.p-hero {
	overflow: hidden;
	position: relative;
}

.p-hero__inner { /* 上60%が黒、下40%が朱 */
	background: linear-gradient(to bottom, #1A1A1A 0%, #1A1A1A 60%, #C0392B 60%, #C0392B 100%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-inline: var(--space-30);
	margin: 0 auto;
}

.p-hero__title {
	color: #ffffff;
	font-family: "Playfair Display", serif;
	font-size: 56px;
	font-weight: bold;
	line-height: 1.4;
	position: relative;
	text-align: left;
	z-index: 1;
	letter-spacing: 0.05em;
}

.p-hero__text {
	color: #ffffff;
	position: relative;
	z-index: 1;
	font-family: "Zen Kaku Gothic New", sans-serif;
}

.p-hero__contact {
	display: flex;
	font-family: "Playfair Display", serif;
	font-size: 20px;
	letter-spacing: 0.1rem;
}

/* スライダー下面用の Works ボタン等を内包する要素 */

.p-hero__bottom {
	padding-bottom: var(--space-100);
	position: relative;
	z-index: 1;
}

.p-hero-slider {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
	margin: 0 auto;
	max-height: 80vh;
	/* height: 100svh; */
}


.p-hero-swiper {
	overflow: hidden;
	padding: var(--space-30) var(--space-30);
}

.swiper-slide {
	align-items: center;
	backface-visibility: hidden;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
	transform-style: preserve-3d;
	z-index: 1;
	cursor: pointer;
	 max-height: 60vh; /* 高さを制限（実験しながら調整） */
}

.swiper-slide.swiper-slide-active {
	z-index: 10;
}

.swiper-slide img {
	max-height: 100%;
  height: auto;
  width: 100%;
  object-fit: cover; /* coverの方が美しく切り抜ける */
  /* aspect-ratio: 4 / 3; */

}

.p-swiper-card__image {
	/* height: 100%; */
	overflow: hidden;
}

.p-swiper-card__image img {
	/* height: 100%; */
	-o-object-fit: contain;
	object-fit: contain;
		/* aspect-ratio: 4 / 3; */
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
	bottom: 0 !important;
	opacity: 0.3;
	pointer-events: none;
	position: absolute !important;
	top: 0 !important;
	/* height: 100% ; */
	width: 100%;
	/* aspect-ratio: 4 / 3; */
}

.p-hero-scrollbar {
	background: rgba(0, 0, 0, 0.1);
	height: 2px;
	left: 0;
	margin: 0 auto !important;
	position: absolute;
	right: 0;
	overflow: visible;
	width: clamp(12.5rem, 4.284rem + 33.71vw, 31.25rem) !important;
}

#js-hero-swiper__scrollbar {
	bottom: -5px;
	position: absolute;
}

.swiper-scrollbar-drag {
	background: #DCDCDC;
	height: 2px;
	transition: width 0.3s ease;
	width: calc(100% / var(--slide-count));
}

.p-hero__works {
	align-items: center;
	display: flex;
	font-family: "Playfair Display", serif;
	justify-content: center;
	padding-top: var(--space-60);
}

.p-service {
	background-color: #DCDCDC;
}

.p-service__inner {
	margin-inline: auto;
	max-width: 800px;
}

.p-service-titleWrap {
	margin-inline: auto;
	max-width: 800px;
}

.p-service__title {
	align-items: center;
	display: flex;
	height: 40px;
	justify-content: center;
}

.p-service__items {
	padding-top: var(--space-30);
}

.p-service-list {
	background-color: #ffffff;
	border: 1px solid #1A1A1A;
	border-radius: 8px;
	margin: 2.5em 0;
	padding: 1.0em 1.0em;
	text-align: center;
}

.p-service-list:first-child {
	margin-top: 0;
}

.p-service-list:last-child {
	margin-bottom: 0;
}

.p-service-list__image {
	text-align: center;
}

.p-service-list__image img {
	width: 70px;
}

.p-service-list__name {
	font-family: "Noto Sans japanese", sans-serif;
	font-size: 16px;
	padding-top: var(--space-16);
	text-align: center;
}

.p-service-list__text {
	padding-top: var(--space-16);
}

.p-top-workFlow {
	margin: 0 auto;
	max-width: 800px;
}

.p-workFlow-lists {
	padding-top: var(--space-24);
}

.p-workFlow-list {
	padding-top: var(--space-20);
}

.p-workFlow-list:first-child {
	padding-top: 0;
}

.p-workFlow-list__Wrap {
	align-items: baseline;
	display: flex;
	flex-direction: row;
}

.p-workFlow-list__number {
	font-family: "Playfair Display", serif;
	font-size: 40px;
}

.p-workFlow-list__name {
	font-size: 16px;
	padding-left: var(--space-20);
}

.p-price-titleWrap {
	margin-inline: auto;
	max-width: 800px;
}

.p-price-container {
	margin: 0 auto;
	margin-top: var(--space-40);
	max-width: 800px;
}

.p-price-table {
	background-color: #ffffff;
	border-collapse: collapse;
	margin: 0 auto;
	margin-top: var(--space-20);
	text-align: center;
	width: 100%;
}

.p-price-table th,
.p-price-table td {
	border: 1px solid #DCDCDC;
	font-size: 16px;
	padding: 10px 14px;
	text-align: left;
	vertical-align: middle;
}

.p-price-table th {
	background-color: #1A1A1A;
	color: #ffffff;
	text-align: center;
}

.p-price-table th th + th,
.p-price-table th td + td {
	border-left: 2px solid #ffffff;
}

.p-price-notes {
	margin-top: var(--space-30);

}

.p-price-notes li::before {
  content: "・";
  position: absolute;
  top: 0.1em;
  left: 0.2em;
}

.p-price-notes li {
	position: relative;
	padding-left: 1.2em; /* 左側のスペースを確保 */
	font-size: 16px;
}

.p-price-notes li + li {
	margin-top: var(--space-12);
}

.p-top-faq {
	margin: 0 auto;
	max-width: 800px;
}

.p-faq__boxes {
	padding-top: var(--space-40);
}

.p-faq-box {
	background-color: #ffffff;
	border: 1px solid #1A1A1A;
	border-radius: 8px;
	color: #1A1A1A;
	margin-top: var(--space-20);
	padding: var(--space-12);
}

.p-faq-box:first-child {
	margin-top: 0;
}

.p-faq-box__head {
	height: 40px;
	padding-right: 40px;
	position: relative;
	text-align: left;
	width: 100%;
}

.p-faq-box__head::after {
	background: url("../img/faq-down.webp") no-repeat center center / contain;
	content: "";
	height: 40px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	transition: transform 0.3s ease;
	width: 40px;
}

.p-faq-box__head .is-open {
	color: #1A1A1A;
}

.p-faq-box__head-icon,
.p-faq-box__a-icon {
	font-family: "Playfair Display", serif;
	font-size: 20px;
}

.p-faq-box__head-icon,
.p-faq-box__head-text {
	color: #1A1A1A;
}

.p-faq-box__body {
	display: none;
	padding-top: var(--space-20);
}

.p-faq-box.is-open .p-faq-box__head::after {
	transform: translateY(-50%) rotate(180deg);
}

.p-about__contents {
	padding-top: var(--space-30);
}

.p-about__contents > .p-about__intro + .p-about__intro {
	margin-top: var(--space-20);
}

.p-about-textWrapper {
	align-items: center;
	display: flex;
	flex-direction: row;
}

.p-about__textWrap > .p-about__intro + .p-about__intro {
	margin-top: var(--space-20);
}

.p-about__text:first-child {
	padding-top: var(--space-24);
}

.p-about__imageWrap {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	height: 100%;
	margin-left: var(--space-20);
}

.p-about__image {
	clip-path: circle(50% at 50% 50%);
	height: 100%;
	max-width: 60px;
	width: 100%;
}

.p-about-skillWrapper {
	align-items: center;
	border: 1px dotted #1A1A1A;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 auto;
	margin-top: var(--space-60);
	max-width: 800px;
	perspective: 800px;
}

.p-about__skillWrap {
	align-items: flex-start;
	display: flex;
	padding: var(--space-16);
	width: 240px;
}

.p-about__skillWrap:first-child {
	border-top: none;
	text-align: center;
}

.p-about__skillTitle {
	font-family: "Playfair Display", serif;
	font-size: 16px;
}

.p-about__skillTitle-ja {
	font-family: "Noto Sans japanese", sans-serif;
	font-size: 16px;
}

.p-about__skillTitle,
.p-about__skillTitle-ja {
	flex-shrink: 0; /* これ以上縮めない */
	margin: 0; /* リストとの余白 */
	text-align: center;
}

.p-about__skillList {
	display: inline-block;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}

.p-about__skillItem {
	font-family: "Playfair Display", serif;
}

.p-works-filter {
	padding-top: var(--space-60);
}

.p-works-title {
	display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: #C0392B;
}

.p-otherWorks-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}
.p-otherWorks-title span {
  margin-right: 0.05em !important;
}

.p-otherWorks-title span:last-child {
  margin-right: 0;
}

.p-works-filter__list {
	display: flex;
	font-size: 18px;
	gap: var(--space-20);
	justify-content: center;
	flex-wrap: wrap; 
}

.p-works-filter__item {
	position: relative;
	white-space: nowrap;
	cursor: pointer;
}

.p-works-filter__item::after {
	background-color: #C0392B;
	bottom: 3px;
	content: "";
	cursor: pointer;
	height: 2px;
	left: 0;
	position: absolute;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform 0.3s;
	width: 100%;
}

.p-works-filter__item:hover::after {
	transform: scale(1, 1);
}

.p-works-filter__item button {
	color: #1A1A1A;
}

.p-works-filter__link {
  display: inline-block;
  padding-bottom: 8px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
	font-size: 16px;
}

.p-lower-works__list {
	display: grid;
	gap: 0 var(--space-16);
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, 1fr);
}

.p-works__item {
	margin: 0 auto;
	max-width: 340px;
	padding-top: var(--space-80);
	text-align: center;
	width: 100%;
}

.p-works__link {
	display: block;
	text-decoration: none;
}

.p-works__thumb {
	overflow: hidden;
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3; /* 横:縦 = 4:3 の比率に固定 */
	position: relative;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.p-works__thumb img {
	display: block;
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.p-works__link:hover .p-works__thumb img {
	opacity: 0.8;
	transform: scale(1.05);
}

.p-works__meta {
	text-align: center;
}



.p-works__label--category {
	padding-left: var(--space-10);
}

.p-works__title {
	font-size: 16px;
	padding-top: var(--space-20);
	text-align: center;
}

.p-works__label {
	color: #1A1A1A;
	display: flex;
	margin: 0 auto;
	max-width: 360px;
	justify-content: center;
}

.p-works-category__box,
.p-works-tag__box {
	display: block;
	height: 30px;
	overflow: hidden;
	position: relative;
	text-align: center;
	white-space: nowrap;
	width: 80px;
}

.p-works-category__box::before,
.p-works-tag__box::before {
	background-color: #C0392B;
	content: "";
	height: 100%;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-101%);
	transition: transform 0.4s ease-in-out;
	width: 100%;
	z-index: 1;

}

.p-works-category__box:hover::before,
.p-works-tag__box:hover::before {
	transform: translateX(0);
}

.p-works-category__box .p-works-tag__box--text,
.p-works-tag__box .p-works-tag__box--text {
	color: #1A1A1A;
	transition: color 0.4s ease-in-out;
	font-size: 14px;
	left: 50%;
	opacity: 1;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	z-index: 2;
}

.p-works-category__box .p-works-tag__box--text:hover,
.p-works-tag__box .p-works-tag__box--text:hover {
	color: #DCDCDC;
}

.p-works__note {
	font-size: 18px;
	padding-top: var(--space-60);
	text-align: center;
}

.p-lower-entry-section__main {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	margin-top: var(--space-80);
	max-width: 1080px;
}

.p-lower-entry__thumbnail {
	flex: 2;
	margin: 0 auto;
	max-width: 400px;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.p-lower-entry__thumbnail a:hover img {
	opacity: 0.8;
	overflow: hidden;
	transform: scale(1.05);
}

.p-lower-entry__thumbnail img {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	display: block;
	height: auto;
	max-width: 400px;
	transform-origin: center; /* 中心を起点に拡大 */
	transition: transform 0.3s ease;
	width: 100%;
}

.p-lower-entry__title {
	color: #1A1A1A;
	font-size: 18px;
	margin-top: var(--space-12);
	text-align: center;
}

.p-lower-entry__subtitle {
	color: #1A1A1A;
	font-size: 14px;
	margin-top: 4px;
	text-align: center;
}

.p-lower-entry__subtitle:hover {
	border-bottom: solid 1px #1A1A1A;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.p-lower-entry__details {
	display: flex;
	flex: 1;
	justify-content: center;
	margin: 0 auto;
	max-width: 400px;
	padding-top: var(--space-40);
	text-align: center;
}

/* テーブル全体 */
.p-lower-entry__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* すべてのセルに共通の点線セル枠 */
.p-lower-entry__table th,
.p-lower-entry__table td {
  border: 1px solid #DCDCDC;
  padding: 8px;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: break-word;
	transition: opacity 0.2s ease;
}

.p-lower-entry__table th:first-child,
.p-lower-entry__table td:first-child {
  /* collapse された状態で border-right が上書きされ、
     隣接セルとの間にはこれだけが残る */
  border-right: 1px dotted #DCDCDC;
}

.p-lower-entry__table th:first-child { width: 30%; }
.p-lower-entry__table th:last-child  { width: 70%; }

.p-lower-entry__table thead {
	background-color: #1A1A1A;
	color: #ffffff;
	text-align: left;
	text-align: center;
}

.p-lower-entry__table tbody {
	background-color:  #ffffff;
}

.p-lower-entry__list {
	flex: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	vertical-align: center;
}

.p-lower-entry__list li {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 8px;
}

.p-lower-entry--link {
	display: inline-block;
	position: relative;
	text-decoration: underline;
	transition: opacity 0.3s ease;
}

.p-lower-entry--link:hover {
	opacity: 0.7;
}


.p-lower-entry--linkMark {
	width: 16px;
	height: auto;
}

.p-lower-entry__description {
	flex: 1;
}

.p-lower-entry__text {
	margin: 0 auto;
	max-width: 400px;
	padding-top: 40px;
}

.p-entry-title {
	color: #C0392B;
}

.p-entry-category__box,
.p-entry-tag__box {
	display: block;
	height: 30px;
	overflow: hidden;
	position: relative;
	text-align: center;
	white-space: nowrap;
	width: 85px;
	margin-top:var(--space-12);
}

.p-entry-category__box::before,
.p-entry-tag__box::before {
	background-color: #C0392B;
	content: "";
	height: 100%;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-101%);
	width: 100%;
	z-index: 1;
	transition: transform 0.4s ease-in-out;
}

.p-entry-category__box:hover::before,
.p-entry-tag__box:hover::before {
	 transform: translateX(0);
}

.p-entry-category__box .p-entry-tag__box--text,
.p-entry-tag__box .p-entry-tag__box--text {
	color: #1A1A1A;
	font-size: 14px;
	left: 50%;
	opacity: 1;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	z-index: 2;
	transition: color 0.4s ease-in-out;
	display: block;
}

.p-entry-category__box:hover .p-entry-tag__box--text,
.p-entry-tag__box:hover .p-entry-tag__box--text {
  color: #ffffff;
}

.p-cta {
  background-image: linear-gradient(0deg, rgba(140, 140, 140, 1), rgba(26, 26, 26, 1));
	height: 250px;
	left: 50%;
	padding-bottom: 50px;
	padding-top: 50px;
	text-align: center;
	transform: translateX(-50%);
	width: 100%;
}

.p-cta-text {
	color: #ffffff;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0.2rem;
	font-family: "Zen Old Mincho";
}

.p-cta-button {
	display: flex;
	font-family: "Playfair Display", serif;
	font-size: 20px;
	justify-content: center;
	letter-spacing: 0.1rem;
	margin: var(--space-60) auto var(--space-20);
	margin-inline: auto;
}

.p-contact-Wrap {
	padding-top: var(--space-60);
}

.p-lower-contact-form {
	padding-inline: var(--space-20);
	padding-top: var(--space-60);
}

.p-contact-items {
	display: flex;
	flex-direction: column;
}

.p-contact-item {
	display: flex;
	flex-direction: column;
}

.p-contact-items .p-contact-item:not(:first-child) {
	padding-top: var(--space-60);
}

.p-form-label {
	font-weight: 700;
}

.p-contact-item__input input.wpcf7-form-control {
  display: block;       /* 必要に応じて */
  width: 100%;
  height: 56px;         /* お好みの高さに */
  box-sizing: border-box;
}

.p-form-label__required,
.p-form-label__optional {
	border-radius: 4px;
	font-size: 12px;
	margin-left: var(--space-16);
	padding: 3px 6px;
}

.p-form-label__required {
	background-color: #C0392B;
	color: #ffffff;
}

.p-form-label__optional {
	border: solid 1px #1A1A1A;
	color: #1A1A1A;
}

.p-form-text,
.p-message-text {
	background-color: #ffffff;
	border: none;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 16px;
	margin-top: var(--space-12);
	padding-block: var(--space-12);
	padding-inline: var(--space-16);
	width: 100%;
}

.p-form-checkbox__input {
  margin-right: 0.5em;
  vertical-align: middle;
}

.p-form-checkbox__link {
  text-decoration: underline;
	display: flex;
	justify-content: center;
}

.p-form-text:focus,
.p-message-text:focus {
	outline: solid 1px #1A1A1A;
}

.p-form-text::-moz-placeholder,
.p-message-text::-moz-placeholder {
	color: #DCDCDC;
}

.p-form-text::placeholder,
.p-message-text::placeholder {
	color: #DCDCDC;
}

.p-message-text {
	height: var(--space-200);
	resize: vertical;
}

.p-button-submitWrap {
	display: flex;
	justify-content: center;
}

.error-message {
	color: #C0392B;
	font-size: 16px;
	margin-top: 3px;
}

.form-error-box {
	border: 2px solid #C0392B;
	color: #1A1A1A;
	font-size: 16px;
	line-height: 25.6px;
	margin-inline: 8px;
	margin-top: 32px;
	padding: 3.2px 16px;
	text-align: center;
}

/* チェックボックス全体のコンテナ */
.p-form-checkbox {
  display: flex;
  justify-content: center;
  align-items: center; /* 水平配置のためcenterに戻す */
  margin-top: 40px;
  position: relative;
}

/* Contact Form 7が生成するspan要素 */
.p-form-checkbox .wpcf7-form-control-wrap {
  position: relative;
  display: inline-flex;
  align-items: center; /* 水平配置のためcenterに変更 */
  gap: 12px; /* チェックボックスとテキストの間隔 */
}

/* デフォルトのチェックボックスを非表示 */
.p-form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin: 0;
  margin-right: 8px; /* テキストとの間隔 */
  vertical-align: middle; /* 水平配置のためmiddleに戻す */
}

/* チェックボックスのホバー状態 */
.p-form-checkbox input[type="checkbox"]:hover {
  border-color: #C0392B;
}

/* チェックボックスのフォーカス状態 */
.p-form-checkbox input[type="checkbox"]:focus {
  outline: none;
  border-color: #C0392B;
}

/* チェックされた状態のチェックボックス */
.p-form-checkbox input[type="checkbox"]:checked {
  background-color: #fff;
  border-color: #1A1A1A;
}

/* チェックマーク（疑似要素で画像を挿入） */
.p-form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: url(../img/check-icon.svg) no-repeat center center/contain;
  display: block;
}

/* ラベルテキストのスタイル */
.p-form-checkbox .wpcf7-list-item-label {
  font-size: 16px;
  color: #1A1A1A;
  cursor: pointer;
  line-height: 1.5;
  align-items: center; /* 水平配置のためcenterに変更 */
  gap: 0; /* gapは0にして、margin-rightで調整 */
  margin-top: 0;
}

/* プライバシーポリシーリンクのスタイル */
.p-form-checkbox__link {
  color: #1A1A1A;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.p-form-checkbox__link:hover {
  opacity: 0.7;
}

/* Contact Form 7のリスト要素の調整 */
.p-form-checkbox .wpcf7-list-item {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center; /* 水平配置のためcenterに変更 */
  gap: 0; /* gapは0にして、margin-rightで調整 */
}

.p-form-checkbox .wpcf7-list {
  margin: 0;
  padding: 0;
}

/* テキストが複数行の場合の調整 */
.p-form-checkbox .wpcf7-list-item-label span {
  display: block;
  line-height: 1.5;
}

/* style.css に追加 */

.p-form-checkbox {
  display: flex;
  flex-direction: column;   /* チェックボックスとメッセージを縦に */
  /* 左寄せ */
}

.p-form-checkbox .error-message {
  margin-top: 0.5em;        /* チェックボックスとの間隔 */
  margin-left: 1.5em;       /* チェックボックス位置に合わせて少し字下げ */
  color: #C0392B;
  font-size: 16px;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .p-form-checkbox {
    margin-top: 20px;
  }
  
  .p-form-checkbox .wpcf7-list-item-label {
    font-size: 16px;
  }
  
  .p-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 6px; /* スマホでの間隔調整 */
  }
  
  .p-form-checkbox input[type="checkbox"]:checked::after {
    width: 10px;
    height: 10px;
  }
}

/* エラー表示時のスタイル */
.p-form-checkbox .wpcf7-not-valid {
  border-color: #C0392B !important;
}

.p-form-checkbox .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  font-size: 16px;
  color: #C0392B;
  background-color: #fff;
  padding: 2px 5px;
  border-radius: 2px;
  white-space: nowrap;
}

.p-contact-thanks {
	margin: 0 auto;
	max-width: 800px;
}

.p-contact-thanks__wrap {
	padding-top: var(--space-60);
}

.p-contact-thanks__wrap > .p-contact-thanks__text + .p-contact-thanks__text {
	margin-top: var(--space-20);
}

.is-red {
	color: #C0392B;
}

.u-hidden-mini {
	display: none;
}

.u-hidden-sp {
	display: none;
}

.u-hidden-pc {
	display: block;
}

.u-button-margin {
	margin: var(--space-40) auto var(--space-40) ;
}

.pagination {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	padding-top: var(--space-60);
}

.pagination-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	background-color: white;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.pagination-item:hover {
	background-color: #f0f0f0;
	border-color: #bbb;
}

.pagination-item.active {
	background-color: #333;
	color: white;
	border-color: #333;
}

.pagination-item.active:hover {
	background-color: #333;
	border-color: #333;
}

.pagination-ellipsis {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #666;
	font-size: 14px;
	font-weight: bold;
}

.pagination-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	background-color: white;
	color: #666;
	text-decoration: none;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.pagination-arrow:hover {
	background-color: #f0f0f0;
	border-color: #bbb;
}

.pagination-arrow.disabled {
	color: #ccc;
	cursor: not-allowed;
	pointer-events: none;
}

.post-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: var(--space-60);
}

.post-navigation .back-to-archive {
  text-align: center;
}

.reCAPTCHA {
text-align: center;
font-family: "Playfair Display"
}

.grecaptcha-badge { 
	visibility: hidden; 
}


@media screen and (min-width: 375px) {

.p-hero__title {
	font-size: 40px;
	line-height: 1.6;
}

.p-hero__text {
	font-size: 16px;
}
.p-drawer__content {
padding-inline: var( --space-60);
}

.p-about__skillWrap {
	width: 280px;
}

}

@media screen and (min-width: 768px) {

.l-inner {
	margin: 0 auto;
	max-width: 1060px;
}

.l-top-workFlow__inner {
	padding: 0 var(--space-60);
}

.l-top-price__inner {
	padding: 0 var(--space-60);
}

.l-top-faq__inner {
	padding: 0 var(--space-60);
}

.l-top-about__inner {
	padding: 0 var(--space-60);
}

.l-lower-entry__inner {
	margin: 0 auto;
	max-width: 1200px !important;
}

.l-lower-contact-form {
	margin: 0 auto;
	max-width: 800px;
}

.c-logo__link {
	font-size: 20px;
}

.c-footer-btn {
	padding-block: var(--space-60);
}

.c-button--contact {
	font-size: 20px;
	margin-inline: auto;
	padding-block: var(--space-12);
	padding-inline: var(--space-40);
	border-radius: 50px;
}

.c-button--submit {
	width: 100%;
}

.c-section-title {
	font-size: 32px;
}

.p-drawer__content {
	font-size: 20px;
	padding-block: var(--space-40);
	padding-inline: var(--space-60);
	width: 30%;
}

.p-hero__inner {
	padding-inline: var(--space-60);
}

.p-hero__title {
	line-height: 1.4;
	padding-top: 0;
	max-width: 660px;
}

#js-hero-swiper__scrollbar {
	bottom: -55px;
}

.p-hero__works {
	padding-top: var(--space-120);
}

.p-service-lists {
	align-items: center;
	align-items: stretch;
	display: grid;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	justify-content: center;
}

.p-service-list {
	flex-direction: column;
	justify-content: space-between;
	margin: 1.0em 1.0em;
}

.p-service-list:first-child {
	margin: 1.0em 1.0em;
}

.p-service-list:last-child {
	margin: 1.0em 1.0em;
}

.p-service-list__name {
	font-size: 22px;
}

.p-workFlow-list__number {
	font-size: 60px;
}

.p-workFlow-list__name {
	font-size: 20px;
	padding-left: var(--space-40);
}

.p-cta-text {
	font-size: 20px;
}

.p-about-textWrapper {
	align-items: center;
	display: flex;
	padding-top: 0;
	max-width: 800px;
	margin: 0 auto;
}

.p-about__imageWrap {
	margin-left: 0;
	padding-top: 0;
}

.p-about__image {
	margin-left: var(--space-40);
	max-width: 150px;
	width: 100%;
}

.p-about-skillWrapper {
	align-items: stretch; /* 高さを揃える */
	flex-direction: row;
	gap: 0;
}

.p-about__skillWrap {
	align-items: center;
	border-left: 1px dotted #1A1A1A;
	border-top: none;
	flex: 1;
	flex-direction: column;
	flex-shrink: 0;
}

.p-about__skillWrap:first-child {
	border-left: none;
}

.p-about__skillTitle {
	font-size: 24px;
	text-align: center;
}

.p-about__skillTitle-ja {
	font-size: 24px;
}

.p-about__skillList {
	padding-top: var(--space-12);
}

.p-works-filter__list {
	gap:var(--space-40);
}

.p-works-filter__link {
	font-size: 18px;
}

.p-lower-works__list {
	display: grid;
	gap: 0 var(--space-30);
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
}

.p-works__label--category {
	padding-left: var(--space-20);
}

.p-works__item {
	max-width: 400px;
}

.p-works__note {
	padding-top: var(--space-80);
}

.p-lower-entry-section__main {
	align-items: center;
}

.p-lower-entry-Wrap {
	display: flex;
}

.p-lower-entry__details {
	padding-left: var(--space-40);
	padding-top: 0;
}

.p-lower-entry__text {
	max-width: 800px;
}

.p-contact-Wrap {
display: flex;
flex-direction: column;
margin: 0 auto;
max-width: 800px;
}

.p-lower-contact-form {
	padding-inline: 0;
}

.p-contact-item {
	align-items: center;
	flex: 1;
	flex-direction: row;
	padding: 0;
}

.p-contact-items {
	flex: 0 0 240px;
}

.p-form-label__required,
.p-form-label__optional {
	margin-left: var(--space-20);
}

.p-form-text,
.p-message-text {
	margin: 0;
}

.p-contact-item__input {
	flex-grow: 0;
	flex-shrink: 1;
	margin-left: auto;
	max-width: 500px;
	width: 100%;
}

.post-navigation {
gap: var(--space-30);
}

.u-hidden-sp {
	display: block;
}

.u-hidden-pc {
	display: none;
}

}

@media screen and (min-width: 1000px) {

:root {
	--space-10: 10px;
}

:root {
	--space-12: 12px;
}

:root {
	--space-16: 16px;
}

:root {
	--space-20: 20px;
}

:root {
	--space-24: 24px;
}

:root {
	--space-30: 30px;
}

:root {
	--space-40: 40px;
}

:root {
	--space-60: 60px;
}

:root {
	--space-80: 80px;
}

:root {
	--space-100: 100px;
}

:root {
	--space-120: 120px;
}

:root {
	--space-140: 140px;
}

:root {
	--space-200: 200px;
}

:root {
	--space-300: 300px;
}

.l-header__right {
	display: block;
}

.c-button-drawer {
	display: none;
}

.c-page-top {
	bottom: var(--space-30);
	height: var(--space-60);
	right: var(--space-30);
	width: var(--space-60);
}

.c-footer-btn {
	padding-block: var(--space-100);
}

.c-button {
	font-size: 20px;
}

.p-hero__inner {
	padding-inline: var(--space-60);
}

.p-hero__text {
	font-size: 24px;
}

.p-hero__contact  {
	padding-bottom: 0;
}

.p-service-list__text {
	padding-top: var(--space-24);
}

.p-works-filter__list {
	gap:var(--space-60);
}

.p-lower-entry__thumbnail {
	flex: 1.8;
}

.p-lower-entry__description {
	padding-top: 0;
}

.p-cta-button {
	margin: var(--space-40) auto var(--space-20);
}

.p-contact-item__input {
	max-width: 600px;
}
}

@media screen and (min-width: 1201px) {

.l-header {
	height: var(--space-80);
	padding-block: var(--space-10);
}

.l-inner {
	max-width: 1420px;
}

.c-logo__link {
	display: block;
	font-size: 30px;
	padding-block: 8px;
	text-align: center;
}

.header-list {
	gap: 24px;
}

.p-hero-wrap {
	max-width: 1360px;
	margin: 0 auto;
}

.p-hero__inner {
	padding-inline: var(--space-60);
}

.p-service-lists {
	grid-template-columns: repeat(2, minmax(300px, 1fr));
	justify-content: center;
	margin: 0 auto;
	padding: 2em 0;
	width: 1000px;
}

.p-top-about {
	margin: 0 auto;
	max-width: 800px;
}

.p-works-filter__list {
	gap:var(--space-80);
}

.p-works__label--category {
	padding-left: var(--space-40);
}

.p-works__item {
	max-width: 460px;
}

.p-lower-entry__description {
	display: flex;
	height: 370px;
}

.p-lower-entry__text {
	align-items: flex-start;
}

.p-cta-text {
	font-size: 24px;
}
}

@media (max-width: 450px) {

.u-hidden-mini {
	display: block;
}
}

@media screen and (max-width: 424px) {

.p-works-filter__list {
	font-size: 16px;
	display: flex;
	flex-wrap: wrap;
	gap:var(--space-10) var(--space-24);
	justify-content: center; /* 中央揃え */
}

.p-works-filter__item {
	display: inline-block; /* 中のボタンを横並びにする */
	flex: 0 0 auto; /* テキスト幅に沿って広がる */
}

.p-lower-works__list {
	display: flex;
	flex-direction: column;
	font-size: 16px;
}

.menu-item:last-child a {
	padding-inline: 6px;
}
}

@media screen and (max-width: 374px) {

.p-hero__title {
	font-size: 32px;
}

.p-hero__text {
	font-size: 13px;
	padding-top: var(--space-10);
}

.post-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 1.5em 0;
}
}

@keyframes p-about__skillWrap {

0% {
	opacity: 0;
	transform: rotateY(0) translateY(40px);
}

100% {
	opacity: 1;
	transform: rotateY(360deg) translateY(0);
}

}

@keyframes slideInOut {

0% {
	transform: translateX(-101%);
}

100% {
	transform: translateX(101%);
}

}

@keyframes slideInOut {

0% {
	transform: translateX(-101%);
}

100% {
	transform: translateX(101%);
}

}

.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background-color: #DCDCDC;
}

.page-404 .error-code {
  font-size: 6rem;
  font-weight: bold;
  color: #C0392B;
  margin: 0;
}

.page-404 .error-message {
  font-size: 1.5rem;
  color: #1A1A1A;
  margin: 20px 0 10px;
}

.page-404 .error-info {
  font-size: 1rem;
  color: #DCDCDC;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-404 .btn-home {
  display: inline-block;
  padding: 12px 24px;
  background-color: #C0392B;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.page-404 .btn-home:hover {
  opacity: 0.7;
}