/**
Theme Name: MatsuriSydney-child
Author: Akiko Morita
Author URI: https://akikomorita.me/
Description: Child theme for MatsuriSydney
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matsurisydney-child
Template: astra
*/


.hidepc{
    display: none;
}
.hidemobile{
    display: block;
}
@media screen and (max-width:767px) {
    .hidepc{
        display: block;
    }
    .hidemobile{
        display: none;
    }
}

.grecaptcha-badge { visibility: hidden; }

.p-margin p {
	margin-bottom: 0px;
}

/* ==========================================
   Transparent Header - Active Menu
========================================== */

.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link {
	color: #FFFFFFCC !important;
}
/* Sticky Header */
.ast-theme-transparent-header
.ast-sticky-active
.ast-builder-menu
.main-header-menu > .menu-item > .menu-link,

.ast-theme-transparent-header
.ast-sticky-active
.ast-builder-menu
.main-header-menu
.current-menu-item > .menu-link {
	color: #161616 !important;
}

.ast-theme-transparent-header
.ast-sticky-active
.ast-builder-menu
.main-header-menu > .menu-item > .menu-link:hover {
	color: #D71920 !important;
}

/* ==================================================
   Matsuri HERO
================================================== */

.matsuri-hero {
	--matsuri-red: #d71920;
	--matsuri-yellow: #D4A017;
	--matsuri-white: #ffffff;
	--matsuri-dark: #151515;

	position: relative;
	width: 100%;
	min-height: 720px;
	height: 88svh;
	max-height: 920px;
	overflow: hidden;
	background: var(--matsuri-dark);
	color: var(--matsuri-white);
	isolation: isolate;
}

/* Elementor HTMLウィジェットの余分な高さ対策 */
.matsuri-hero .elementor-widget-container {
	height: 100%;
}

.matsuri-hero__slider,
.matsuri-hero__slider .swiper-wrapper,
.matsuri-hero__slide,
.matsuri-hero__slide picture {
	width: 100%;
	height: 100%;
}

.matsuri-hero__slide {
	position: relative;
	overflow: hidden;
}

.matsuri-hero__slide picture {
	display: block;
}

.matsuri-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/* 背景の暗幕 */
.matsuri-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.8) 0%,
			rgba(0, 0, 0, 0.63) 40%,
			rgba(0, 0, 0, 0.28) 72%,
			rgba(0, 0, 0, 0.34) 100%
		),
		linear-gradient(
			0deg,
			rgba(0, 0, 0, 0.48) 0%,
			rgba(0, 0, 0, 0.04) 58%
		);
}

/* テキスト */
.matsuri-hero__content {
	position: absolute;
	top: calc(50% + 44px);
	left: max(6vw, 40px);
	z-index: 3;
	width: min(1000px, 82%);
	transform: translateY(-50%);
}

.matsuri-hero__anniversary-logo {
	margin-bottom: 25px;
}

.matsuri-hero__anniversary-logo img {
	display: block;
	width: auto;
	max-width: 120px;
	max-height: 72px;
	object-fit: contain;
}

.matsuri-hero__eyebrow {
	margin: 0 0 14px;
	color: var(--matsuri-yellow);
	font-size: 12px;
	opacity:.9;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing:0.20em;
	text-transform: uppercase;
}

