/*
Theme Name: My Portfolio
Author: MASAYUKI SUZUKI
Description: 自作ポートフォリオのWordPressテーマです。
Version: 1.0
*/

@charset "utf-8";

/* * {
	outline: 1px solid red;
} */

:root {
	--rgb-blue: 2, 48, 89;
	/* #023059 */
	--rgb-red: 242, 48, 5;
	/* #F23005 */
	--rgb-orange: 242, 159, 5;
	/* #F29F05 */
	--rgb-gray: 228, 228, 228;
	/* #E4E4E4 */
	--rgb-white: 252, 251, 248;
	/* #fcfbf8 */
	--rgb-white-n: 255, 255, 255;
	/* #ffffff */
	--rgb-black: 33, 33, 33;
	/* #212121 */
	--rgb-black-n: 0, 0, 0;
	/* #000000 */

	--color-blue: rgb(var(--rgb-blue));
	--color-red: rgb(var(--rgb-red));
	--color-orange: rgb(var(--rgb-orange));
	--color-gray: rgb(var(--rgb-gray));
	--color-white: rgb(var(--rgb-white));
	--color-white-n: rgb(var(--rgb-white-n));
	--color-black: rgb(var(--rgb-black));

	/* === Spacing (余白はremかpx) === */
	/* --- (セクション同士の間隔、全体の余白、構造の距離感) --- */
	--spacing-xs: 0.25rem;
	/* 4px  - 微調整用 */
	--spacing-s: 0.5rem;
	/* 8px */
	--spacing-ms: 0.75rem;
	/* 12px */
	--spacing-m: 1.0rem;
	/* 16px - 基本 */
	--spacing-ml: 1.5rem;
	/* 24px - 少し広めの余白 */
	--spacing-l: 2.0rem;
	/* 32px - 大きな区切り */


	/* --- (ボタン内、装飾、文字との距離感) --- */
	--em-xxs: 0.125em;
	/* 2px相当 */
	--em-xs: 0.25em;
	/* 4px相当 */
	--em-s: 0.5em;
	/* 8px相当 */
	--em-m: 1em;
	/* 16px相当 */
	--em-l: 1.5em;
	/* 24px相当 */
	--em-xl: 2em;
	/* 32px相当 */
	--em-2xl: 2.5em;
	/* 40px相当 */
	--em-3xl: 4em;
	/* 64px相当 */


	/* === Font Sizes (16pxベースのrem) === */
	--size-12: 0.75rem;
	/* 12px (補足、注釈) */
	--size-14: 0.875rem;
	/* 14px (少し小さめの本文、フッター) */
	--size-16: 1rem;
	/* 16px (標準の本文：ベース) */
	--size-18: 1.125rem;
	/* 18px (メニュー、リード文) */
	--size-20: 1.25rem;
	/* 20px (小見出し、入力欄) */
	--size-22: 1.375rem;
	/* 22px */
	--size-24: 1.5rem;
	/* 24px (中見出し、ボタン) */
	--size-26: 1.625rem;
	/* 26px */
	--size-28: 1.75rem;
	/* 28px */
	--size-30: 1.875rem;
	/* 30px */
	--size-h1-m: 2rem;
	/* 32px (大見出し) */
	--size-h1-l: 2.125rem;
	/* 34px (特大見出し)*/
	--size-36: 2.25rem;
	/* 36px */


	--line-height-xl: 2.0;
	--line-height-l: 1.9;
	--line-height-m: 1.8;
	--line-height-ms: 1.7;
	--line-height-s: 1.6;
	--line-height-xs: 1.5;
	--line-height-xxs: 1.4;
	--line-height-3xs: 1.3;
	--line-height-4xs: 1.2;
	--line-height-5xs: 1.1;
	--line-height-6xs: 1.0;


	/* === Font Weights === */
	--weight-light: 300;
	/* 補足用 */
	--weight-normal: 400;
	/* 本文用：基本 */
	--weight-medium: 500;
	/* 視認性 */
	--weight-bold: 700;
	/* 見出し用 */
	--weight-black: 900;

	/* イージング（動きの質）を定義 */
	--transition-main: cubic-bezier(0.25, 0.46, 0.45, 0.94);

	--z-header: 1000;
	--z-menu: 2000;
	--z-toggle: 3000;
}

/* 基本レスポンシブ */
@media screen and (max-width: 1024px) {}

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

/* ========== 00.set ========== */
html {
	font-size: 100%;
	scroll-behavior: smooth;
	overscroll-behavior: none;
}

