@charset "UTF-8";

/*
 * Font Name: はれのそら明朝 (Harenosora Mincho)
 * Author: fontopo (https://fontopo.com/?p=377)
 * License: IPA Font License Agreement v1.0 (https://moji.or.jp/ipafont/license/)
 * * ※このWebフォントは上記フォントをWOFF2形式に変換（またはサブセット化）した派生プログラムです。
 * オリジナルのフォントデータは上記のAuthorのWebサイトより取得可能です。
 */
@font-face {
	font-family: 'HarenosoraMincho';
	src: url('../font/Harenosora.woff2') format('woff2'),
		url('../font/Harenosora.otf') format('opentype');
	/* WOFF2が読み込めなかった時の予備 */
	font-display: swap;
}

html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

body {
	font-family: "HarenosoraMincho", serif;
}

/* -----------------------------------
 * 写真詳細ポップアップ (モーダル) 共通スタイル
 * ----------------------------------- */
.photo-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.photo-modal[aria-hidden="false"] {
	opacity: 1;
	pointer-events: auto;
}

.photo-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 21, 21, 0.7);
	backdrop-filter: blur(3px);
}

.photo-modal__container {
	position: relative;
	z-index: 10;
	background: #fff6da;
	color: #1f1515;
	border-radius: 32px;
	width: min(840px, 94vw);
	max-height: 90vh;
	overflow-y: auto;
	padding: 44px 40px 40px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	transform: scale(0.95);
	transition: transform 0.3s ease;
	font-family: "HarenosoraMincho", serif;
}

.photo-modal[aria-hidden="false"] .photo-modal__container {
	transform: scale(1);
}

.photo-modal__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	background: #711622;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.2s ease, transform 0.2s ease;
	z-index: 15;
}

.photo-modal__close:hover {
	background: #55101a;
	transform: scale(1.08);
}

.photo-modal__close span {
	position: absolute;
	width: 20px;
	height: 3px;
	background: #ffffff;
	border-radius: 2px;
}

.photo-modal__close span:first-child {
	transform: rotate(45deg);
}

.photo-modal__close span:last-child {
	transform: rotate(-45deg);
}

.photo-modal__content {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 36px;
	align-items: stretch;
	text-align: left;
}

/* 左カラム */
.photo-modal__col-left {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.photo-modal__header-group {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.photo-modal__photo-box {
	flex: 0 0 170px;
	width: 170px;
	height: 170px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #dedede;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.photo-modal__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.photo-modal__basic-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 1.15rem;
	line-height: 1.45;
	color: #1f1515;
	padding-top: 4px;
}

.photo-modal__info-line {
	margin: 0;
	white-space: nowrap;
}

.photo-modal__profile-section {
	margin-top: 4px;
}

.photo-modal__section-heading {
	font-size: 1.2rem;
	margin: 0 0 8px;
	font-weight: normal;
	color: #1f1515;
}

.photo-modal__section-body {
	font-size: 0.95rem;
	line-height: 1.65;
	margin: 0;
	color: #333333;
	white-space: pre-wrap;
	word-break: break-word;
}

.photo-modal__extra-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 1.15rem;
	margin-top: auto;
	padding-top: 12px;
	color: #1f1515;
}

/* 右カラム */
.photo-modal__col-right {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.photo-modal__home-heading {
	font-size: 1.4rem;
	margin: 0;
	font-weight: normal;
	color: #1f1515;
}

.photo-modal__home-box {
	background: #bce2e7;
	border-radius: 24px;
	flex: 1;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow: hidden;
	color: #1f1515;
	font-size: 1.05rem;
	text-align: center;
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.photo-modal__home-box img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 12px;
}

@media (max-width: 760px) {
	.photo-modal__container {
		padding: 40px 24px 28px;
	}

	.photo-modal__content {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.photo-modal__home-box {
		min-height: 240px;
	}
}

/* -----------------------------------
 * ヘッダー & ハンバーガーメニュー 共通スタイル
 * ----------------------------------- */
button {
	font: inherit;
}

.header {
	background: #711622;
	color: #ffffff;
	position: sticky;
	top: 0;
	z-index: 20;
}

.header__inner,
.menu-overlay__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1280px;
	min-height: 86px;
	padding: 10px 20px;
}

.header__logo,
.menu-overlay__logo {
	color: inherit;
	font-size: clamp(1.6rem, 2.9vw, 2.25rem);
	letter-spacing: 0.03em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	display: inline-block;
	transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.header__logo:hover,
.menu-overlay__logo:hover {
	transform: scale(1.04);
}

.header__nav {
	align-items: center;
	display: flex;
	gap: clamp(18px, 3vw, 56px);
	min-width: 0;
}

.header__nav-link {
	color: inherit;
	font-size: clamp(0.95rem, 1.9vw, 1.5rem);
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.menu-button,
.menu-close {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	flex-direction: column;
	gap: 17px;
	justify-content: center;
	padding: 0;
}

.menu-button {
	background: #711622;
	height: 70px;
	width: 93px;
	transition: background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-button:hover {
	background-color: #55101a;
}

.menu-button span {
	background: currentColor;
	display: block;
	height: 5px;
	width: 80px;
	transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-button:hover span:first-child {
	transform: translateY(-4px);
}

.menu-button:hover span:last-child {
	transform: translateY(4px);
}

.menu-overlay {
	background: rgba(113, 22, 34, 0.96);
	inset: 0;
	color: #ffffff;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity 0.2s ease;
	z-index: 30;
}

.menu-overlay[aria-hidden="false"] {
	opacity: 1;
	pointer-events: auto;
}

.menu-close {
	gap: 0;
	height: 70px;
	position: relative;
	width: 93px;
	transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-close:hover {
	transform: rotate(90deg) scale(1.1);
}

.menu-close span {
	background: currentColor;
	display: block;
	height: 4px;
	position: absolute;
	width: 38px;
}

.menu-close span:first-child {
	transform: rotate(45deg);
}

.menu-close span:last-child {
	transform: rotate(-45deg);
}

.menu-overlay__nav {
	display: grid;
	gap: 20px;
	margin: 0 auto;
	max-width: 1280px;
	padding: 36px 24px;
}

.menu-overlay__nav a {
	color: #ffffff;
	font-size: 1.5rem;
	line-height: 1.4;
	text-decoration: none;
}

.menu-overlay__nav a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.header__nav-link {
		display: none;
	}

	.header__inner,
	.menu-overlay__header {
		min-height: 72px;
		padding: 8px 14px;
	}

	.menu-button,
	.menu-close {
		height: 56px;
		width: 72px;
	}

	.menu-button span {
		height: 4px;
		width: 52px;
	}
}

/* -----------------------------------
 * フッター 共通スタイル (卒業アルバムのデザインに統一)
 * ----------------------------------- */
.footer {
	align-items: center;
	background: #711622;
	color: #ffffff;
	display: flex;
	justify-content: center;
	min-height: 144px;
	padding: 18px 24px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.footer a,
.footer__top {
	color: #ffffff;
	text-decoration: none;
	font-size: 24px;
	line-height: 1;
}

.footer a:hover {
	text-decoration: underline;
}

.footer p,
.footer__copyright {
	bottom: 28px;
	font-size: 24px;
	margin: 0;
	position: absolute;
	right: 24px;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.footer {
		min-height: 110px;
	}

	.footer p,
	.footer__copyright {
		bottom: 16px;
		font-size: 18px;
		right: 16px;
	}

	.footer__top,
	.footer a {
		font-size: 20px;
	}
}