.matsuri-hero__title {
	margin: 0;
	color: var(--matsuri-white);
	font-size: clamp(48px, 5.4vw, 84px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.04em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.matsuri-hero__title span {
	display: block;
	color: var(--matsuri-yellow);
}

.matsuri-hero__anniversary-text {
	max-width: 700px;
	margin: 20px 0 0;
	color: var(--matsuri-white);
	font-size: clamp(19px, 2vw, 27px);
	font-weight: 600;
	line-height: 1.4;
}

.matsuri-hero__event-info {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 42px;
	margin-top: 28px;
}

.matsuri-hero__info-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.matsuri-hero__info-label {
	color: var(--matsuri-yellow);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.matsuri-hero__info-value {
	color: var(--matsuri-white);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
}

.matsuri-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.matsuri-hero__button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: 2px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
}

.matsuri-hero__button:hover,
.matsuri-hero__button:focus-visible {
	transform: translateY(-2px);
}

.matsuri-hero__button--primary {
	border-color: var(--matsuri-red);
	background: var(--matsuri-red);
	color: var(--matsuri-white);
}

.matsuri-hero__button--primary:hover,
.matsuri-hero__button--primary:focus-visible {
	border-color: #b80e15;
	background: #b80e15;
	color: var(--matsuri-white);
}

.matsuri-hero__button--secondary {
	border-color: rgba(255, 255, 255, 0.82);
	background: rgba(0, 0, 0, 0.15);
	color: var(--matsuri-white);
	backdrop-filter: blur(5px);
}

.matsuri-hero__button--secondary:hover,
.matsuri-hero__button--secondary:focus-visible {
	border-color: var(--matsuri-white);
	background: var(--matsuri-white);
	color: var(--matsuri-dark);
}

/* ==================================================
   Slide label
================================================== */

.matsuri-hero__slide-label {
	position: absolute;
	right: max(4vw, 30px);
	bottom: 72px;
	z-index: 4;
	padding: 8px 14px;
	border-left: 3px solid var(--matsuri-yellow);
	background: rgba(0, 0, 0, 0.45);
	color: var(--matsuri-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
	transition:
		opacity 0.25s ease,
		transform 0.25s ease;
}

.matsuri-hero__slide-label.is-changing {
	opacity: 0;
	transform: translateY(5px);
}

/* ==================================================
   Pagination
================================================== */

.matsuri-hero__pagination {
	right: max(4vw, 30px) !important;
	bottom: 34px !important;
	left: auto !important;
	z-index: 4;
	display: flex;
	width: auto !important;
	gap: 8px;
}

.matsuri-hero__pagination .swiper-pagination-bullet {
	width: 30px;
	height: 3px;
	margin: 0 !important;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.45);
	opacity: 1;
}

.matsuri-hero__pagination .swiper-pagination-bullet-active {
	background: var(--matsuri-yellow);
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 1024px) {

	.matsuri-hero {
		min-height: 680px;
		height: 84svh;
	}

	.matsuri-hero__content {
		left: 42px;
		width: min(650px, calc(100% - 84px));
	}

	.matsuri-hero__title {
		font-size: clamp(46px, 8vw, 70px);
	}
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 767px) {

	.matsuri-hero {
		min-height: 700px;
		height: 100svh;
		max-height: 850px;
	}

	.matsuri-hero__image {
		object-position: center center;
	}

	.matsuri-hero__overlay {
		background:
			linear-gradient(
				0deg,
				rgba(0, 0, 0, 0.88) 0%,
				rgba(0, 0, 0, 0.62) 58%,
				rgba(0, 0, 0, 0.25) 100%
			);
	}

	.matsuri-hero__content {
		top: auto;
		right: 22px;
		bottom: 92px;
		left: 22px;
		width: auto;
		transform: none;
	}

	.matsuri-hero__anniversary-logo {
		margin-bottom: 14px;
	}

	.matsuri-hero__anniversary-logo img {
		max-width: 100px;
		max-height: 60px;
	}

	.matsuri-hero__eyebrow {
		margin-bottom: 9px;
		font-size: 10px;
		letter-spacing: 0.12em;
	}

	.matsuri-hero__title {
		font-size: clamp(38px, 11.5vw, 54px);
		line-height: 1.02;
	}

	.matsuri-hero__anniversary-text {
		margin-top: 14px;
		font-size: 17px;
	}

	.matsuri-hero__event-info {
		display: grid;
		gap: 9px;
		margin-top: 18px;
	}

	.matsuri-hero__info-value {
		font-size: 14px;
	}

	.matsuri-hero__buttons {
		display: grid;
		gap: 9px;
		margin-top: 22px;
	}

	.matsuri-hero__button {
		width: 100%;
		min-height: 48px;
		padding: 11px 16px;
		font-size: 14px;
	}

	.matsuri-hero__slide-label {
		right: 22px;
		bottom: 49px;
		padding: 6px 10px;
		font-size: 10px;
	}

	.matsuri-hero__pagination {
		right: auto !important;
		bottom: 24px !important;
		left: 22px !important;
	}

	.matsuri-hero__pagination .swiper-pagination-bullet {
		width: 22px;
	}
}

@media (max-width: 390px) {

	.matsuri-hero {
		min-height: 720px;
	}

	.matsuri-hero__title {
		font-size: 37px;
	}

	.matsuri-hero__anniversary-text {
		font-size: 15px;
	}
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {

	.matsuri-hero__button,
	.matsuri-hero__slide-label {
		transition: none;
	}
}

/* ==================================================
   Remove underline from HERO buttons
================================================== */

.matsuri-hero__button,
.matsuri-hero__button:link,
.matsuri-hero__button:visited,
.matsuri-hero__button:hover,
.matsuri-hero__button:focus,
.matsuri-hero__button:active {
	text-decoration: none !important;
}

.matsuri-hero__button *,
.matsuri-hero__button:hover * {
	text-decoration: none !important;
}


/* ==================================================
   Tablet & Mobile
   Swiperの構造を壊さずHERO全面に画像を表示
================================================== */

@media (max-width: 1024px) {

	/* スライダー本体だけをHERO全面へ配置 */
	.matsuri-hero__slider {
		position: absolute !important;
		inset: 0 !important;
		z-index: 1 !important;
		width: 100% !important;
		height: 100% !important;
	}

	/*
	 * wrapperとslideにはabsoluteを指定しない
	 * Swiperの位置計算を維持する
	 */
	.matsuri-hero__slider .swiper-wrapper {
		width: 100% !important;
		height: 100% !important;
	}

	.matsuri-hero__slide {
		position: relative !important;
		width: 100% !important;
		height: 100% !important;
		overflow: hidden;
	}

	/* pictureを各スライド全面へ */
	.matsuri-hero__slide picture {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
	}

	/* 画像をHERO全面へcover */
	.matsuri-hero__image {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		object-fit: cover !important;
	}

	/* オーバーレイ */
	.matsuri-hero__overlay {
		position: absolute !important;
		inset: 0 !important;
		z-index: 2 !important;
		display: block !important;
		opacity: 1 !important;
		pointer-events: none;
	}

	/* コンテンツを前面へ */
	.matsuri-hero__content {
		z-index: 3 !important;
	}

	.matsuri-hero__slide-label,
	.matsuri-hero__pagination {
		z-index: 4 !important;
	}
}


/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

	.matsuri-hero__image {
		object-position: center center !important;
	}

	.matsuri-hero__overlay {
		background:
			linear-gradient(
				90deg,
				rgba(0, 0, 0, 0.72) 0%,
				rgba(0, 0, 0, 0.50) 48%,
				rgba(0, 0, 0, 0.20) 100%
			),
			linear-gradient(
				180deg,
				rgba(0, 0, 0, 0.14) 0%,
				rgba(0, 0, 0, 0.22) 38%,
				rgba(0, 0, 0, 0.45) 68%,
				rgba(0, 0, 0, 0.76) 100%
			) !important;
	}
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767px) {

	.matsuri-hero__image {
		object-position: center 30% !important;
	}

	.matsuri-hero__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(0, 0, 0, 0.20) 0%,
				rgba(0, 0, 0, 0.28) 30%,
				rgba(0, 0, 0, 0.50) 54%,
				rgba(0, 0, 0, 0.76) 74%,
				rgba(0, 0, 0, 0.90) 100%
			) !important;
	}
}

