@charset "UTF-8";

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box;   box-sizing: border-box; }

html { width:100%; height:100%; }
html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -o-text-size-adjust: 100%; text-size-adjust: 100%;}
body { line-height:1.0; margin:0; padding:0;  width:100%; height:100%; /*background-color:#968B7C; */ overflow-x:hidden; overflow-y:auto; }
body { font-family: mp,"游ゴシック","YuGothic", "Yu Gothic", "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic" !important; text-align: center; }

/* --------------------------------------------------------------------------
root
---------------------------------------------------------------------------- */
:root {
	--head_color:			#524C42;
	--back_color:			#706C65;
	--pop_color:			#D6C6A9;
	--tab_color:			#AEAEAE;
	--font_light_color:		#D7D7D7;
	--font_dark_color:		#7B6464;
	--font_tab_color:		#7B7B7B;
	--icon_red_color:		#CE6B6B;
	--icon_red_hover_color:	#C73333;
	--icon_blue_color:		#47ACD2;
	--icon_blue_hover_color:#4171C8;
	--btn_perple_color:		#9F58B1;
	--fukidashi_color:		#333333;
	/* アクセント調整 */
	--accent-gradient: linear-gradient(135deg, var(--icon_blue_color), var(--btn_perple_color));
}


/* --------------------------------------------------------------------------
Grobal
----------------------------------------------------------------------------*/

input:focus::-webkit-input-placeholder,isindex:focus::-webkit-input-placeholder,textarea:focus::-webkit-input-placeholder { color: transparent; }
input  { -webkit-appearance:none; }
select { -webkit-appearance: button; appearance: button;}

