/* common */
:root {
	--color-brand: #8676e5;
	--color-background: #f9f5e9;
	--color-blue: #5f83d6;
	--color-purple: #6459a1;
	--card-width: clamp(240px, 18vw, 360px);
	--sidebar-padding: 32px;
}
body {
	font-family: "Pretendard", Pretendard, -apple-system, BlinkMacSystemFont,
		system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
		"Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji",
		"Segoe UI Symbol", sans-serif;
	background: var(--color-background);
}
.container {
	position: relative;
	width: 100%;
	max-width: 1400px;
	padding: 0 16px;
	margin: 0 auto;
}
.site-header {
	position: relative;
	display: flex;
	align-items: center;
	padding: 46px 30px 66px 30px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
}
.site-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 222px;
}
.header-left > a {
	display: block;
	width: 93px;
}
.header-left .input-wrap {
	position: relative;
	margin-top: 18px;
	margin-bottom: 14px;
}
.header-left .input-wrap input {
	width: 277px;
	height: 50px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	padding: 15px 57px 15px 18px;
	background: #fff;
	border: none;
	border-radius: 25px;
}
.header-left .input-wrap button {
	position: absolute;
	top: 14px;
	right: 18px;
}
.site-header .header-right {
	margin-left: auto;
}
.header-right .item-wrap {
	display: flex;
	column-gap: 15px;
}
.header-right .item-wrap .item {
	display: block;
	width: 110px;
	height: 110px;
	font-size: 20px;
	font-weight: 900;
	line-height: 110px;
	color: #fff;
	border-radius: 50%;
	background: var(--color-blue);
	text-align: center;
}
.header-right .item-wrap .item.item-share {
	background: #4ed3c6;
}
.item-share-wrap {
	position: relative;
}
.item-share-wrap .share-list {
	position: absolute;
	bottom: -68px;
	left: 0;
	display: none;
	width: 110px;

	padding: 6px;
	background: #fff;
	text-align: center;
}
.item-share-wrap .share-list,
.item-share-wrap .share-list button {
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	color: #000;
}
.header-right .share-list.open {
	display: block;
}
.header-right .item-list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	column-gap: 13px;
	margin-top: 34px;
}

/* main layout */
body.is-home {
    overflow: hidden;
    height: 100vh;
    background: url(../images/bg.png) no-repeat center center / cover fixed;
	padding: 0;
}
body.is-home .site-main {
    height: 100vh;
    overflow: hidden;
    padding: 0;
}
.main-layout {
    display: flex;
    height: 100vh;
}

/* 사이드바 */
.sidebar {
    width: var(--card-width);
	min-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    background: transparent;
    overflow: hidden;
    border-right: none;
	padding-left: 32px;
    transition: background 0.3s;
}
.sidebar.is-scrolled {
    background: linear-gradient(180deg, #2d5bc4 0%, #1e3d8f 100%);
}
.sidebar.is-scrolled .sidebar-header {
    padding-top: 16px;
    padding-bottom: 10px;
    gap: 12px;
}
.sidebar.is-scrolled .sidebar-logo img {
    width: 140px;
    transition: width 0.3s;
}
.sidebar.is-scrolled .sidebar-header-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.sidebar-logo img {
    transition: width 0.3s;
}
.sidebar-header {
    display: flex;
    flex-direction: column;
	align-items: center;
    gap: 32px;
    padding: 36px 0 16px;
    flex-shrink: 0;
    border-bottom: none;
    background: transparent;
}
.sidebar-logo img {
    width: 196px;
}
.sidebar-header-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
	width:100%;
	justify-content: space-between;
}
.sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: transparent;
}
.sidebar-toggle {
    display: none;
    align-items: center;
    column-gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
}
.sidebar-toggle .toggle-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.sidebar-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(-135deg) translateY(-2px);
}
.sidebar-inner {
    margin-bottom: 20px;
	background-color: #244CA1;
	padding: 24px 16px;
	border-radius: 12px;
}
.form-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.form-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    color: #fff;
    flex-shrink: 0;
}
.form-header-icon svg {
    width: 100%;
    height: 100%;
}
.form-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.form-header-date {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}
.sidebar-footer {
    padding: 16px 20px 24px;
    flex-shrink: 0;
    border-top: none;
    background: transparent;
}
.memo-count {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}
.search-form .input-wrap {
    position: relative;
    margin-bottom: 12px;
}
.search-form .input-wrap input {
    width: 100%;
    height: 40px;
    font-size: 14px;
    padding: 8px 44px 8px 14px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 20px;
    color: #333;
}
.search-form .input-wrap input::placeholder { color: #999; }
.search-form .input-wrap button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}
.search-form .input-wrap button img { width: 18px; }
.sidebar-share {
    display: flex;
    align-items: center;
    column-gap: 14px;
}
.sidebar-share .item-share-wrap { position: relative; }
.sidebar-share .item-share,
.sidebar-share .item-list {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    column-gap: 6px;
    text-decoration: none;
}
.sidebar-share .item-list img { width: 16px; }
.sidebar-share .share-list {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    display: none;
    background: #fff;
    border-radius: 8px;
    padding: 6px 0;
    min-width: 100px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
}
.sidebar-share .share-list.open { display: block; }
.sidebar-share .share-list li { list-style: none; }
.sidebar-share .share-list a,
.sidebar-share .share-list button {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    color: #000;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

/* 참여 전 안내사항 모달 */
.info-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.info-modal-backdrop.open {
    display: flex;
}
.info-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 480px;
    width: calc(100% - 40px);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.info-modal h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}