/* ==================================================
   Festival Highlights
================================================== */

.matsuri-highlights {
	--highlight-red: #D71920;
	--highlight-gold: #d4a017;
	--highlight-dark: #161616;
	--highlight-text: #4b5563;

	padding: 0px 40px;
	background: #fafafa;
}
/*
.matsuri-highlights__heading {
	max-width: 760px;
	margin: 0 auto 58px;
	text-align: center;
}

.matsuri-highlights__eyebrow {
	margin: 0 0 14px;
	color: var(--highlight-red);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.matsuri-highlights__title {
	margin: 0;
	color: var(--highlight-dark);
	font-size: clamp(38px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.14;
}

.matsuri-highlights__intro {
	max-width: 660px;
	margin: 22px auto 0;
	color: var(--highlight-text);
	font-size: 17px;
	line-height: 1.75;
}
*/

/* ==================================================
   Magazine Grid
================================================== */

.matsuri-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(3, 250px);
	grid-template-areas:
		"item1 item1 item2 item3"
		"item1 item1 item4 item5"
		"item6 item7 item7 item8";
	gap: 16px;
	max-width: 1200px;
	margin-inline: auto;
}

.matsuri-gallery__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #161616;
	isolation: isolate;
}

.matsuri-gallery__item--1 {
	grid-area: item1;
}