.l-body {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 1rem;
	line-height: var(--line-height-m);
	color: var(--color-blue);
	font-weight: var(--weight-normal);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

* {
	font-size: inherit;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

table {
	border-spacing: 0;
	border-collapse: collapse;
}

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

p {
	margin-bottom: 1.6em;
}

a {
	transition: all 0.3s ease;
}

a:hover {
	color: var(--color-red);
}

a,
input,
textarea,
button {
	-webkit-tap-highlight-color: transparent;
}

/* ========== 01.header ========== */
.l-header {
	height: 80px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	background-color: var(--color-blue);
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	padding: 0 var(--em-m);
	z-index: 999;
	box-shadow: 0 4px 20px rgba(var(--rgb-white-n), 0.3);
}

.l-header__title {
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
	display: flex;
	align-items: center;
}

.l-header .l-header__logo:hover {
	transform: translateY(-2px);
}

.l-header .l-header__logo:active {
	transform: translateY(1px) scale(0.94);
	transition: transform 0.1s ease-out;
	will-change: transform;
}

.l-header .l-header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.l-header .l-header__logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	width: 60px;
	background-color: var(--color-white);
	border-radius: 50%;
	overflow: hidden;
	position: relative;
}

.l-header .l-header__logo img {
	height: 80%;
	width: 80%;
	display: block;
	object-fit: contain;
}

.l-header__list {
	display: flex;
	justify-content: center;
	gap: var(--em-xl);
	list-style: none;
}

.l-header__list a {
	display: inline-block;
	transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), color 0.3s ease;
	will-change: transform;
	position: relative;
}

.l-header__list a:hover {
	color: var(--color-orange);
	transform: translateY(-2px);
}

.l-header__list a:active {
	transform: translateY(1px) scale(0.94);
	transition: transform 0.1s ease-out;
	will-change: transform;
}

.l-header__item a {
	color: var(--color-gray);
	font-family: "Lato", sans-serif;
	font-size: var(--size-16);
	font-weight: var(--weight-bold);
	text-decoration: none;
	padding: var(--em-s) var(--em-m);
}

.l-header .l-header__toggle {
	display: none;
}

.l-header__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	background-color: rgba(var(--rgb-black-n), 0.6);
	z-index: 900;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease;
	pointer-events: none;
	display: none;
}

.l-body.show-menu .l-header__overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.drawer-nav {
	position: fixed;
	right: -100%;
	transition: all 0.4s;
}

@media screen and (max-width: 1000px) {
	.l-header {
		grid-template-columns: 0 auto 1fr;
		height: 80px;
		padding-left: 10%;
		padding-right: 10%;
	}

	.l-header__list {
		display: flex;
		justify-content: center;
		align-items: center;
		list-style: none;
	}
}


@media screen and (max-width: 570px) {
	.l-header {
		display: grid;
		grid-template-columns: auto 1fr auto;
		height: 60px;
		align-items: center;
		z-index: 2001;
	}

	.l-header__inner-space {
		display: none !important;
	}

	.l-header .l-header__logo {
		grid-column: 1;
		height: 45px;
		width: auto;
		display: flex;
		align-items: center;
	}

	.l-header .l-header__logo a {
		height: 45px;
		width: 45px;
		background-color: var(--color-white);
		border-radius: 50%;
		overflow: hidden;
	}

	.l-header__list {
		background-color: var(--color-blue);
		position: fixed;
		top: 0;
		right: 0;
		width: 80%;
		height: 100dvh;
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: var(--em-xl);
		transform: translateX(100%);
		transition: transform 0.5s ease-in-out;
		padding: var(--em-3xl);
		will-change: transform;
	}

	.l-header__list a {
		color: var(--color-gray);
		font-size: var(--size-22);
		display: block;
		text-decoration: none;
		letter-spacing: 0.1em;
		padding: var(--em-s) var(--em-l);
	}

	.l-header__list a:active {
		color: var(--color-orange);
		transform: scale(0.95);
	}

	.l-header__list a:hover {
		color: var(--color-orange);
		transition: all 0.2s ease;
	}

	.l-body.show-menu .l-header__list {
		transform: translateX(0);
	}

	.l-header .l-header__toggle {
		grid-column: 3;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		width: 45px;
		height: 45px;
		cursor: pointer;
		position: relative;
		z-index: 3000;
	}

	.l-header .l-header__toggle>span {
		display: block;
		position: absolute;
		width: 40px;
		height: 3px;
		background-color: var(--color-white);
		transform-origin: center;
		transition: all 0.4s ease;
	}

	.l-header .l-header__toggle .line01 {
		top: 18%;
	}

	.l-header .l-header__toggle .line02 {
		top: 50%;
		transform: translateY(-50%);
	}

	.l-header .l-header__toggle .line03 {
		bottom: 18%;
	}


	.l-body.show-menu .l-header .l-header__toggle>span {
		background-color: var(--color-white);
	}

	.l-body.show-menu .l-header .l-header__toggle .line01 {
		transform: rotate(225deg);
		top: 50%;
		translate: 0 -50%;
	}

	.l-body.show-menu .l-header .l-header__toggle .line02 {
		opacity: 0;
	}

	.l-body.show-menu .l-header .l-header__toggle .line03 {
		transform: rotate(-225deg);
		bottom: 50%;
		translate: 0 50%;
	}

	.l-body.show-menu {
		overflow: hidden;
	}

	.l-header__overlay {
		display: block;
	}
}