::-webkit-scrollbar 		{ width: 5px; }
::-webkit-scrollbar-track 	{ background: #000; box-shadow:0 0 5px #000 inset ; }
::-webkit-scrollbar-thumb 	{ background: #80715C; }

::-webkit-input-placeholder { color:#9B9D99; font-size:80%; font-family: mp; text-align:left; }
::-ms-input-placeholder 	{ color:#9B9D99; font-size:80%; font-family: mp; text-align:left; }
::-moz-placeholder 			{ color:#9B9D99; font-size:80%; font-family: mp; text-align:left; }

p { transform:rotate(0.05deg); }



/* --------------------------------------------------------------------------
BASE STYLES
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; cursor: none; /* カスタムカーソルのためデフォルトを消す */ }
html 	{ scroll-behavior: smooth; }
body 	{ font-family: 'Noto Sans JP', sans-serif; background-color: var(--head_color); color: var(--font_light_color); overflow-x: hidden; line-height: 1.8; }
a 		{ text-decoration: none; color: inherit; }
ul 		{ list-style: none; }
img 	{ max-width: 100%; height: auto; display: block; }

/* --------------------------------------------------------------------------
CUSTOM CURSOR マウスストーカー
---------------------------------------------------------------------------- */
.cursor-dot,
.cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; /* クリックを邪魔しないように */ }
.cursor-dot 	{ width: 8px; height: 8px; background-color: #fff; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid #fff; transition: width 0.2s, height 0.2s, background-color 0.2s; }

	/* リンクホバー時のカーソル変化 */
	body.hovering .cursor-outline { width: 60px; height: 60px; background-color: rgba(214, 198, 169, 0.2); border-color: transparent; }

	/* スマホなどタッチデバイスではカーソルを隠す */
	@media (hover: none) { .cursor-dot, .cursor-outline { display: none; }
		*, *::before, *::after { cursor: auto; }
	}

/* --------------------------------------------------------------------------
TYPOGRAPHY
---------------------------------------------------------------------------- */
.en-font 	{ font-family: 'Montserrat', sans-serif; }
h1, h2, h3 	{ font-family: 'Montserrat', sans-serif; font-weight: 700; }

/* --------------------------------------------------------------------------
LAYOUT & GRID
---------------------------------------------------------------------------- */
.container 	{ width: 88%; max-width: 1400px; margin: 0 auto; }
section 	{ padding: 120px 0; position: relative; }

/* HEADER */
.header 					{ position: fixed; top: 0; left: 0; width: 100%; padding: 30px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: linear-gradient(to bottom, rgba(82, 76, 66, 0.9), transparent); }
.logo 						{ font-size: 1.5rem; font-weight: 900; letter-spacing: 0.1em; color: var(--white); }
.nav-list 					{ display: flex; gap: 40px; }
.nav-item a 				{ font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; position: relative; color: var(--font_light_color); transition: color 0.3s; }
.nav-item a::after 			{ content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background-color: var(--pop_color); transition: width 0.3s ease; }
.nav-item a:hover 			{ color: var(--pop_color); }
.nav-item a:hover::after 	{ width: 100%; }

/* HERO SECTION */
.hero 				{ min-height: 100vh; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; overflow: hidden; padding-top: 80px; background: radial-gradient(circle at 80% 20%, var(--back_color), var(--head_color)); }
.hero-content 		{ padding-left: 8vw; z-index: 2; }
.hero-label 		{ display: inline-block; background-color: var(--fukidashi_color); color: var(--pop_color); padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; margin-bottom: 24px; font-weight: 700; }
.hero-title 		{ font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; margin-bottom: 30px; color: #fff; text-transform: uppercase; }
.hero-title span 	{ display: block; color: var(--pop_color); /* アクセント */ }
.hero-desc 			{ max-width: 550px; margin-bottom: 40px; font-size: 1rem; color: var(--tab_color); margin-left:15%; text-align: left; }
.hero-img-area 		{ position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }

/* 背景の大きな文字装飾 */
.bg-text 			{ position: absolute; font-size: 20vw; font-weight: 900; color: rgba(255, 255, 255, 0.03); z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }
.profile-img-wrap 	{ position: relative; width: 80%; max-width: 500px; z-index: 1; /* 浮遊アニメーション */ animation: float 6s ease-in-out infinite; }
.profile-img 		{ width: 100%; filter: drop-shadow(20px 20px 40px rgba(0,0,0,0.4)); }

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

/* ABOUT SECTION * オーバーラップデザイン */
.section-header 		{ margin-bottom: 80px; position: relative; }
.section-title 			{ font-size: 4rem; color: rgba(255, 255, 255, 0.05); position: absolute; top: -40px; left: 0; z-index: 0; line-height: 1; }
.section-subtitle 		{ font-size: 2.5rem; color: var(--white); position: relative; z-index: 1; padding-left: 20px; border-left: 5px solid var(--btn_perple_color); }
.about-grid 			{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text-box 		{ background-color: var(--fukidashi_color); padding: 40px; border-radius: 0 30px 0 30px; /* 特徴的な角丸 */ position: relative; }
.about-text-box::before { content: '"'; position: absolute; top: -20px; left: 20px; font-size: 100px; color: var(--pop_color); font-family: serif; line-height: 1; opacity: 0.3; }
.skills-list 			{ margin-top: 30px; display: flex; flex-wrap: wrap; gap: 15px; }
.skill-tag 				{ padding: 8px 20px; border: 1px solid var(--tab_color); border-radius: 50px; font-size: 0.85rem; color: var(--font_light_color); transition: all 0.3s; }
.skill-tag:hover  		{ border-color: var(--icon_blue_color); background-color: rgba(71, 172, 210, 0.1); color: var(--icon_blue_color); }

/* * WORKS SECTION * ブロークングリッド / Masonry風 */
.works-container 	{ display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px; grid-auto-rows: 250px; /* 行の高さ */ }
.work-item 			{ position: relative; border-radius: 12px; overflow: hidden; background-color: var(--back_color); transition: transform 0.4s ease; group: work-group; }

/* グリッド配置の指定 */
.work-item:nth-child(1) 		{ grid-column: 1 / 8; /* 左上：横長 */ grid-row: 1 / 2; }
.work-item:nth-child(2) 		{ grid-column: 8 / 13; /* 右上 */ grid-row: 1 / 3; /* 縦長 */ }
.work-item:nth-child(3) 		{ grid-column: 1 / 5; /* 左下 */ grid-row: 2 / 3; }
.work-item:nth-child(4) 		{ grid-column: 5 / 8; /* 中下 */ grid-row: 2 / 3; }
.work-img 						{ width: 100%; height: 100%; background-color: #444; /* 画像がない場合の背景 */ display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,0.1); transition: transform 0.5s ease; }
.work-item:hover .work-img 		{ transform: scale(1.1); }
.work-overlay 					{ position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); transform: translateY(100%); transition: transform 0.3s ease; }
.work-item:hover .work-overlay 	{ transform: translateY(0); }
.work-title 					{ color: var(--white); font-size: 1.2rem; margin-bottom: 5px; }
.work-title:hover 				{ color: var(--icon_blue_color); font-size: 1.2rem; margin-bottom: 5px; }
.work-cat 						{ color: var(--pop_color); font-size: 0.8rem; text-transform: uppercase; }

/* CONTACT SECTION * バイカラーデザイン */
.contact-section 	{ background-color: var(--pop_color); /* 背景を明るい色に反転 */ color: var(--head_color); /* 文字を濃い色に */ padding: 100px 0; margin-top: 100px; position: relative; z-index: 10; }
.contact-wrapper 	{ display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-text h2 	{ font-size: 3.5rem; line-height: 1.1; margin-bottom: 30px; color: var(--head_color); }
.contact-form 		{ background-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); padding: 40px; border-radius: 20px; box-shadow: 0 20px 50px rgba(82, 76, 66, 0.2); }
.form-row 			{ margin-bottom: 20px; }
.c-input 			{ width: 100%; padding: 15px; border: none; border-bottom: 2px solid var(--head_color); background: transparent; font-family: inherit; font-size: 1rem; color: var(--head_color); transition: 0.3s; text-align: left; }
.c-input:focus 		{ outline: none; border-bottom-color: var(--btn_perple_color); background: rgba(255, 255, 255, 0.3); }
.c-btn 				{ background-color: var(--head_color); color: var(--pop_color); border: none; padding: 15px 40px; font-size: 1.1rem; font-weight: 700; border-radius: 50px; cursor: none; /* カスタムカーソル用 */ transition: 0.3s; display: inline-block; margin-top: 10px; }
.c-btn:hover 		{ background-color: var(--btn_perple_color); color: #fff; transform: scale(1.05); }

/* --------------------------------------------------------------------------
FOOTER
---------------------------------------------------------------------------- */
footer { background-color: var(--head_color); color: var(--tab_color); text-align: center; padding: 20px 0; font-size: 0.8rem; }

/* reCAPTCHAのロゴを非表示 */
.grecaptcha-badge { visibility: hidden; }


/* --------------------------------------------------------------------------
MediaQuery
---------------------------------------------------------------------------- */
@media (max-width: 960px) {
	.hero 				{ grid-template-columns: 1fr; padding-top: 100px; text-align: center; }
	.hero-content 		{ padding-left: 0; padding: 0 20px; order: 2; }
	.hero-img-area 		{ height: 400px; order: 1; margin-bottom: 20px; }
	.profile-img-wrap 	{ width: 60%; }
	.about-grid 		{ grid-template-columns: 1fr; }
	.works-container 	{ display: flex; /* グリッド解除して縦積み */ flex-direction: column; gap: 20px; }
	.work-item 			{ height: 250px; /* 高さ固定 */ }
	.contact-wrapper 	{ grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
	.nav-list 			{ display: none; /* 簡易的非表示 */ }
	.hero-title 		{ font-size: 2.5rem; }
	.hero-desc 			{ width:90%; max-width: 450px;  margin-left:auto; margin-right:auto; }
}