.info-modal ul {
    padding-left: 20px;
    margin: 0;
    list-style: disc;
}
.info-modal ul li {
    font-size: 18px;
    line-height: 24px;
    color: #444;
    margin-bottom: 12px;
}
.info-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-modal-trigger {
    cursor: pointer;
    text-decoration: underline;
    color: var(--color-blue);
}

/* ACF 폼 사이드바 내 스타일 오버라이드 */
.sidebar .acf-field[data-name="writer"] .acf-label,
.sidebar .acf-field[data-name="content"] .acf-label,
.sidebar .acf-field[data-name="bgcolor"] .acf-label,
.sidebar .acf-field[data-name="agree"] .acf-label {
    display: none !important;
}
.sidebar p.description {
    display: none !important;
}
.sidebar .acf-field {
    background: transparent !important;
    border: none !important;
}
.sidebar .acf-label > label,
.sidebar .acf-label .description {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600 !important;
}
.sidebar .acf-input > input,
.sidebar .acf-input > textarea,
.sidebar .acf-input .acf-input-wrap input,
.sidebar .acf-input .acf-input-wrap textarea {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-family: inherit !important;
    padding: 10px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.sidebar .acf-field[data-name="content"] .acf-input > textarea,
.sidebar .acf-field[data-name="content"] .acf-input .acf-input-wrap textarea {
    height: 160px !important;
    overflow-y: auto !important;
    resize: none !important;
}
.sidebar .acf-input > input::placeholder,
.sidebar .acf-input > textarea::placeholder,
.sidebar .acf-input .acf-input-wrap input::placeholder,
.sidebar .acf-input .acf-input-wrap textarea::placeholder {
    color: rgba(255,255,255,0.5) !important;
}
.sidebar .acf-checkbox-list label,
.sidebar .acf-checkbox-list li {
    color: rgba(255,255,255,0.9) !important;
}
.sidebar .acf-field[data-name="bgcolor"] ul.acf-radio-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 16px 0 !important;
    list-style: none !important;
}
.sidebar .acf-field[data-name="bgcolor"] .acf-input,
.sidebar .acf-field[data-name="bgcolor"] .acf-input-wrap {
    padding: 0 !important;
    margin: 0 !important;
}
.sidebar .acf-field[data-name="bgcolor"] {
    margin: 0 -8px !important;
    padding: 0 !important;
    overflow: hidden !important;
}
.sidebar .acf-field[data-name="bgcolor"] ul.acf-radio-list li {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
.sidebar .acf-field[data-name="bgcolor"] ul.acf-radio-list li label {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100% !important;
    border: 2px solid transparent !important;
    border-radius: 50% !important;
    text-indent: -9999px !important;
    cursor: pointer !important;
    overflow: hidden !important;
    box-sizing: content-box !important;
}
.sidebar .acf-field[data-name="bgcolor"] ul.acf-radio-list li label input[type="radio"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
}
.sidebar .acf-field[data-name="bgcolor"] ul.acf-radio-list li label.selected {
    border-color: #fff !important;
}

/* agree(동의) 필드: 체크박스 + 한 줄 라벨 */
.sidebar .acf-field[data-name="agree"] {
    margin: 16px 0 24px !important;
}
.sidebar .acf-field[data-name="agree"] .acf-true-false label {
    display: none !important;
}
.sidebar .acf-field[data-name="agree"] .acf-true-false {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.sidebar .acf-field[data-name="agree"] .acf-required {
    display: none !important;
}
.sidebar .info-trigger {
    pointer-events: auto !important;
    color: #fff !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}
.info-trigger {
    cursor: pointer;
    text-decoration: underline;
    color: rgba(255,255,255,0.9);
}

/* 보드 영역 */
.board-area {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 0;
    background: transparent;
}

/* 사람들 배너 (스크롤 시 사라짐) */
.people-banner {
    height: 300px;
    overflow: hidden;
}
.people-images {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
	margin-top: -24px;
}
.people-images img {
    margin-right: -20px;
}
.people-images img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
}

/* 메이슨리 카드 영역 */
.masonry-grid {
    position: relative;
    z-index: 1;
    padding: 24px 32px 24px 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
	margin-top:-87px;
    opacity: 0;
    transition: opacity 0.15s;
}
.masonry-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.masonry-item {
    width: 100%;
}
.card {
    border-radius: 12px;
    padding: 20px;
    word-break: break-word;
}
.card hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 10px 0 14px;
}
.card-writer {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}
.card-image {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: auto;
    display: block;
}
.card-content {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    color: #000;
    white-space: pre-line;
}
.card-date {
    font-size: 13px;
    color: rgba(0,0,0,0.4);
    margin-top: 14px;
}
.masonry-item.is-white .card-writer,
.masonry-item.is-white .card-content { color: #333; }

/* 무한스크롤 로딩 */
#load-more-loading {
    text-align: center;
    padding: 24px;
    font-size: 14px;
    color: rgba(0,0,0,0.5);
}

/* 모바일 */
@media (max-width: 768px) {
    body.is-home,
    body.is-home .site-main {
        height: auto;
        overflow: visible;
    }
    .main-layout {
        flex-direction: column;
        height: auto;
    }
    .people-banner {
        height: 160px;
    }
    .sidebar {
        width: 100%;
		min-width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        z-index: 100;
		padding-left: 0;
    }
    .sidebar.is-open {
        background: #244CA1 !important;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .sidebar.is-scrolled {
        background: linear-gradient(180deg, #2d5bc4 0%, #1e3d8f 100%) !important;
    }
    .sidebar.is-scrolled .sidebar-header {
        padding-top: 12px;
        padding-bottom: 8px;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    .sidebar.is-scrolled .sidebar-logo img {
        height: 40px;
        width: auto;
    }
    .sidebar.is-scrolled .sidebar-header-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }
    body.sidebar-open {
        overflow: hidden !important;
        height: 100vh;
        height: 100dvh;
    }
	.sidebar-header {
		flex-direction: row;
		padding: 24px 16px;
		gap:12px
	}
	.sidebar-logo img {height:100%;}
	.sidebar-header-bottom {gap: 16px;justify-content: flex-end}
    .sidebar-toggle {
        display: flex;
		justify-content: center;
		padding:12px 16px;
		background-color: #3CAFA1;
		width: calc(100% - 32px);
		margin:0 auto;
		border-radius: 8px;
		gap:16px;
    }
	.sidebar-toggle .toggle-icon {border-color:#fff}
	.toggle-label {color:#fff; font-size: 18px; line-height: 24px}
	.sidebar-toggle {margin-bottom: 24px;}

	.sidebar-inner {border-radius: 0;}
    .sidebar-body {
        display: none;
        overflow-y: auto;
    }
    .sidebar-body.open {
        display: block;
		width: 100%;
        overflow-y: auto;
        padding-bottom: 16px;
    }
    .board-area {
        height: auto;
        overflow-y: visible;
    }
	.masonry-grid {
		padding: 24px 16px;
		gap: 16px;
	}
	.masonry-col {
		gap: 16px;
	}
}


.slide-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	row-gap: 40px;
	min-height: 570px;
	padding: 40px 0;
	text-align: center;
}
.slide-inner > img {
	position: absolute;
	bottom: 5px;
	right: 15px;
	width: 50%;
	z-index: -1;
	/* animation: peopleUpDown 1s linear infinite; */
}
.slide-inner > img:first-of-type {
	left: 15px;
	right: auto;
	/* animation-delay: 0.5s; */
}
.line-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.board-item {
	display: inline-block;
	padding: 14px 20px;
}
.board-item .text {
	font-size: 32px;
	font-weight: 900;
	line-height: 1.2;
	color: #fff;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
}
.board-item .name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 7px;
}
.is-white .board-item .text {
	color: #555;
	text-shadow: none;
}
.is-white .board-item .name {
	color: rgba(0, 0, 0, 0.5);
}
.video-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 720px;
	margin: 160px auto 120px;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.swiper-button-next,
.swiper-button-prev {
	top: 50%;
	transform: translateY(-50%);
	width: 61px;
	height: 115px;
}
.swiper-button-prev:after,
.swiper-button-next:after {
	content: "";
	width: 100%;
	height: 100%;
	background: url(../images/ico-prev.png) no-repeat center / cover;
}
.swiper-button-next:after {
	background-image: url(../images/ico-next.png);
}

/* @keyframes peopleUpDown {
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(5px);
    }
    100%{
        transform: translateY(0px);
    }
} */

/* add */
body.page-add .site-main {
	padding-top: 64px;
	padding-bottom: 95px;
}
body.page-add .site-main .container {
	width: 672px;
	max-width: 100%;
}
body.page-add .add-title {
	font-size: 48px;
	font-weight: 900;
	line-height: 1.2;
	color: var(--color-blue);
}
body.page-add .add-desc {
	width: 546px;
	max-width: 100%;
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	color: #000;
	margin-top: 40px;
}
#memo-acf-form {
	margin-top: 0;
}
#memo-acf-form .acf-required {
	display: none;
}
#memo-acf-form .acf-fields > .acf-field {
	border-top: none;
}
#memo-acf-form .acf-field {
	padding: 0;
}
#memo-acf-form .acf-field + .acf-field {
	margin-top:0;
}
#memo-acf-form .acf-field + .acf-field.acf-field-true-false {
	margin-top: 16px;
}
#memo-acf-form .acf-field-text,
#memo-acf-form .acf-field-radio {
	display: flex;
	align-items: flex-start;
}
#memo-acf-form .acf-field-text .acf-label,
#memo-acf-form .acf-field-radio .acf-label {
	width: 80px;
	padding-right: 13px;
}
#memo-acf-form .acf-field-text .acf-label {
	position: static;
}
#memo-acf-form .acf-field-text .description {
	position: absolute;
	bottom: 0;
	left: 81px;
}
#memo-acf-form .acf-field-text .acf-input,
#memo-acf-form .acf-field-radio .acf-input {
	flex: 1;
}
#memo-acf-form .acf-field-text .acf-input {
	padding-bottom: 16px;
}
#memo-acf-form .acf-field-text input {
	height: 48px;
	font-size: 18px;
	padding: 5px 15px;
	border: 1px solid #b48f63;
	border-radius: 0;
}
#memo-acf-form .acf-field-text textarea {
	height: 48px;
	font-size: 18px;
	padding: 5px 15px;
	border: 1px solid #b48f63;
	border-radius: 0;
}
#memo-acf-form .acf-label > label {
	font-size: 24px;
	font-weight: 700;
	line-height: 48px;
	color: #000;
	margin-bottom: 0;
}
#memo-acf-form .description,
#memo-acf-form .policy-list {
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	color: #000;
	margin-top: 0;
}
#memo-acf-form .policy-list {
	font-size: 16px;
	list-style: disc;
	padding-left: 21px;
	margin-top: 11px;
	margin-bottom: 26px;
}
#memo-acf-form .acf-input-wrap + .description {
	margin-top: 12px;
}
#memo-acf-form .acf-true-false label {
	display: flex;
	align-items: center;
	column-gap: 18px;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: #000;
}
#memo-acf-form .acf-true-false input[type="checkbox"] {
	background: #fff;
	width: 36px;
	height: 36px;
	margin: 0;
	border: 2px solid #ccc;
	visibility: visible;
}
#memo-acf-form .acf-true-false input[type="checkbox"]:checked {
	background-color: #ccc;
	background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e") !important;
}
#memo-acf-form ul.acf-radio-list li label {
	display: inline-block;
	width: 42px;
	height: 42px;
	border: 3px solid transparent;
	border-radius: 50%;
	text-indent: -9999px;
	cursor: pointer;
}
#memo-acf-form ul.acf-radio-list li label.selected {
	border-color: #000;
}
#memo-acf-form .acf-form-submit {
	display: flex;
	column-gap: 18px;
	justify-content: center;
	align-items: center;
	padding-top:16px;
	margin-top: 16px;
	border-top: 2px solid var(--color-blue);
}
#memo-acf-form .acf-form-submit .acf-button {
	width: 100%;
	height: 64px;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	background: #3CAFA1;
	border: none;
	border-radius: 8px;
}

