@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/*!
* この部分は消さないでください。
* 利用規約を遵守することを条件にご利用ください。
*
* Temp name (NOX-black)
* Template by Luca (https://as.lclla.com/)
*
* Date: 2025-09
*/
:root {
	--bg: url(背景画像のURL) repeat 0 0/400px;
	--font: #D3B998;
	/*文字色*/
	--point: #696758;
	/*ポイント*/
	--point_2: #859493;
	/*リンク*/
	--point_3: #8D614D;
	/*見出し2*/
    --body-font-size: clamp(1rem, 1.5vw, 1.3rem);
    --h1-font-size: clamp(2rem, 3.5vw, 4rem);
    --h2-font-size: clamp(1.4rem, 2.2vw, 2rem);
    --h3-font-size: clamp(1.1rem, 1.8vw, 1.6rem);
}

* {
	margin: 0;
	padding: 0;
	font-weight: 400;
	font-size: inherit;
	font-style: normal;
	word-break: break-word;
	box-sizing: border-box;
}

*:focus {
	outline: none;
}

ul,
ol {
	list-style: none;
}

html {
	font-size: 62.5%;
	scrollbar-width: thin;
	scrollbar-color: var(--point) transparent;
}

html, body {
	height: 100vh;
	overflow-x: clip;
}

::-webkit-scrollbar {
	width: 0.6rem;
}

::-webkit-scrollbar-track {
	background-color: transparent;
	border: none;
}

::-webkit-scrollbar-thumb {
	background: var(--point);
}

body {
	font: var(--body-font-size) / 1.8 "Noto Serif JP", serif;
	color: var(--font);
	-webkit-text-size-adjust: 100%;
	background: #24261A;
	/*iphoneノッチ対策*/
	text-size-adjust: 100%;
	letter-spacing: .1em;
}

body::before, body::after {
	content: "";
	position: fixed;
	height: 100vh;
	width: 100%;

}

body::before {
	left: 0;
	top: 0;
	background: var(--bg);
	z-index: -2;
}

body::after {
	height: 50%;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 30%;
	aspect-ratio: 1;
	background-size: auto auto;
	background-color: transparent;
	background-image: repeating-linear-gradient(90deg, transparent, transparent 9px, var(--point) 9px, var(--point) 10px);
	clip-path: polygon(0 0, 0% 100%, 100% 100%);
	opacity: .5;
	z-index: -1;
}

a {
	color: var(--point_2);
	text-underline-offset: 4px;
	text-decoration-thickness: 0.5px;
}

b, .bold {
	font-weight: bold;
}

:where(img) {
	max-width: 100%;
	vertical-align: bottom;
}

.new {
	font-size: .75em;
	color: #C48A56;
	margin-inline: 7px;
	padding-inline: 2px;
}

h1 {
	text-align: center;
	font-size: var(--h1-font-size);
	color: var(--point);
	text-shadow: 0 0 1px black;
	line-height: 2;
	position: relative;
	display: flex;
	flex-direction: column-reverse;
}

h1::before {
	content: "";
	display: block;
	width: 100vw;
	margin-left: calc(0% - 50vw + 4%);
	border-bottom: 1px solid var(--point);
	z-index: -1;
}

h1::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: calc(50% + 8%);
	height: 100%;
	background-image: repeating-linear-gradient(90deg, transparent, transparent 9px, var(--point) 9px, var(--point) 10px);
	clip-path: polygon(0 0, 100% 0%, 100% 100%, 20% 100%);
	opacity: .5;
	z-index: -1;
}

h2 {
	position: relative;
	font-size: var(--h2-font-size);
	padding-top: 10px;
}


h2::before, h2::after {
	content: "";
	position: absolute;
}

h2::before {
	width: calc(100% + 30px);
	bottom: 0;
	left: -30px;
	border-bottom: 1px solid var(--point);
}

h2::after {
	bottom: -8px;
	left: -30px;
	width: 100%;
	height: 5px;
	background: radial-gradient(circle farthest-side, var(--point), var(--point) 40%, transparent 40%, transparent);
	background-size: 5px 5px;
	display: inline-block;
	opacity: .7;
}

h2::first-letter {
	color: var(--point_3);
}

h3 {
	position: relative;
	display: table;
	margin: 0 0 10px -30px;
	padding-inline: 30px 10px;
	border-bottom: 1px solid var(--point);
}

