/*
Theme Name: Year One Together
Author: tncommunications
Description: Year One Togetherのテーマ
Version: 1.0
*/

@charset "utf-8";
@import url("./reset.css");


body {
	color: #333;
}
.propose-top {
	width: 100%;
	padding: clamp(40px, 4vw, 80px) 0 clamp(100px, 15vw, 180px);
	min-height: 90vh;
	display: flex;
	align-items: center;
	background: url('images/bg_top02.jpg') no-repeat left top;
	background-size: cover;
}
.propose-inner {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(48px, 8vw, 100px) 20px 0;
	position: relative;
}
.propose-txt {
	width: max-content;
	padding-bottom: 32px;
	position: relative;
	z-index: 2;
	transform: translateY(72px);
}
.propose-txt h1 {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(3.5rem, -0.392rem + 17.3vw, 11.5rem);
	font-weight: 500;
	text-transform: uppercase;
	line-height: 0.87;
	letter-spacing: -0.02em;
}
.propose-txt h1 span {
	display: block;
}
.propose-txt h1 span:nth-of-type(2) {
	color: #dbb400;
}
.propose-txt .days,
.propose-txt .name {
	display: block;
	line-height: 1.4;
}
.propose-txt .days {
	margin-top: 30px;
	font-family: "Cormorant Garamond", serif;
	font-size: 2.25rem;
}
.propose-txt .name {
	margin-top: 4px;
	font-family: "Noto Serif JP", serif;
	font-size: 1.875rem;
}
.propose-txt .logo {
	width: 140px;
	margin-top: 15px;
}
.propose-top figure {
	width: 45vw;
	max-width: 510px;
	margin: 0;
	position: absolute;
	top: 20px;
	right: 20px;
	/*
	box-shadow: 0 0 34px rgba(255, 255, 255, .6); */
	z-index: 1;
}
.propose-top figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* ブロックにまたがるsvgライン
------------------------------------------------------ */
.section-line {
	position: relative;
	width: 100%;
	height: 0;
	z-index: 10;
	pointer-events: none;
}
.section-line svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	width: 1px;
	overflow: visible;
	height: 200px;
}
.section-line line {
	stroke: #d8a400;
	stroke: #3F0D12;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	opacity: 0.7;
}

.catch {
	position: relative;
	padding: 230px 0 290px;
	overflow: hidden;
}
.catch-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.catch-bg img {
	position: absolute;
	top: -5%;
	left: 0;
	width: 100%;
	height: 147%;
	object-fit: cover;
	object-position: center;
	will-change: transform;
}
.catch h2,
.catch-copy {
	position: relative;
	z-index: 1;
}
.catch h2 {
	font-family: "Roboto Condensed", sans-serif;
	color: rgba(255, 255, 255, 0.6);
	font-size: clamp(1rem, 0.878rem + 0.54vw, 1.25rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	width: fit-content;
	margin: 20px auto 30px;
}
.catch-copy {
	font-family: "Noto Serif JP", sans-serif;
	color: #fff;
	font-size: clamp(1.5rem, 1.257rem + 1.08vw, 2rem);
	font-weight: 400;
	font-feature-settings: "palt" 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.info-wrap {
	padding: 100px 0 120px;
	background: #F7F5F2;
}
.info {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
.info h3 {
	display: flex;
	justify-content: center;
	margin: 0 0 20px;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.25rem, 1.607rem + 2.86vw, 3rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	color: #3F0D12;
	padding: 0 25px;
	line-height: 1.2;
	text-align: center;
}
.info h3 + p {
	text-align: center;
	font-size: clamp(0.813rem, 0.582rem + 0.97vw, 1.25rem);
	margin: 0 0 2em;
	padding: 0 25px;
}
.yot-info-list {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 25px;
	list-style: none;
}
.yot-info-row {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #bdb7af;
}
.yot-info-link {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 0;
	color: inherit;
	text-decoration: none;
}
.yot-info-link.is-modal,
.yot-info-link.is-external {
	cursor: pointer;
}
.yot-info-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 106px;
	min-height: 26px;
	padding: 0 10px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}
.yot-info-label.label-life {
	background: #3f79a8;
}
.yot-info-label.label-news {
	background: #c9302c;
}
.yot-info-title {
	display: block;
	flex: 1 1 auto;
	font-size: clamp(0.875rem, 0.814rem + 0.27vw, 1rem);
	font-weight: 500;
	line-height: 1.7;
	color: #222;
}
.yot-info-link:hover .yot-info-title {
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

.info-modal[hidden] {
	display: none;
}

/*スクロールバーの有無による表示がたつきを防ぐ*/
html {
	scrollbar-gutter: stable;
}
.info-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}
.info-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}
.info-modal__content {
	position: relative;
	width: calc(100% - 40px);
	max-width: 760px;
	max-height: calc(100vh - 80px);
	margin: 40px auto;
	padding: 48px 56px 32px;
	background: #fff;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
}

.info-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	font-size: 1.5rem;
	line-height: 1;
	color: #333;
	cursor: pointer;
}
.info-modal__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	background: #4b6fae;
	margin: 0 0 20px;
}
.info-modal__title {
	font-size: clamp(1.125rem, 0.943rem + 0.81vw, 1.5rem);
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 20px;
	color: #222;
}
.info-modal__body {
	font-size: 1rem;
	line-height: 1.9;
	color: #333;
}
.info-modal__body p + p {
	margin-top: 1em;
}
.info-modal__body a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.14em;
}
.yot-info-entry dl, .yot-info-entry ul {
	margin: 0 0 1em;
}
.yot-info-entry dt {
	font-weight: 600;
}
.yot-info-entry dd {
	margin: 0 0 1em;
}
.yot-info-entry h6 {
	font-weight: 600;
}
.yot-info-entry .arrow-line {
	display: inline-block;
	padding-left: 1em;
}
.info-modal.is-open {
	opacity: 1;
	visibility: visible;
}
.info-modal__overlay {
	opacity: 0;
	transition: opacity 0.45s ease;
}
.info-modal.is-open .info-modal__overlay {
	opacity: 1;
}
.info-modal__content {
	transform: translateY(18px);
	opacity: 0;
	transition: transform 0.45s ease, opacity 0.45s ease;
}
.info-modal.is-open .info-modal__content {
	transform: translateY(0);
	opacity: 1;
}