/* intro */
.page-intro {
	padding: 180px 0;
	text-align: center;
}
.page-intro .container {
	width: 752px;
	max-width: 100%;
}
.page-intro .desc-wrap {
	position: relative;
	font-size: 20px;
	font-weight: 700;
	line-height: 64px;
	color: #5e5454;
}
.page-intro .intro-logo-wrap {
	position: sticky;
	top: 0;
	width: 100%;
	padding: 48px 0;
	margin: 88px auto 102px auto;
	background: linear-gradient(
		180deg,
		var(--color-background) 76%,
		transparent 100%
	);
	z-index: 1;
}
.page-intro .intro-logo-wrap img {
	width: 222px;
}
.page-intro #imgIntro-1 {
	position: absolute;
	top: 0;
	left: -111px;
	width: 136px;
	z-index: 2;
}
.page-intro #imgIntro-2 {
	position: absolute;
	top: calc(100% - 200px);
	right: -240px;
	width: 326px;
	z-index: 2;
}
.page-intro #imgIntro-3 {
	position: absolute;
	bottom: calc(100% + 14px);
	left: -137px;
	width: 170px;
	z-index: 2;
}
.page-intro #imgIntro-4 {
	position: absolute;
	bottom: -36px;
	left: -157px;
	width: 240px;
	z-index: 2;
}
.page-intro #imgIntro-5 {
	position: absolute;
	bottom: -32px;
	right: -167px;
	width: 250px;
	z-index: 2;
}
.page-intro .intro-content-img {
	margin: 280px 0;
}
.page-intro .progress-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 14px;
	background: #d9d9d9;
	z-index: 100;
}
.page-intro .progress-bar .bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: var(--color-brand);
}
#logoPjc {
	position: fixed;
	top: 33px;
	left: 40px;
	width: 93px;
	z-index: 100;
}
#goToBoard {
	position: fixed;
	bottom: 60px;
	right: 30px;
	display: block;
	width: 110px;
	height: 110px;
	font-size: 20px;
	font-weight: 900;
	line-height: 110px;
	color: #fff;
	background: var(--color-brand);
	border-radius: 50%;
	text-align: center;
	z-index: 100;
}
#goToBoard.is-end {
	animation: blink 1s ease-in-out infinite;
}
#goToBoard.top {
	top: 30px;
	bottom: auto;
}
@keyframes blink {
	0% {
		background-color: var(--color-brand);
	}
	50% {
		background-color: var(--color-background);
	}
	100% {
		background-color: var(--color-brand);
	}
}