/* ========== 02.footer ========== */
.l-footer {
	background-color: var(--color-blue);
	color: var(--color-white);
	padding: 60px 20px;
	text-align: center;
	font-family: "Lato", sans-serif;
}

.l-footer__inner {
	max-width: 1000px;
	margin: 0 auto;
}

.l-footer__list {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin-bottom: 20px;
}

.l-footer__list a {
	color: var(--color-white);
	text-decoration: none;
	font-size: var(--size-14);
	letter-spacing: 0.1em;
	transition: opacity 0.3s;
}

.l-footer__list a:hover {
	color: var(--color-orange);
	opacity: 0.6;
}

.l-footer__link--policy {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--size-12);
	height: 100%;
	margin: 0;
	letter-spacing: 0.05em;
	opacity: 0.7;
}

.l-footer__link--policy a {
	display: inline-block;
	line-height: var(--line-height-6xs);
}


/* ========== 03.common ========== */
.l-wrapper {
	background-color: var(--color-white);
	overflow-x: clip;
	width: 100%;
}

.p-key-visual {
	height: 100vh;
	background-image: url(images/common/key-visual-01.jpeg);
	background-image: url(images/common/key-visual-01.webp);
	background-position: center;
	background-size: cover;
	justify-content: center;
	align-items: center;
	display: flex;
	top: 0;
	position: -webkit-sticky;
	position: sticky;
}

.p-kv__contents {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.kv-video {
	position: absolute;
	top: 37%;
	left: 15%;
	width: 45vw;
	min-width: 350px;
	height: auto;
	z-index: 10;
}

.p-kv__scroll {
	position: absolute;
	bottom: 7%;
	left: 51%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 20;
	color: var(--color-white);
	font-size: 12px;
	letter-spacing: 0.1em;
}

.p-kv__scroll--side {
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 10px;
}

.p-kv__scroll-text {
	writing-mode: vertical-rl;
	color: var(--color-white);
	font-size: var(--size-12);
	height: 70px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
	text-shadow: 0 0 5px rgba(var(--rgb-black-n), 0.5);
}

.p-kv__scroll-line {
	width: 2px;
	height: 70px;
	background-color: rgba(var(--rgb-white-n), 0.3);
	position: relative;
	overflow: hidden;
}

.p-kv__scroll-line::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-white);
	animation: p-kv__scroll-line-anim 2s cubic-bezier(0.76, 0, 0.3, 1) infinite;
}

.l-scroll-area {
	display: block;
	width: 100%;
	background-color: var(--color-white);
	position: relative;
}

.l-container {
	padding: 150px clamp(2.5rem, 6vw, 6.25rem);
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.p-works {
	width: 85%;
	margin: 0 auto;
	position: relative;
}

.p-title-wrap {
	position: absolute;
	top: 100px;
	margin-bottom: 100px;
	left: 0;
	height: 100%;
	z-index: 10;
}

.c-section-title {
	font-family: "Lato", sans-serif;
	font-size: var(--size-24);
	font-weight: var(--weight-medium);
	color: var(--color-orange);
	writing-mode: vertical-rl;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	height: 100vh;
	gap: var(--em-l);
	line-height: 1em;
	position: sticky;
	position: -webkit-sticky;
}

.c-section-title::after,
.c-section-title::before {
	content: '';
	background-color: var(--color-orange);
	height: 100px;
	width: var(--em-xs);
}

.p-works__main {
	width: 100%;
	margin: 0 auto;
	padding: 50px;
}

.p-works__img {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	aspect-ratio: 1.618 / 1;
	overflow: hidden;
	border-radius: 15px;
	border: var(--em-xs) solid var(--color-white);
	box-sizing: border-box;
}

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

.p-works__item,
.p-works__item--sub {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	will-change: transform;
	background-color: var(--color-white-n);
	border: 1px solid var(--color-gray);
	box-shadow: 0 10px 25px rgba(var(--rgb-black-n), 0.08);
	border-radius: 12px;
	overflow: hidden;
	padding-bottom: 20px;
}

.p-works__item:hover,
.p-works__item--sub:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(var(--rgb-black-n), 0.1);
}

.p-works__item a:hover .p-works__name,
.p-works__item--sub a:hover .p-works__name {
	color: var(--color-orange);
	text-decoration: underline;
	text-decoration-color: var(--color-orange);
}

.p-works__img img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.p-works__item:hover,
.p-works__item--sub:hover {
	transform: scale(1.05);
	transition: transform 0.3s ease;
	will-change: transform;
}

.p-works__img {
	overflow: hidden;
}

.p-works__sub {
	width: 100%;
	max-width: 1400px;
	padding-top: 100px;
}

.p-works__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--em-xl);
	list-style: none;
}

.p-works__img--sub {
	width: 100%;
	overflow: hidden;
	border-radius: 10px;
	border: var(--em-xs) solid var(--color-white);
	box-sizing: border-box;
	aspect-ratio: 1.618 / 1;
}

.p-works__item--sub img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.p-works-text {
	padding: var(--em-s) 0;
}