h3::after {
	content: "";
	position: absolute;
	width: 16px;
	aspect-ratio: 3/2;
	bottom: calc(0% - 6px);
	left: calc(100% + 11px);
	background: var(--font);
	clip-path: polygon(100% 50%, 50% 100%, 0% 50%, 50% 0%, 100% 50%, calc(50% - 0px) calc(0% - -1px), calc(0% - -1px) calc(50% - 0px), calc(50% - 0px) calc(100% - 1px), calc(100% - 1px) calc(50% - 0px), calc(50% - 0px) calc(0% - -1px));
	mix-blend-mode: difference;
	transform: translate3d(0, 0, 0);
}

h3::before {
	content: "";
	position: absolute;
	aspect-ratio: 3 / 2;
	background: var(--point);
	width: 20px;
	bottom: calc(0% - 7px);
	left: calc(100% - 1px);
	clip-path: polygon(100% 50%, 50% 100%, 0% 50%, 50% 0%);
}

h4 {
	display: table;
	line-height: 1.3;
	background: linear-gradient(rgba(0, 0, 0, 0) 50%, #dfdfdf4a 0%);
}


.wrap {
	position: relative;
	height: 100%;
	width: calc(100% - 8%);
	left: 4%;
}

header {
	width: 40%;
	height: 90%;
	position: fixed;
	float: left;
	top: 5%;
	-webkit-mask-image:
		linear-gradient(135deg, black 0%, black 83%, transparent 83%, transparent 85%, black 85%, black 88%, transparent 88%, transparent 90%, black 90%, black 100%);
	-webkit-mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-image:
		linear-gradient(135deg, black 0%, black 83%, transparent 83%, transparent 85%, black 85%, black 88%, transparent 88%, transparent 90%, black 90%, black 100%);
	mask-size: 100% 100%;
	mask-repeat: no-repeat;
	-webkit-mask-composite: source-over;
	mask-composite: add;
	overflow: hidden;
}

header>img {
	display: none;
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

header>img.active {
	display: block;
}

.head_txt {
	text-align: center;
	position: absolute;
	width: calc(100% - 30px);
	height: calc(100% - 30px);
	top: 15px;
	left: 15px;
	right: 15px;
	line-height: 0;

}

.head_txt::before {
	content: "";
	box-sizing: border-box;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	border: 10px solid #9d9d9d;
	border-top: 0;
	mix-blend-mode: color-dodge;
	z-index: 1;
}

.head_txt span {
	color: #fff;
	line-height: .5;
	text-shadow: 0 0 3px #000;
	display: flex;
	align-items: center;
}

.head_txt span::before, .head_txt span::after {
	content: "";
	position: relative;
	flex-grow: 1;
	height: 10px;
	background: #9d9d9d;
	mix-blend-mode: color-dodge;
}

.head_txt span::before {
	left: 10px;
	margin-right: 20px;
	-webkit-mask-image: linear-gradient(90deg, #9d9d9d 60%, rgba(0, 0, 0, 0.7) 85%, rgba(0, 0, 0, 0));
	mask-image: linear-gradient(90deg, #9d9d9d 60%, rgba(0, 0, 0, 0.7) 85%, rgba(0, 0, 0, 0));
}

.head_txt span::after {
	right: 10px;
	margin-left: 20px;
	-webkit-mask-image: linear-gradient(-90deg, #9d9d9d 60%, rgba(0, 0, 0, 0.7) 85%, rgba(0, 0, 0, 0));
	mask-image: linear-gradient(-90deg, #9d9d9d 60%, rgba(0, 0, 0, 0.7) 85%, rgba(0, 0, 0, 0));
}

header img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

nav ul {
	display: flex;
	justify-content: center;
	gap: 0 25px;
}

nav ul a {
	font-size: calc(var(--body-font-size) + .2em);
	text-decoration: none;
	color: currentColor;
}

nav a.current {
	font-weight: bold;
	position: relative;
}

nav a.current::before {
	content: "";
	position: absolute;
	border-radius: 5px;
	bottom: -5px;
	transform: translateY(-50%);
	width: 100%;
	height: 3px;
	background: var(--point);
}

main {
	float: right;
	width: 52%;
}

section {
	position: relative;
	padding-left: 30px;
	border-left: 1px solid var(--point);
}

section:first-of-type {
	padding-top: 40px;
}

section:last-of-type {
	padding-bottom: 50px;
}

section:first-of-type::before {
	left: 0;
	top: 0;
	width: 60px;
	height: auto;
	aspect-ratio: 1;
	clip-path: polygon(0 0, 0% 100%, 100% 0);
	background: var(--point);
}

section::before, section::after {
	content: "";
	position: absolute;
	height: 100%;
}

section::after {
	content: attr(data-txt);
	font-size: calc(var(--h1-font-size) + 0.5em);
	color: var(--point);
	right: 10px;
	bottom: 80px;
	width: max-content;
	height: 0;
	mix-blend-mode: overlay;
	z-index: -1;
}

.inner {
	padding-block: 25px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

.tab_buttons {
	font-family: inherit;
	position: absolute;
	writing-mode: vertical-lr;
	margin-left: -60px;
	display: flex;
	border: 1px solid var(--point);
	border-right: 0;
}

.tab_buttons button {
	font-family: inherit;
	color: inherit;
	white-space: nowrap;
	padding: 10px 2px;
	letter-spacing: 1px;
	background: none;
	border: none;
	cursor: pointer;
	transition: all .3s;
}

.tab_buttons button:not(:last-child) {
	border-bottom: 1px solid var(--point);
}

.tab_buttons button.active {
	color: #000;
	background: var(--point);
}

.tab_contents .contents {
	display: none;
	min-height: 200px;
	margin-top: 18px;
	animation: slideIn .6s;

}

.tab_contents .contents.active {
	display: flex;
	flex-direction: column;
	gap: 15px 0;
}

:is(.contents.active) h4 {
	width: fit-content;
}

dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 7px 25px;
	margin-bottom: 5px;
}

dl dt {
	font-weight: 600;
	background: radial-gradient(circle farthest-side, var(--point), var(--point) 40%, transparent 40% 40%, transparent);
	background-size: 5px 5px;
	background-position: bottom left;
	background-repeat: repeat-x;
	height: fit-content;
	padding-bottom: 2px;
}

dl dd {
	padding-bottom: 2px;
}

@keyframes slideIn {
	0% {
		opacity: 0;
		transform: translateY(-5px);
	}

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

.prof div *+* {
	margin: 5px 0;
}

.prof img {
	position: relative;
	display: block;
	object-fit: cover;
	width: 80px;
	aspect-ratio: 3 / 4;
	border-radius: inherit;
	margin: 0 20px 5px 0;
	float: left;
}

.prof div {
	display: block;
}

.img_container {
	display: flex;
	flex-direction: column;
	gap: 40px 0;
	padding-top: 10px;
}

.img_container li {
	display: flex;
	align-items: start;
	gap: 0 30px;
	position: relative;
}

.img_container p {
	width: 100%;
}

.img_title {
	font-size: var(--body-font-size);
	color: var(--point_2);
	margin-bottom: 10px;
	display: table;
}

.img_container p {
	font-size: .8em;
}

.img_container p>span:not(.new), .list_flex span:not(.new), .list_block span:not(.new) {
	display: inline-block;
	line-height: 1.2;
	margin: 5px 4px 5px 0;
	padding: 3px;
	background: #ffffff8a;
	color: #000;
}

.img_container img {
	position: relative;
	display: block;
	width: 100px;
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 0 4px black;
	object-fit: cover;
	max-width: initial;
}

.img_wrap {
	position: relative;
	width: 100px;
	aspect-ratio: 1;
}

.img_wrap::before {
	content: "";
	position: absolute;
	width: 85%;
	height: 85%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	border: 1.3px solid #CFA96F;
	opacity: .6;
}

.list_image li {
	display: inline-block;
	padding: 0 4px 10px 0;
}

.list_image .list {
	padding: 15px 0 15px 1em;
	list-style: disc;
}

.list, .list li>ul {
	padding-left: 1.1em;
	list-style: disc;
	display: flex;
	flex-direction: column;
	row-gap: 5px;
}

.list li::marker {
	color: var(--point);
}

.list li:hover::marker {
	color: #ffffff6c;
}

.list li>ul {
	list-style: circle;
}

.list li>ul li::marker {
	color: var(--point);
}


.list_flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.list_flex>li {
	width: calc((100% - 40px) / 3);
}

.list_flex a, .list_inline a, .list_block a, .img_title {
	display: inline-block;
	text-decoration: none;
}

.list_flex a:hover, .list_inline a:hover, .list_block a:hover, .img_title:hover {
	animation: spin 0.8s forwards;
}

.list_inline li {
	display: inline-block;
}

.list_inline li:not(:last-child):after {
	content: "|";
	opacity: .5;
	padding: 0 3px 0 8px;
	position: relative;
	top: -1px;
}

.list_block p {
	padding: 4px 0 4px 10px;
	margin-left: 12px;
	border-left: 1px solid #ffffff59;
}


@keyframes spin {
	0% {
		transform: rotateX(0deg);
	}

	50% {
		opacity: .5;
	}

	100% {
		transform: rotateX(360deg);
	}
}



.list_flex p, .list_block p {
	font-size: .8em;
}

form {
	width: 100%;
	text-align: center;
}

input[type], textarea {
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border-radius: 0;
	padding: 5px;
	margin-bottom: 15px;
	border: 1px solid var(--point);
	background: inherit;
}

input[type] {
	width: 120px;
}

input[type="submit"], input[type="reset"] {
	width: 80px;
	padding: 2px 5px;
	color: #000;
	cursor: pointer;
	box-shadow: inset 0 100px 0 0 var(--point);
	transition: color .5s, box-shadow .5s ease;
}

.mail {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 10px;
	width: 100%;
}

.mail input[type], .mail textarea, .mail .mark {
	width: min(500px, 100%);
	margin-bottom: 0;
}

.mail textarea {
	height: 100px;
}

.mail .mark {
	margin: 0 auto;
	text-align: left;
	position: relative;
}

.mail .mark::before {
	content: "◈";
	opacity: .7;
	display: inline-block;
	vertical-align: top;
	padding-right: 3px;
	color: var(--point);
}

:is(input, textarea)::placeholder {
	color: var(--font);
	opacity: .5;
}

:is(input, textarea):focus::placeholder {
	color: transparent;
	transition: 0.4s;
}

:is(input[type="submit"], input[type="reset"]):hover {
	color: var(--point);
	box-shadow: inset 0 0 0 0 var(--point);
}

input[readonly] {
	cursor: pointer;
	width: 200px;
	background: transparent;
	border: 1px solid var(--point);
	padding: 2px;
	border-radius: 0;
	margin-bottom: 0;
}

input[readonly]:focus {
	background: transparent;
}

input::selection,
input::-webkit-selection {
	background: var(--point);
	color: #fff;
}

#scrollTopBtn {
	position: fixed;
	color: var(--point);
	width: 25px;
	height: 25px;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 3;
	bottom: 20px;
	right: 10px;
	padding: 1rem;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity .5s ease-in-out;
}

#scrollTopBtn.visible {
	opacity: 1;
	pointer-events: auto;
}

#scrollTopBtn::after, #scrollTopBtn::before {
	content: "";
	color: var(--point);
	opacity: .7;
	position: absolute;
	vertical-align: middle;
	transform: rotate(315deg);
	border-top: 1px solid;
	border-right: 1px solid;
}

#scrollTopBtn::before {
	bottom: 5px;
	left: 7px;
	top: 4px;
	width: 8px;
	height: 8px;
}

#scrollTopBtn::after {
	bottom: 0;
	margin: auto;
	left: 7px;
	top: 4px;
	width: 8px;
	height: 8px;
}

.footer {
	font-size: .9em;
	margin: 0 auto;
	padding-block: 25px 15px;
	text-align: center;
}

.footer a {
	padding-inline: 7px;
}

.page main {
	float: none;
	width: min(750px, 100%);
	margin: 0 auto;
}

.page>section {
	width: min(700px, 100%);
	margin: 0 auto;
	padding: 15px 20px;
	border: 0;
}

.page h1 {
	margin-inline: calc(0% - 50vw);
}

.page h1::before {
	display: block;
	width: initial;
}

.page::after, .page h1::after {
	display: none;
}

:is(.page main)>section {
	width: min(700px, 100%);
}

:is(.page)>section::before {
	display: none;
}

.title {
	font-size: calc(var(--body-font-size) + .2em);
	margin: auto;
	margin-bottom: 30px;
	position: relative;
}

.title::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: #ffffff39;
}

.btn_container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
}