/* list */
body.post-type-archive-memo .site-main {
	padding-bottom: 150px;
}
body.post-type-archive-memo .site-main .container {
	width: 672px;
	max-width: 100%;
}
.archive-list {
	border-top: 3px solid var(--color-purple);
}
.archive-list .item {
	display: flex;
	align-items: center;
	column-gap: 18px;
	padding: 0 15px 0 20px;
	border-bottom: 1px solid var(--color-purple);
}
.archive-list .back {
	width: 17px;
	height: 17px;
	border: 1px solid transparent;
	border-radius: 50%;
}
.archive-list .back.is-white {
	border-color: #000;
}
.archive-list .content {
	width: 55%;
	font-size: 18px;
	font-weight: 900;
	line-height: 50px;
	color: #000;
}
.archive-list .name {
	font-size: 14px;
	font-weight: 700;
	line-height: 50px;
	color: #333;
}
.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
	padding: 0 30px;
	margin-top: 36px;
}
.nav-links .page-numbers {
	width: 40px;
	height: 40px;
	font-size: 18px;
	font-weight: 900;
	line-height: 40px;
	color: #8980b3;
	background: #fff;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 5px;
	text-align: center;
}
.nav-links .page-numbers.current {
	color: #fff;
	background: #8980b3;
}
.nav-links .prev,
.nav-links .next {
	text-indent: -9999px;
}
.nav-links .prev {
	background-image: url('data:image/svg+xml,<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 1.5L3 9L10 16.5" stroke="%238980B3" stroke-width="3"/></svg>');
}
.nav-links .next {
	background-image: url('data:image/svg+xml,<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 1.5L9 9L2 16.5" stroke="%238980B3" stroke-width="3"/></svg>');
}
.lp {
	display: block;
	overflow: hidden;
	margin: 64px 0;
}