.matsuri-gallery__item--2 {
	grid-area: item2;
}

.matsuri-gallery__item--3 {
	grid-area: item3;
}

.matsuri-gallery__item--4 {
	grid-area: item4;
}

.matsuri-gallery__item--5 {
	grid-area: item5;
}

.matsuri-gallery__item--6 {
	grid-area: item6;
}

.matsuri-gallery__item--7 {
	grid-area: item7;
}

.matsuri-gallery__item--8 {
	grid-area: item8;
}

.matsuri-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
		filter 0.4s ease;
}

.matsuri-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.02) 35%,
			rgba(0, 0, 0, 0.72) 100%
		);
	transition: background 0.4s ease;
}

.matsuri-gallery__item figcaption {
	position: absolute;
	right: 20px;
	bottom: 18px;
	left: 20px;
	z-index: 2;
}

.matsuri-gallery__item figcaption span {
	display: inline-flex;
	align-items: center;
	padding-left: 12px;
	border-left: 3px solid var(--highlight-gold);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media (hover: hover) {

	.matsuri-gallery__item:hover img {
		transform: scale(1.07);
		filter: saturate(1.05);
	}

	.matsuri-gallery__item:hover::after {
		background:
			linear-gradient(
				180deg,
				rgba(0, 0, 0, 0.04) 25%,
				rgba(0, 0, 0, 0.82) 100%
			);
	}
}

/* 角を少しだけ整える */
.matsuri-gallery__item:first-child {
	border-radius: 6px 0 0 0;
}

.matsuri-gallery__item:nth-child(3) {
	border-radius: 0 6px 0 0;
}

.matsuri-gallery__item:nth-child(6) {
	border-radius: 0 0 0 6px;
}

.matsuri-gallery__item:last-child {
	border-radius: 0 0 6px 0;
}
/*
.matsuri-highlights__footer{
	margin-top:60px;
	text-align:center;
}

.matsuri-highlights__more{
	max-width:720px;
	margin:0 auto;
	color:#5F6B7A;
	font-size:17px;
	line-height:1.8;
	font-weight:400;
}

.matsuri-highlights__more strong{
	color:#161616;
	font-weight:600;
}
*/

/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

	.matsuri-highlights {
		padding: 0px 32px;
	}
/*
	.matsuri-highlights__heading {
		margin-bottom: 44px;
	}
*/
	.matsuri-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 360px repeat(3, 240px);
		grid-template-areas:
			"item1 item1"
			"item2 item3"
			"item4 item5"
			"item6 item7"
			"item8 item8";
		gap: 14px;
	}

	.matsuri-gallery__item--8 {
		min-height: 240px;
	}