.p-works__name {
	display: -webkit-box;
	font-family: "Lato", sans-serif;
	color: var(--color-blue);
	font-size: clamp(var(--size-18), 2.5vw, var(--size-24));
	margin: var(--size-20) auto var(--size-12);
	padding-left: 0;
	line-height: var(--line-height-3xs);
	max-width: 100%;
	inline-size: 100%;
	overflow-wrap: break-word;
	word-break: normal;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 2.6em;
}

.p-works__sub .p-works__name {
	text-align: left;
	padding-left: 10px;
}

.p-works__category {
	font-family: "Lato", sans-serif;
	font-size: clamp(var(--size-12), 0.5vw+ 0.6rem, var(--size-14));
	color: rgb(var(--rgb-blue), 0.5);
	letter-spacing: 0.05em;
	padding-left: 10px;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
}

@media screen and (max-width: 1024px) {
	.p-works {
		margin: 0 auto;
		position: relative;
	}

	.p-works__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 800px) {
	.kv-video {
		top: 20%;
		left: 15%;
		width: 50vw;
	}

	.p-works__img {
		aspect-ratio: 1.618 / 1;
	}

	.p-works__img--sub {
		aspect-ratio: 1.618 / 1;
	}
}

@media screen and (max-width: 560px) {
	.kv-video {
		top: 20%;
		left: 50%;
		transform: translateX(-50%);
		width: 80vw;
		padding: 1em;
		height: auto;
	}

	.p-key-visual {
		background-position: right 25% center;
	}

	.p-works {
		margin: 0 auto;
		position: relative;
	}

	.p-title-wrap {
		position: sticky;
		margin-left: -30px;
		margin-right: -30px;
		height: auto;
	}

	.c-section-title {
		font-size: var(--size-22);
		writing-mode: horizontal-tb;
		height: auto;
		gap: 20px;
		box-shadow: 0 4px 20px rgba(var(--rgb-white-n), 0.3);
	}

	.c-section-title::after,
	.c-section-title::before {
		height: 5px;
		width: 100px;
	}

	.p-works__main {
		padding: 10px 0px 50px 0px;
	}

	.p-works__name-sp {
		display: block;
	}

	.p-works__list {
		grid-template-columns: 1fr;
	}

	.p-kv__scroll {
		left: 88%;
	}
}

@media (hover: none) {

	.p-works__item:active,
	.p-works__item--sub:active {
		transform: translateY(2px);
		box-shadow: none;
		transition: transform 0.1s;
		will-change: transform;
	}

	.p-works__item:active .p-works__name,
	.p-works__item--sub:active .p-works__name {
		color: var(--color-orange);
	}
}

@keyframes p-kv__scroll-line-anim {
	0% {
		transform: scaleY(0);
		transform-origin: top;
	}

	50% {
		transform: scaleY(1);
		transform-origin: top;
	}

	50.1% {
		transform: scaleY(1);
		transform-origin: bottom;
	}

	100% {
		transform: scaleY(0);
		transform-origin: bottom;
	}
}


/* ========== 04.about ========== */
.p-about {
	max-width: 1500px;
	width: 85%;
	margin: 0 auto;
	position: relative;
	padding-left: 3vw;
	padding-right: 3vw;
}

.p-about__main {
	width: 100%;
	margin: 0 auto;
	padding: 50px;
}

.p-about__profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 50px;
	margin-bottom: 100px;
	width: 100%;
}

.p-about__profile .p-about__profile-img {
	width: 350px;
	height: 350px;
	border-radius: 50%;
	border: 2px solid var(--color-blue);
	box-shadow: 0 4px 15px rgba(var(--rgb-black-n), 0.1);
	margin: 0 auto var(--padding-ml);
	overflow: hidden;
	position: relative;
}

#js-profile-slider {
	width: 100%;
	height: 100%;
}

.p-about__profile-body {
	width: 100%;
	margin: 0 auto;
}

.p-about__profile-name {
	font-family: "M PLUS 1", sans-serif;
	color: var(--color-blue);
	margin-bottom: var(--em-3xl);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--spacing-ms);
}

.p-about__profile-name-ja,
.p-about__profile-name-en {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	width: fit-content;
}

.p-about__profile-name-ja span:first-child,
.p-about__profile-name-en span:first-child {
	text-align: right;
}

.p-about__profile-name-ja span:last-child,
.p-about__profile-name-en span:last-child {
	text-align: left;
}

.p-about__profile-name-ja {
	font-size: clamp(2.4rem, 1vw, 3.2rem);
	letter-spacing: 0.1em;
}

.p-about__profile-name-en {
	font-size: var(--size-18);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	opacity: 0.9;
}

.p-about__profile-text {
	max-width: 800px;
	font-family: "Lato", sans-serif;
	font-size: clamp(var(--size-14), 1rem + 0.5vw, var(--size-18));
	line-height: var(--line-height-xl);
	text-align: justify;
	margin: 0 auto;
}

.p-about__thought {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	width: 100%;
	max-width: 1200px;
	margin: 40px auto;
	gap: 20px;
}