@media screen and (max-width: 1024px) {

	.propose-top {
		height: auto;
		padding: 32px 0 120px;
	}
	.propose-inner {
		padding: 96px 20px 0;
	}
	.propose-txt {
		padding-bottom: 32px;
		transform: translateY(24px);
	}
	.propose-top figure {
		width: 42vw;
		top: 24px;
	}
}

@media screen and (max-width: 768px) {

	.propose-top {
		height: auto;
		padding: 24px 0 140px;
	}
	.propose-inner {
		display: flex;
		flex-direction: column;
		padding: 0 25px;
	}
	.propose-top figure {
		order: 1;
		width: 100%;
		max-width: none;
		margin: 0 0 20px;
		position: relative;
		top: auto;
		right: auto;
	}
	.propose-txt {
		order: 2;
		width: 100%;
		padding-bottom: 0;
		transform: none;
	}
	.propose-txt h1 {
		font-size: clamp(3.313rem, -1.348rem + 20.71vw, 8.75rem);
		line-height: 0.85;
		overflow-wrap: normal;
		word-break: keep-all;
	}
	.propose-txt h1 span {
		white-space: nowrap;
	}
	.propose-txt .days {
		margin-top: 20px;
		font-size: 1.875rem;
	}
	.propose-txt .name {
		margin-top: 4px;
		font-size: 1.375rem;
	}
	.propose-txt .logo {
		width: 100px;
	}
	.catch {
		padding: 180px 0 220px;
	}
	.info-wrap {
		padding: 130px 0 120px;
	}
	.yot-info-list {
		padding: 0 25px;
	}
	.yot-info-link {
		align-items: flex-start;
		gap: 12px;
		padding: 12px 0;
	}
	.yot-info-label {
		flex: 0 0 92px;
		min-height: 24px;
		padding: 6px 4px;
		font-size: 0.6875rem;
	}
	.yot-info-title {
		font-size: 0.95rem;
		line-height: 1.6;
	}
	.info-modal__content {
		width: calc(100% - 24px);
		max-height: calc(100vh - 24px);
		margin: 12px auto;
		padding: 44px 20px 24px;
	}
}

.photos {
	padding: 100px 0;
}
@media screen and (max-width: 768px) {
	.photos {
		padding: 100px 0;
	}
}

.photos h4 {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.25rem, 1.607rem + 2.86vw, 3rem);
	font-weight: 400;
	font-variant-numeric: lining-nums;
	letter-spacing: -0.03em;
	color: #dbb400;
	width: fit-content;
	margin: 0 auto 60px;
}
.photos h4 span {
	font-style: italic;
	padding-right: 7px;
}
.container-photos {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}



/* Foo Gallery調整
--------------------------------------------------------------  */
#foogallery-gallery-6.foogallery {
	width: calc(100% - 50px) !important;
	max-width: 1100px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 30px !important;
	box-sizing: border-box !important;
}