/*
	.matsuri-highlights__footer{
		margin-top:48px;
	}
	*/
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 767px) {

	.matsuri-highlights {
		padding: 0px 22px;
	}
/*
	.matsuri-highlights__heading {
		margin-bottom: 34px;
	}

	.matsuri-highlights__title {
		font-size: 36px;
	}

	.matsuri-highlights__intro {
		font-size: 16px;
	}
*/
	.matsuri-gallery {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows:
			260px
			180px
			180px
			180px
			180px;
		grid-template-areas:
			"item1 item1"
			"item2 item3"
			"item4 item5"
			"item6 item7"
			"item8 item8";
		gap: 10px;
	}

	.matsuri-gallery__item figcaption {
		right: 12px;
		bottom: 12px;
		left: 12px;
	}

	.matsuri-gallery__item figcaption span {
		padding-left: 8px;
		border-left-width: 2px;
		font-size: 11px;
		letter-spacing: 0;
	}
/*
	.matsuri-highlights__footer{
		margin-top:36px;
	}

	.matsuri-highlights__more{
		font-size:16px;
		line-height:1.75;
}
*/

}

/* ==================================================
   Get Involved Button
================================================== */
.matsuri-link-button{
	position:relative;
	display:inline-flex;
	align-items:center;
	gap:10px;

	color:#D71920;
	font-size:16px;
	font-weight:700;
	text-decoration:none;
}

.matsuri-link-button::after{
	content:"";
	position:absolute;
	left:0;
	bottom:-6px;

	width:0;
	height:2px;

	background:#D71920;

	transition:.35s;
}

.matsuri-link-button:hover::after{
	width:100%;
}

.matsuri-link-button .arrow{
	transition:.35s;
}

.matsuri-link-button:hover .arrow{
	transform:translateX(6px);
}

.matsuri-link-button:hover{
	color:#B91319;
}

/* ==================================================
   Volunteer Form - Simple Styling
================================================== */

.matsuri-form {
	max-width: 640px;
	margin: 0 auto;
	color: #4B5563;
	font-size: 16px;
	line-height: 1.7;
}

/* 各項目の間隔 */
.matsuri-form .matsuri-form__fields {
	display: grid;
	gap: 18px;
}

.matsuri-form .matsuri-form__field {
	margin: 0;
}

/* ラベル */
.matsuri-form label,
.matsuri-form legend {
	display: block;
	margin: 0 0 7px;
	padding: 0;
	color: #161616;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.matsuri-form legend {
	width: auto;
}

/* 必須マーク */
.matsuri-form .required {
	color: #D71920;
}

/* 補足文 */
.matsuri-form .matsuri-form__help {
	margin: 0 0 13px;
	color: #5F6B7A;
	font-size: 14px;
	line-height: 1.65;
}

/* テキスト入力・セレクト・テキストエリア */
.matsuri-form input[type="text"],
.matsuri-form input[type="email"],
.matsuri-form input[type="tel"],
.matsuri-form select,
.matsuri-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid #D9DEE5;
	border-radius: 3px;
	background: #FFFFFF;
	color: #161616;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	box-shadow: none;
}

.matsuri-form textarea {
	min-height: 180px;
	resize: vertical;
}

.matsuri-form input::placeholder,
.matsuri-form textarea::placeholder {
	color: #9CA3AF;
}

/* フォーカス */
.matsuri-form input:focus,
.matsuri-form select:focus,
.matsuri-form textarea:focus {
	outline: none;
	border-color: #D71920;
	box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.10);
}

/* ラジオ項目 */
.matsuri-form .matsuri-form__choice {
	margin: 0;
	padding: 20px 22px;
	border: 1px solid #E5E7EB;
	border-radius: 3px;
	background: #FFFFFF;
}

.matsuri-form .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.matsuri-form .wpcf7-list-item {
	margin: 0;
}

.matsuri-form .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: #161616;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
}

.matsuri-form input[type="radio"],
.matsuri-form input[type="checkbox"] {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: #D71920;
}

/* 同意欄 */
.matsuri-form .matsuri-form__agreement {
	margin-top: 2px;
}

.matsuri-form .matsuri-form__agreement .wpcf7-list-item label {
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.55;
}

/* 送信ボタン */
.matsuri-form .matsuri-form__actions {
	margin-top: 4px;
}

.matsuri-form .wpcf7-submit {
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid #D71920;
	border-radius: 3px;
	background: #D71920;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.matsuri-form .wpcf7-submit:hover {
	border-color: #B91319;
	background: #B91319;
	transform: translateY(-1px);
}