.p-about__thought-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--color-blue);
	color: var(--color-white);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	box-sizing: border-box;
	width: 100%;
	max-width: 375px;
	margin: 0 auto;
	overflow: hidden;
	padding: 10%;
	box-shadow: 8px 8px 0 rgba(var(--rgb-orange), 0.7);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	will-change: transform;
}

.p-about__thought-item:hover {
	transform: translate(-5px, -5px);
	box-shadow: 15px 15px 0 var(--color-orange);
}

.p-about__thought-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.p-about__thought-title {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: "Lato", sans-serif;
	font-size: clamp(1rem, 1vw, 1.25rem);
	font-weight: var(--weight-bold);
	line-height: var(--line-height-xxs);
	height: 3em;
	width: 85%;
	margin-bottom: 0.5rem;
	position: relative;
}

.p-about__thought-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 1px;
	background-color: var(--color-white);
	z-index: 1;
}

.p-about__thought-text {
	font-family: "Lato", sans-serif;
	font-size: clamp(0.75rem, 1vw, 1rem);
	line-height: var(--line-height-s);
	width: 85%;
	text-align: justify;
	text-justify: inter-ideograph;
	padding: 0.5rem 0.5rem;
}

/* 大画面モニター対策 */
@media screen and (min-width: 1281px) {
	.p-about__thought-title {
		font-size: var(--size-20);
	}

	.p-about__thought-text {
		line-height: var(--line-height-xs);
		font-size: 1rem;
	}
}

@media screen and (max-width: 1280px) {
	.p-about__thought-title {
		font-size: clamp(1rem, 1.5vw, 1.25rem);
		margin-bottom: 0;
	}

	.p-about__thought-text {
		font-size: clamp(0.875rem, 1.2vw, 1rem);
	}
}

@media screen and (max-width: 1130px) {
	.p-about__thought-item {
		padding: 15% 3% 0;
	}

	.p-about__thought-title {
		height: auto;
		margin-bottom: 5px;
		padding-bottom: 5px;
		font-size: 0.95rem;
	}

	.p-about__thought-text {
		margin: 0.675rem auto;
		font-size: 0.875rem;
		line-height: var(--line-height-xxs);
		padding: 0;
	}
}

@media screen and (max-width: 1024px) {
	.p-about__thought {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}

	.p-about__thought-item {
		aspect-ratio: auto;
		width: 85%;
		max-width: 500px;
		border-radius: 20px;
		padding: 30px 20px;
		box-shadow: 8px 8px 0 rgba(var(--rgb-orange), 0.7);
		position: relative;
		overflow: visible;
	}

	.p-about__thought-title {
		width: 100%;
		font-size: 1.1rem;
		margin-bottom: 15px;
	}

	.p-about__thought-text {
		width: 100%;
		font-size: 1rem;
		line-height: var(--line-height-s);
		text-align: left;
	}
}

@media screen and (max-width: 560px) {
	.p-about {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.p-about__main {
		padding: 20px;
	}

	.p-about__profile .p-about__profile-img {
		width: 250px;
		height: 250px;
		margin-bottom: 20px;
	}

	.p-about__profile-name-ja {
		font-size: var(--size-28);
		letter-spacing: 0.1em;
	}

	.p-about__thought {
		gap: 30px;
	}

	.p-about__thought-item {
		width: 100%;
		padding: 25px 20px;
		box-shadow: 4px 4px 0 rgba(var(--rgb-orange), 0.7);
	}

	.p-about__thought-title {
		font-size: var(--size-16);
		height: auto;
		margin-bottom: 10px;
	}

	.p-about__thought-text {
		font-size: var(--size-14);
		line-height: var(--line-height-xs);
	}
}

@media screen and (max-width: 460px) {
	.p-about__main {
		padding: 5px;
	}

	.p-about__profile-name-ja,
	.p-about__profile-name-en {
		gap: 1.5rem;
	}

	.p-about__profile-name-en {
		letter-spacing: 0.1em;
	}
}


/* ========== 05.contact ========== */
.p-contact {
	width: 85%;
	margin: 0 auto;
	position: relative;
}

.p-contact__main {
	width: 100%;
	margin: 0 auto;
	padding: 50px;
}

.p-contact__sub {
	width: 100%;
	max-width: 1400px;
	padding: 20px;
}

.p-contact__lead-ae-unit {
	width: 100%;
	max-width: 600px;
	margin: 0 auto var(--size-30);
	min-height: 300px;
	display: flex;
	justify-content: center;
	align-items: center;
	object-fit: cover;
	height: 250px;
}


.p-contact__lead-message {
	text-align: center;
	margin-bottom: 40px;
}

.p-contact__lead-text {
	font-family: "Lato", sans-serif;
	color: var(--color-blue);
	font-size: var(--size-large);
	font-weight: var(--weight-bold);
}

.p-contact__lead-line {
	display: inline;
}

.p-contact__form {
	display: grid;
	gap: 50px;
}

.p-contact__form-item {
	display: grid;
	gap: 10px;
}

.p-contact__form-item label {
	font-size: var(--size-large);
	font-weight: var(--weight-bold);
	color: var(--color-blue);
	padding-left: 10px;
}

.p-contact__form-item input,
.p-contact__form-item textarea {
	width: 100%;
	background-color: var(--color-blue);
	color: var(--color-white);
	border: 6px solid var(--color-white-n);
	border-radius: 26px;
	border-width: 6px;
	padding: var(--size-20) var(--size-24);
	font-size: var(--size-20);
	box-sizing: border-box;
	outline: none;
	box-shadow: inset 0 0 1.4px 0.4px rgba(var(--rgb-white-n), 0.9);
}

.p-contact__form-item input:focus,
.p-contact__form-item textarea:focus {
	background-color: var(--color-blue);
	box-shadow: 0 0 0 6px rgba(var(--rgb-orange), 0.6);
	transform: scale(1.01);
}

.p-contact__form-btn-unit {
	display: flex;
	justify-content: center;
}

.form-button-container {
	align-items: center;
	text-align: center;
}

.p-contact__form-btn {
	background-color: var(--color-blue);
	color: var(--color-white);
	padding: 12px 60px;
	border-radius: 50px;
	border: none;
	font-size: var(--size-large);
	cursor: pointer;
	display: inline-block;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	top: 0;
}

.p-contact__form-btn:hover {
	opacity: 1;
	background-color: var(--color-orange);
	color: var(--color-blue);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(var(--rgb-black-n), 0.2);
}

.p-contact__form-btn:active {
	transform: translateY(2px);
	box-shadow: 0 2px 4px rgba(var(--rgb-black-n), 0.1);
	filter: brightness(0.9);
}

.p-contact__form-policy {
	margin-top: 15px;
	text-align: center;
}

.p-contact__form-policy p {
	font-size: var(--size-14);
	color: var(--color-black);
	letter-spacing: 0.05em;
}

.p-contact__form-policy a {
	color: var(--color-blue);
	text-decoration: underline;
	font-weight: var(--weight-bold);
}

.p-contact__form-policy a:hover {
	color: var(--color-orange);
	text-decoration: none;
}

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

	.p-contact__lead-line,
	.p-contact__form-btn-text {
		display: block;
	}
}