/* landing */
.landing-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
	padding: 20px;
}
.landing-wrap img {
	width: 538px;
}

/* media */
/* pc */

@media screen and (min-width: 414px) and (max-width: 768px) {
    .masonry-grid {
        columns: 2 !important;
    }
}

@media screen and (min-width: 769px) {
	.board-item {
		margin-left: 0 !important;
	}
	.mo-btn-search {
		display: none;
	}
}
/* mo */
@media screen and (max-width: 768px) {
	/* common */
	.site-header {
		align-items: flex-start;
		padding: 16px 16px 86px 16px;
		font-size: 14px;
	}
	.site-title {
		top: 30px;
		transform: translate(-50%, 0);
		width: 145px;
	}
	.header-left > a {
		width: 60px;
		margin-top: 4px;
	}
	.header-left form {
		position: absolute;
		bottom: 50px;
		left: 0;
		width: 100%;
		text-align: center;
	}
	.header-left form:before {
		content: "";
		position: absolute;
		top: 7px;
		left: 16px;
		width: calc(100% - 32px);
		height: 1px;
		background: #000;
		z-index: -1;
	}
	.header-left form:not(.open) .input-wrap {
		display: none;
	}
	.header-left form .input-wrap {
		position: absolute;
		top: -11px;
		right: 51px;
		width: calc(100% - 67px);
		margin: 0;
		z-index: 1;
	}
	.header-left .input-wrap input {
		width: 100%;
		height: 35px;
		font-size: 12px;
		padding: 5px 33px 5px 12px;
		border-radius: 0;
	}
	.header-left .input-wrap button {
		top: 9px;
		right: 13px;
		width: 16px;
	}
	.header-left form p {
		display: inline-block;
		padding: 0px 13px;
		background: var(--color-background);
		text-align: center;
	}
	.header-left .mo-btn-search {
		position: absolute;
		top: -11px;
		right: 16px;
		width: 35px;
		height: 35px;
		background: #000;
		border-radius: 50%;
	}

	.header-right {
		width: 80px;
	}
	.header-right .item-wrap {
		flex-direction: column-reverse;
		row-gap: 6px;
	}
	.header-right .item-wrap .item {
		width: 80px;
		height: 80px;
		line-height: 80px;
		font-size: 16px;
		border-radius: 8px;
	}
	.header-right .item-wrap .item.item-share {
		height: 40px;
		line-height: 40px;
	}
	.header-right .item-list {
		display: none;
	}
	.item-share-wrap .share-list,
	.item-share-wrap .share-list button {
		font-size: 12px;
	}
	.item-share-wrap .share-list {
		bottom: -70px;
		width: 80px;
		height: auto;
		padding: 3px;
	}

	/* intro */
	.page-intro {
		padding: 80px 0 250px 0;
	}
	.page-intro .desc-wrap {
		font-size: 16px;
		line-height: 42px;
	}
	.page-intro .intro-logo-wrap {
		width: calc(100% + 32px);
		padding: 30px 0;
		margin: 60px -16px;
		background: linear-gradient(
			180deg,
			var(--color-background) 82%,
			transparent 100%
		);
	}
	.page-intro .intro-logo-wrap img {
		width: 145px;
	}
	.page-intro #imgIntro-1 {
		top: 50px;
		left: -14px;
		width: 64px;
	}
	.page-intro #imgIntro-2 {
		top: calc(100% - 20px);
		right: 0%;
		width: 200px;
		z-index: 0;
	}
	.page-intro .intro-content-img {
		margin: 220px 0;
	}
	.page-intro #imgIntro-3 {
		left: -16px;
		width: 100px;
		z-index: 0;
	}
	.page-intro #imgIntro-4 {
		bottom: -240px;
		left: -11px;
		width: 180px;
	}
	.page-intro #imgIntro-5 {
		bottom: -240px;
		right: -11px;
		width: 180px;
	}
	.page-intro .progress-bar {
		height: 10px;
	}
	#logoPjc {
		top: 20px;
		left: 16px;
		width: 60px;
	}
	#goToBoard {
		bottom: 36px;
		right: 16px;
		width: 80px;
		height: 80px;
		font-size: 16px;
		line-height: 80px;
	}
	#goToBoard.top {
		top: 20px;
	}
	.card {border-radius: 8px;}
	/* board */
	.page-board {
		background-size: auto 340px;
		background-position: center 229px;
		background-attachment: fixed;
		overflow: hidden;
	}
	.page-board > .container {
		padding: 0;
	}
	.slide-inner {
		row-gap: 5px;
		height: 100%;
		padding: 10px;
		overflow: hidden;
	}
	.line-wrapper {
		gap: 5px;
		flex-direction: column;
		justify-content: center;
	}
	.board-item {
		padding: 12px 10px;
		transform: none !important;
	}
	.board-item .text {
		font-size: 16px;
	}
	.board-item .name {
		font-size: 10px;
	}
	.slide-inner > img {
		bottom: auto;
		top: 95px;
		right: auto;
		left: calc(50vw - 20px);
		max-width: none;
		width: auto;
		height: 341px;
	}
	.slide-inner > img:first-of-type {
		left: auto;
		right: calc(50vw - 20px);
	}
	.swiper-button-next,
	.swiper-button-prev {
		position: fixed;
		width: 36px;
		height: 68px;
	}
	.swiper-button-prev {
		left: 16px;
	}
	.swiper-button-next {
		right: 16px;
	}

	/* add */
	body.page-add .site-main {
		padding-top: 120px;
	}
	body.page-add .add-title {
		font-size: 28px;
	}
	body.page-add .add-desc {
		font-size: 14px;
		line-height: 20px;
		margin-top: 25px;
	}
	#memo-acf-form .acf-label > label {
		font-size: 18px;
		line-height: 36px;
	}
	#memo-acf-form .acf-field-text .acf-label,
	#memo-acf-form .acf-field-radio .acf-label {
		width: 65px;
	}
	#memo-acf-form .acf-field-text .description {
		left: 65px;
	}
	#memo-acf-form .acf-field-text .acf-input {
		padding-bottom: 0;
	}
	#memo-acf-form .description,
	#memo-acf-form .policy-list {
		font-size: 12px;
		line-height: 16px;
	}
	#memo-acf-form .acf-field-text input {
		height: 36px;
		font-size: 14px;
		padding: 5px 10px;
	}
	#memo-acf-form .acf-field + .acf-field {
		margin-top: 20px;
	}
	#memo-acf-form .acf-field + .acf-field.acf-field-true-false {
		margin-top: 30px;
	}
	ul.acf-radio-list.acf-hl li,
	ul.acf-checkbox-list.acf-hl li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
	#memo-acf-form ul.acf-radio-list li label {
		width: 30px;
		height: 30px;
	}
	#memo-acf-form .acf-true-false label {
		column-gap: 10px;
		font-size: 14px;
	}
	#memo-acf-form .acf-true-false input[type="checkbox"] {
		width: 25px;
		height: 25px;
	}
	#memo-acf-form .acf-form-submit .acf-button {
		width: 120px;
		height: 50px;
		font-size: 18px;
	}

	/* list */
	body.post-type-archive-memo .site-main {
		padding-bottom: 80px;
	}
	.archive-list .item {
		padding: 0 10px;
	}
	.archive-list .back {
		width: 12px;
		height: 12px;
	}
	.archive-list .content {
		font-size: 14px;
		line-height: 40px;
	}
	.archive-list .name {
		font-size: 12px;
		line-height: 40px;
	}
	.nav-links {
		margin-top: 30px;
	}
	.nav-links .page-numbers {
		width: 30px;
		height: 30px;
		font-size: 14px;
		line-height: 30px;
		background-size: 10px auto;
	}
}