/* エラーメッセージ */
.matsuri-form .wpcf7-not-valid-tip {
	margin-top: 5px;
	color: #D71920;
	font-size: 13px;
}

/* 送信結果 */
.matsuri-form .wpcf7-response-output {
	margin: 22px 0 0 !important;
	padding: 12px 14px !important;
	border-width: 1px !important;
	font-size: 15px;
	line-height: 1.6;
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 767px) {

	.matsuri-form {
		max-width: none;
		font-size: 15px;
	}

	.matsuri-form .matsuri-form__fields {
		gap: 16px;
	}

	.matsuri-form .matsuri-form__choice {
		padding: 18px 16px;
	}

	.matsuri-form .wpcf7-radio {
		display: grid;
		gap: 10px;
	}

	.matsuri-form input[type="text"],
	.matsuri-form input[type="email"],
	.matsuri-form input[type="tel"],
	.matsuri-form select,
	.matsuri-form textarea {
		font-size: 15px;
	}

	.matsuri-form .wpcf7-submit {
		width: 100%;
	}
}


/* ==================================================
   Legal Pages
================================================== */

.matsuri-legal {
	max-width: 820px;
	margin: 0 auto;
	color: #4B5563;
	font-size: 16px;
	line-height: 1.9;
}

.matsuri-legal > *:first-child {
	margin-top: 0;
}

/* Paragraph */
.matsuri-legal p {
	margin: 0 0 1.5rem;
}

.matsuri-legal strong {
	color: #161616;
	font-weight: 600;
}

.matsuri-legal em {
	color: #5F6B7A;
}

/* Heading 2 */

.matsuri-legal h2 {
	margin: 3rem 0 1rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid #D71920;
	color: #161616;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
}

/* Heading 3 */

.matsuri-legal h3 {
	margin: 2rem 0 .75rem;
	color: #161616;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
}

/* Lists */

.matsuri-legal ul,
.matsuri-legal ol {
	margin: 0 0 1.8rem 1.4rem;
	padding: 0;
}

.matsuri-legal li {
	margin-bottom: .65rem;
	line-height: 1.8;
}

/* Links */

.matsuri-legal a {
	color: #D71920;
	text-decoration: none;
	transition: color .25s ease;
}

.matsuri-legal a:hover {
	color: #B91319;
	text-decoration: underline;
}

/* Tables */

.matsuri-legal table {
	width: 100%;
	margin: 1.8rem 0;
	border-collapse: collapse;
}

.matsuri-legal th,
.matsuri-legal td {
	padding: 12px 16px;
	border: 1px solid #E5E7EB;
	text-align: left;
	vertical-align: top;
}

.matsuri-legal th {
	background: #F8F8F8;
	color: #161616;
	font-weight: 600;
}

/* Blockquote */

.matsuri-legal blockquote {
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid #D71920;
	background: #F8F8F8;
	font-style: italic;
}

/* Notice */

.matsuri-legal .matsuri-legal__notice {
	margin-top: 2.5rem;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #D71920;
	background: #F8F8F8;
	font-size: 15px;
	color: #5F6B7A;
}

/* ==================================================
   Tablet
================================================== */

@media (max-width:1024px){

	.matsuri-legal h2{
		font-size:28px;
	}

	.matsuri-legal h3{
		font-size:21px;
	}

}

/* ==================================================
   Mobile
================================================== */

@media (max-width:767px){

	.matsuri-legal{
		font-size:16px;
		line-height:1.85;
	}

	.matsuri-legal h2{
		margin-top:2.4rem;
		font-size:24px;
	}

	.matsuri-legal h3{
		font-size:20px;
	}

	.matsuri-legal ul,
	.matsuri-legal ol{
		margin-left:1.2rem;
	}

	.matsuri-legal table{
		display:block;
		overflow-x:auto;
	}

	.matsuri-legal .matsuri-legal__notice{
		padding:1rem 1.2rem;
		font-size:14px;
	}

}