@media screen and (max-width: 560px) {
	.p-contact__main {
		padding: 50px 0;
	}

	.p-contact__form {
		gap: 30px;
	}

	.p-contact__form-item label {
		font-size: 1.1rem;
		padding-left: 5px;
	}

	.p-contact__form-item input,
	.p-contact__form-item textarea {
		padding: 15px 18px;
		font-size: 16px;
		border-width: 4px;
	}

	.p-contact__form-btn {
		width: 90%;
		padding: 10px 15px;
		font-size: var(--size-16);
	}

	.p-contact__form-policy p {
		font-size: var(--size-12);
	}

	.p-contact__form-policy-text-main {
		display: block;
	}
}


/* ========== 06.detail ========== */
.p-detail {
	width: 85%;
	margin: 0 auto;
	position: relative;
}

.p-detail__visuals {
	display: flex;
	align-items: flex-end;
	gap: 3%;
	margin-bottom: var(--spacing-l);
}

.p-detail__visual-item--pc {
	flex: 1.618;
	width: 100%;
}

.p-detail__visual-item--pc img {
	width: 100%;
	object-fit: cover;
}

.p-detail__visual-item--sp {
	flex: 0.5;
	max-width: 200px;
}

.p-detail__visual-item--sp img {
	width: 100%;
	object-fit: cover;
}

.p-detail__visuals.is-single-layout {
	display: block;
	text-align: center;
}

.p-detail__visuals.is-single-layout .p-detail__visual-item--pc {
	flex: none;
	max-width: 800px;
	margin: 0 auto;
}

.p-detail__visuals.is-single-layout .p-detail__visual-item--pc img {
	object-fit: contain;
}

.p-detail__visuals.is-single-layout .p-detail__visual-item--sp {
	display: none;
}

.p-detail__info-list {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid var(--color-black);
}

.p-detail__info-list dt {
	width: 30%;
	padding: var(--spacing-m) 0;
	border-bottom: 1px solid var(--color-black);
	font-weight: var(--weight-bold);
}

.p-detail__info-list dd {
	width: 70%;
	padding: 15px 0;
	border-bottom: 1px solid var(--color-black);
	margin-left: 0;
}

.p-detail__info-list dt:last-of-type,
.p-detail__info-list dd:last-of-type {
	border-bottom: none;
}

.p-detail__gallery {
	margin-bottom: 60px;
}

.p-detail__gallery-header {
	margin-top: 30px;
	margin-bottom: 15px;
}

.p-detail__gallery-subtitle {
	margin-bottom: 5px !important;
}

.c-btn-pdf {
	display: inline-flex;
	align-items: center;
	font-size: var(--size-14);
	color: #555 !important;
	text-decoration: none;
	transition: 0.3s;
	position: relative;
	padding-left: 18px;
}