/* 各アイテム（4列）の幅を自動計算 */
#foogallery-gallery-6.foogallery .fg-item {
	width: calc((100% - 90px) / 4) !important;
	max-width: none !important;
}
#foogallery-gallery-6.foogallery .fg-item img {
	width: 100% !important;
	height: auto !important;
}

@media screen and (max-width: 768px) {
	#foogallery-gallery-6.foogallery {
		width: calc(100% - 50px) !important;
		gap: 20px !important;
	}
	#foogallery-gallery-6.foogallery .fg-item {
		width: calc((100% - 20px) / 2) !important;
	}
}

#foogallery-gallery-6.foogallery .fg-item,
#foogallery-gallery-6.foogallery .fg-item *,
#foogallery-gallery-6.foogallery .fg-thumb-container,
#foogallery-gallery-6.foogallery .fg-thumb-container img {
	box-shadow: none !important;
	border-radius: 0 !important;
	border: none !important;
	outline: none !important;
}
#foogallery-gallery-6.foogallery .fg-image-boundaries {
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* 1. 外枠リセット */
#foogallery-gallery-6 .fg-item-inner {
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	position: relative !important;
	overflow: hidden !important;
}

/* 2. キャプション全体 */
#foogallery-gallery-6 .fg-caption {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	height: 56px !important;
	background: rgba(80, 80, 80, 0.85) !important;
	opacity: 1 !important;
	visibility: visible !important;
	display: block !important;
	z-index: 10 !important;
}

/* 3. 日付（左端・帯いっぱいの高さ） */
#foogallery-gallery-6 .fg-caption-title {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	width: 52px !important;
	height: 100% !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	margin: 0 !important;
	padding: 0 !important;

	background: #c09f7a !important;
	color: #fff !important;

	font-size: 15px !important;
	font-weight: bold !important;
	line-height: 1.2 !important;
	text-align: center !important;
	z-index: 20 !important;
}

/* 4. 説明文 */
#foogallery-gallery-6 .fg-caption-desc {
	position: absolute !important;
	left: 66px !important;
	right: 10px !important;
	top: 8px !important;
	bottom: auto !important;

	margin: 0 !important;
	padding: 0 !important;
	background: none !important;

	z-index: 15 !important;
}

/* 5. 文字 */
#foogallery-gallery-6 .fg-caption-desc,
#foogallery-gallery-6 .fg-caption-desc * {
	color: #fff !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	text-align: left !important;
	margin: 0 !important;
}

/* FooBox（拡大表示）用キャプション調整
--------------------------------------------------------- */
.fbx-caption,
.fbx-phone.fbx-caption {
	display: flex !important;
	align-items: stretch !important;
	padding: 0 !important;
	background: rgba(80, 80, 80, 0.85) !important;
	color: #fff !important;
}

/* 日付 */
.fbx-caption-title,
.fbx-phone .fbx-caption-title {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 52px !important;
	width: 52px !important;
	min-width: 52px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #c09f7a !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-align: center !important;
}

/* 説明 */
.fbx-caption-desc,
.fbx-phone .fbx-caption-desc {
	flex: 1 1 auto !important;
	margin: 0 !important;
	padding: 8px 10px !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	text-align: left !important;
}

/* 説明内のp対策 */
.fbx-caption-desc *,
.fbx-phone .fbx-caption-desc * {
	margin: 0 !important;
	color: #fff !important;
}
.fbx-caption,
.fbx-phone.fbx-caption,
.fbx-caption-desc,
.fbx-phone .fbx-caption-desc,
.fbx-caption-desc *,
.fbx-phone .fbx-caption-desc * {
	font-family: "Noto Sans JP", sans-serif !important;
}


.announce {
	width: calc(100% - 50px);
	max-width: 1050px;
	margin: 0 auto 100px;
	background: #faf1f3;
	border-radius: 8px;
	padding: 40px;
}
.announce h5 {
	font-family: "Noto Serif JP", sans-serif;
	font-size: 1.25rem;
	padding: 0 0 5px;
	border-bottom: 1px solid #bbb;
	margin: 0 0 10px;
}
@media screen and (max-width: 1024px) {
	.announce {
		width: calc(100% - 50px);
	}
}


/* footer
--------------------------------------------------------- */
footer {
	padding: 8px 0;
	background: #F5F4F0;
}
.footer-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 25px;
}
.footer-container small {
	font-size: 0.8125rem;
	color: #333;
}
@media screen and (max-width: 768px) {
	.footer-container small {
		font-size: 0.75rem;
	}
}