button.color_btn {
	color: var(--font);
	font-family: inherit;
	padding: 3px 10px;
	border: 1px solid var(--point);
	background-color: #ffffff33;
	cursor: pointer;
	box-shadow: inset 0 0 0 0 var(--point);
	transition: color .4s, box-shadow .4s ease;
}

button.color_btn.active {
	color: #000;
	box-shadow: inset 0 -100px 0 0 var(--point);
}


@media (width <=1024px) {
	body::after {
		display: none;
	}

	.wrap {
		display: flex;
		flex-direction: column;
		width: 100%;
		left: 0;
	}

	h1 {
		z-index: initial;
		margin-inline: 0;
	}

	h1::before {
		margin-inline: 0;
	}

	h1::after {
		display: none;
	}

	header {
		top: 0;
		width: 100%;
		height: 500px;
		position: absolute;
	}

	main {
		width: 100%;
		margin-top: 500px;
	}

	section {
		margin-inline: auto;
		width: min(700px, 100%);
	}

	:is(.page main)>section {
		padding-left: 30px;
	}

	.tab_buttons {
		position: unset;
		writing-mode: horizontal-tb;
		border: 0;
		gap: 0 15px;
		width: fit-content;
		margin-left: initial;
	}

	.tab_buttons button {
		position: relative;
	}

	.tab_buttons button.active {
		font-weight: 600;
		background: none;
		color: inherit;
	}

	.tab_buttons button::after {
		position: absolute;
		left: 0;
		content: "";
		width: 100%;
		height: 3px;
		border-radius: 5px;
		background: var(--point);
		bottom: -1px;
		transform: scale(0, 1);
		transform-origin: left top;
	}

	.tab_buttons button.active::after {
		transform: scale(1, 1);
	}

	.tab_buttons:hover button::after,
	.tab_buttons:focus-within button::after {
		transition: transform .3s;
	}

	.tab_buttons button {
		padding: 5px 3px;
	}

	.tab_buttons button:not(:last-child) {
		border: 0;
		border-right: 0;
	}

}