.c-btn-pdf::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,3.5L18.5,9H13V3.5M6,20V4H12V10H18V20H6M15.1,13.8L16.5,15.2L11.7,20L7.5,15.8L8.9,14.4L11.7,17.2L15.1,13.8Z"/></svg>');
	mask-repeat: no-repeat;
	mask-size: contain;
}

.c-btn-pdf:hover {
	color: var(--color-orange) !important;
	text-decoration: underline;
	transform: translateX(3px);
}

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

.p-detail__gallery-subtitle {
	padding: var(--spacing-m) 0;
	font-size: 1.1rem;
	font-weight: var(--weight-bold);
	color: var(--color-blue);
	border-top: 1px solid var(--color-black);
}

.p-detail__gallery-group--timeline ul {
	max-height: 450px;
	overflow-y: auto;
}

.p-detail__gallery-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 10px;
	padding: 0;
	margin-bottom: var(--spacing-l);
}

.p-detail__gallery-list li {
	width: calc((100% - (10px * 4)) / 5);
	aspect-ratio: 1 / 1.414;
	background-color: var(--rgb-white-n);
	border: 1px solid var(--color-gray);
	box-shadow: 0 2px 8px rgba(var(--rgb-black-n), 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.p-detail__gallery-list img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.p-detail__gallery-list--device {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	list-style: none;
	padding: 0;
}

.p-detail__gallery-list--device li {
	background-color: var(--color-white);
	border: 1px solid var(--color-gray);
	box-shadow: 0 4px 20px rgba(var(--rgb-black-n), 0.08);
	height: auto;
	aspect-ratio: auto;
	overflow: visible;
}

.p-detail__gallery-list--device .--pc-view {
	flex: 3;
	align-items: flex-start;
	background-color: var(--rgb-white-n);
	border: 1px solid var(--color-gray);
	box-shadow: 0 4px 20px rgba(var(--rgb-black-n), 0.08);
}

.p-detail__gallery-list--device .--sp-view {
	flex: 1;
	align-items: flex-start;
	max-width: 280px;
	background-color: var(--color-white-n);
	border: 1px solid var(--color-gray);
	box-shadow: 0 4px 20px rgba(var(--rgb-black-n), 0.08);
}

.p-detail__gallery-list--device img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.p-detail__back-nav {
	text-align: center;
	margin-top: 80px;
	margin-bottom: 120px;
}

.p-detail__back-nav .p-contact__form-btn {
	display: inline-block;
	text-decoration: none;
	max-width: 280px;
	width: 100%;
	line-height: 54px;
	font-weight: var(--weight-bold);
}

#works {
	scroll-margin-top: 100px;
}

@media screen and (max-width: 890px) {
	.p-detail__gallery-list--device {
		flex-direction: column;
		align-items: center;
		gap: 50px;
	}

	.p-detail__gallery-list--device .--pc-view,
	.p-detail__gallery-list--device .--sp-view {
		width: 100%;
		max-width: 100%;
		flex: none;
	}

	.p-detail__gallery-list--device .--sp-view {
		max-width: 400px;
	}
}

@media screen and (max-width: 1024px) {
	.p-detail__gallery-list li {
		width: calc((100% - (10px * 3)) / 4);
	}
}

@media screen and (max-width: 890px) {
	.p-detail__gallery-list li {
		width: calc((100% - (10px * 2)) / 3);
	}

	.p-detail__gallery-list--device {
		flex-direction: column;
		align-items: center;
		gap: 50px;
	}

	.p-detail__gallery-list--device .--pc-view,
	.p-detail__gallery-list--device .--sp-view {
		width: 100%;
		max-width: 100%;
		flex: none;
	}

	.p-detail__gallery-list--device .--sp-view {
		max-width: 400px;
	}
}

@media screen and (max-width: 640px) {
	.p-detail__visuals {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}

	.p-detail__visual-item--pc {
		width: 100%;
		max-width: 400px;
		height: auto;
	}

	.p-detail__visual-item--sp {
		width: 100%;
		max-width: 200px;
		height: auto;
	}

	.p-detail__gallery-list li {
		width: calc((100% - (10px * 1)) / 2);
	}

	.p-detail__gallery-list--device .--pc-view {
		width: 100%;
		max-width: 400px;
		height: auto;
	}

	.p-detail__gallery-list--device .--sp-view {
		width: 100%;
		max-width: 250px;
		height: auto;
	}
}

@media screen and (max-width: 560px) {
	.p-detail__visuals {
		flex-direction: column;
		align-items: center;
	}

	.p-detail__info-list {
		display: block;
		border: none;
	}

	.p-detail__info-list dt,
	.p-detail__info-list dd {
		display: block;
		width: 100%;
		padding: 10px 0;
	}

	.p-detail__info-list dt {
		border: none;
		color: var(--color-orange);
	}

	.p-detail__gallery-list li {
		width: 100%;
		overflow-y: auto;
		box-shadow: inset 0 0 10px rgba(var(--rgb-black-n), 0.1);
		margin-bottom: 20px;
	}

	.p-detail__back-nav {
		margin-top: 50px;
		margin-bottom: 80px;
	}
}

@media screen and (max-width: 460px) {
	.p-detail {
		padding: 1em;
	}

	.p-contact {
		padding: 150px 0;
	}

	.p-contact__main {
		padding: 0;
	}

	.p-works__sub {
		padding: 0;
	}

	.p-detail__visual-item--sp {
		max-width: 200px;
	}

	.p-detail__gallery-subtitle {
		color: var(--color-orange);
	}

	.p-detail__info-desc--sp {
		display: block;
	}
}

/* ========== 06-1.PC / SP ========== */
.p-detail__gallery-group--timeline ul {
	max-height: 450px;
	overflow-y: auto;
	box-shadow: inset 0 0 10px rgba(var(--rgb-black-n), 0.1);
}

.p-detail__gallery-list--device li {
	max-height: 400px;
	overflow-y: auto;
	box-shadow: inset 0 0 10px rgba(var(--rgb-black-n), 0.1);
}

/* ========== 06-2.SLIDES ========== */
.p-detail__gallery-group--slides .p-detail__gallery-list {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-bottom: var(--spacing-l);
	gap: 20px 10px !important;
	max-height: none;
	overflow-y: visible;
	box-shadow: none;
}

.p-detail__gallery-group--slides .p-detail__gallery-list p {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 20px 10px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.p-detail__gallery-group--slides .p-detail__gallery-list p img {
	display: block !important;
	width: calc((100% - 20px) / 3) !important;
	height: auto !important;
	aspect-ratio: 4 / 3 !important;
	object-fit: contain !important;
	border: 1px solid var(--color-gray);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	background: #fff;
	margin: 0 !important;
}

@media screen and (max-width: 890px) {
	.p-detail__gallery-group--slides .p-detail__gallery-list p img {
		width: calc((100% - 10px) / 2) !important;
	}
}

@media screen and (max-width: 560px) {
	.p-detail__gallery-group--slides .p-detail__gallery-list p img {
		width: 100% !important;
		aspect-ratio: auto;
		margin-bottom: 10px;
	}

	.p-detail__gallery-group--slides .p-detail__gallery-list>p {
		gap: 0 !important;
	}
}


/* ========== 06-3.LOGO / BANNER ========== */
.p-detail__gallery-group--flexible .p-detail__gallery-item {
	aspect-ratio: auto !important;
	width: calc((100% - 10px) / 4);
}

@media screen and (max-width: 560px) {
	.p-detail__gallery-group--flexible .p-detail__gallery-item {
		aspect-ratio: auto !important;
		width: calc((100% - 10px) / 2);
	}
}

/* ========== 07.BLOG ========== */
.p-blog {
	width: 85%;
	min-height: 100vh;
	margin: 0 auto;
	position: relative;
}

.p-blog-single__title {
	font-size: clamp(var(--size-18), 1rem + 2vw, var(--size-24));
	line-height: 1.4;
	margin-bottom: var(--em-l);
}

.p-blog__list-wrap .p-works__name {
	text-align: left;
	padding-left: var(--em-s);
}

.p-blog__date {
	font-size: var(--size-14);
	color: var(--color-black);
	padding-left: 10px;
	display: block;
}

.p-blog .p-works__img--sub {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.p-blog .p-works__img--sub img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-blog-single {
	max-width: 800px;
	margin: 0 auto;
}

.p-blog-single__img {
	margin: 30px 0;
	width: 100%;
	text-align: center;
}

.p-blog-single__img img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	max-height: 500px;
	object-fit: contain;
}

.p-blog-single__content {
	line-height: 1.8;
	margin-top: 40px;
}

.p-blog-single__content p {
	font-size: clamp(var(--size-16), 0.95rem + 0.5vw, var(--size-18));
	line-height: 1.8;
	margin-bottom: var(--em-m);
}

/* ========== 08.PRIVACY-POLICY ========== */
.policy-container {
	max-width: 800px;
	margin: 100px auto;
	padding: 0 60px;
	line-height: 1.8;
	color: #333;
}

.policy-container h1 {
	font-size: 2rem;
	margin-bottom: 40px;
	text-align: center;
	color: #002D57;
}

.p-policy-back {
	text-align: center;
	margin-top: 50px;
}

.p-policy-back__link {
	color: #002D57;
	opacity: 1;
	transition: all 0.3s ease;
}

.p-policy-back__link:hover {
	opacity: 0.7;
	color: var(--color-orange);
	text-decoration: none;
}

@media screen and (max-width: 460px) {
	.policy-container h1 {
		font-size: 1.4rem;
	}
}

.policy-container h2 {
	font-size: 1.25rem;
	margin: 30px 0 15px;
	border-left: 4px solid #002D57;
	padding-left: 15px;
}

.policy-container p {
	margin-bottom: 20px;
}


.wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 10px !important;
	font-size: 14px;
	border: 2px solid #00254d !important;
	border-radius: 5px;
	text-align: center;
}

.wpcf7-spinner {
	display: block;
	margin: 10px auto;
}