@media (width <=750px) {
	header {
		height: 300px;
	}

	.head_txt {
		width: calc(100% - 20px);
		height: calc(100% - 20px);
		top: 10px;
		left: 10px;
		right: 10px;
	}

	main {
		margin-top: 300px;
	}

	.page main {
		margin-top: 0;
	}

	.page h1 {
		margin: initial;
	}

	h2::before {
		width: calc(100% + 15px);
		left: -15px;
	}

	h2::after {
		left: -13px;
	}

	h3 {
		margin-left: -15px;
		padding-inline: 15px 10px;
	}

	section {
		padding-left: 15px;
		margin-inline: 15px;
		width: auto;
	}

	:is(.page main)>section {
		margin-inline: 15px;
		padding-left: 15px;
		width: auto;
	}

	section:first-of-type::before {
		width: 50px;
	}

	section::after {
		bottom: 50px;
	}

	.tab_contents .contents {
		min-height: auto;
	}

	.list_flex {
		gap: 20px 10px;
	}

	.list_flex>li {
		width: calc((100% - 10px) / 2);
	}

	.list_inline li:not(:last-child):after {
		padding: 0 0 0 5px;
	}
}

/* ギャラリー全体をグリッド表示 */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 画像同士のすき間 */
  justify-content: center;
}

/* 縦長の枠を作る設定 */
.gallery-item {
  width: 60px;          /* 幅を狭く設定 */
  height: 220px;        /* 高さをしっかり固定 */
  overflow: hidden;     /* はみ出た部分を非表示 */
  border-radius: 4px;   /* 角丸（お好みで） */
  transition: transform 0.3s ease, width 0.3s ease; /* ホバー時の変化を滑らかに */
  cursor: pointer;
}

/* 画像を枠いっぱいに収める設定 */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* 縦横比を維持しながら枠全体を埋める */
  object-position: center; /* 中央部分を表示 */
  filter: blur(3px) sepia(100%);
    transition: filter 0.3s ease; /* なめらかに変化させる指定 */
}

/* マウスを乗せた（ホバーした）ときの効果 */
.gallery-item:hover {
  transform: translateY(-5px); /* 少し上に浮かせる */
  /* 幅を広げたい場合は以下を有効化 */
  /* width: 120px; */
}
