/***********************
* Responsive Breakpoints
* 1025px +          PC
* 768px - 1024px    Tablet - PC
* 0px - 767px       SmartPhone
************************/

@font-face {
	font-family: "NotoSansJP";
	src: url("fonts/NotoSansJP-VariableFont_wght.woff2") format("woff2");
	src: url("fonts/NotoSansJP-VariableFont_wght.woff") format("woff");
	font-display: swap;
}

@font-face {
	font-family: "kvFont";
	src: url("fonts/NotoSerifJP-Regular.woff2") format("woff2");
	src: url("fonts/NotoSerifJP-Regular.woff") format("woff");
	font-display: optional;
}

@font-face {
	font-family: "bodyFont";
	src: url("fonts/NotoSerifJP-Regular.woff2") format("woff2");
	src: url("fonts/NotoSerifJP-Regular.woff") format("woff");
	font-display: swap;
}

@font-face {
	font-family: "bodZenMaruGothic";
	src: url("fonts/ZenMaruGothic-Medium.woff2") format("woff2");
	src: url("fonts/ZenMaruGothic-Medium.woff") format("woff");
	font-display: swap;
}

html {
	height: -webkit-fill-available;
}

body {
	font-family: "NotoSansJP", serif;
	min-height: 100vh;
	position: relative;
}

/*********************
* common
***********************/
:root {
	--color-main: rgb(196, 13, 35);
	--color-sub: rgb(255, 244, 244);
	--color-sub2: rgb(126, 91, 69);
	--color-bg: rgb(250, 250, 250);
	--yellow: #ffea00;
	--g-yellow: #fff3a6;
	--l-yellow: rgba(255, 198, 0, 0.5);
	--p-yellow: rgba(255, 198, 0, 0.15);
	--orange: #ffc600;
	--g-orange: #ffd04d;
	--green: #2cb4ad;
	--d-orange: #eb6238;
	--d-blue: #003eba;
	--hi-red: #e52a34;
	--distance: 50px;
	--distance-s: 25px;
	--distance-l: 100px;
	--distance-xl: 150px;
	--radius: 10px;
	--radius-s: 5px;
	--radius-l: 20px;
	--radius-xl: 30px;
	--fnt-xs: 10px;
	--fnt-s: 12px;
	--fnt-m: 30px;
	--fnt-l: 36px;
	--fnt-xl: 48px;
	--fnt-copy: 30px;
	--sub-container: 1000px;
	--inner-container: 800px;
	--shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	:root {
		--distance: 35px;
		--distance-s: 20px;
		--distance-l: 65px;
		--distance-xl: 95px;
		--radius: 10px;
		--radius-s: 5px;
		--radius-l: 20px;
		--radius-xl: 30px;
		--fnt-xs: 9px;
		--fnt-s: 11px;
		--fnt-m: 24px;
		--fnt-l: 28px;
		--fnt-xl: 36px;
		--fnt-copy: 24px;
	}
}

@media screen and (max-width: 767px) {
	:root {
		--distance: 25px;
		--distance-s: 10px;
		--distance-l: 50px;
		--distance-xl: 75px;
		--radius: 7px;
		--radius-s: 3px;
		--radius-l: 15px;
		--radius-xl: 25px;
		--fnt-xs: 9px;
		--fnt-s: 11px;
		--fnt-m: 18px;
		--fnt-l: 21px;
		--fnt-xl: 29px;
		--fnt-copy: 18px;
	}
}

@media screen and (max-width: 480px) {
	:root {
		--fnt-copy: 16px;
	}
}

/* svg - logo */
img[src*=".svg"] {
	width: 100%;
	height: auto;
}

/* Decoration */
.b {
	font-weight: 900;
}

.cb {
	clear: both;
}

.ib {
	display: inline-block;
}

.wp-block-group {
	margin: 0;
	padding: 0;
}

.mt-l {
	margin-top: var(--distance-l) !important;
}

.mt-m {
	margin-top: var(--distance) !important;
}

.pc-center {
	text-align: center;
}

.right-sp-left {
	text-align: right;
}

@media screen and (max-width: 768px) {
	.pc-center {
		text-align: left !important;
		padding: 1rem !important;
	}

	.right-sp-left {
		text-align: left;
	}
}

.pc-none {
	display: none !important;
}

.sp-none {
	display: block !important;
}

@media screen and (max-width: 480px) {
	.pc-none {
		display: block !important;
	}

	.sp-none {
		display: none !important;
	}
}

/* 「メディアとテキスト」ブロック余白修正 */
.wp-block-media-text > .wp-block-media-text__content {
	padding: 0;
}

.wp-block-media-text > figure:first-child + .wp-block-media-text__content {
	padding-left: 8%;
	padding-right: 0;
}

.wp-block-media-text > .wp-block-media-text__content:first-child {
	padding-right: 8%;
	padding-left: 0;
}

@media (max-width: 679px) {
	.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.wp-block-media-text > figure:first-child + .wp-block-media-text__content {
		padding-top: 8%;
	}

	.wp-block-media-text > .wp-block-media-text__content:first-child {
		padding-top: 8%;
	}
}

.home p {
	font-size: 1.2rem;
	line-height: 1.8;
}

p,
li {
	font-size: 1.1rem;
}

.nishiki-pro-breadcrumbs li {
	font-size: 0.8rem;
}

.sub-container {
	max-width: var(--sub-container);
}

body {
	background: url("img/sand.png") repeat;
	background-size: 250px auto;
}

@media screen and (max-width: 480px) {
	.entry-content table th,
	.entry-content table td,
	.nishiki-pro-content table th,
	.nishiki-pro-content table td {
		font-size: 1rem;
	}
}

/* フレームブロックラベル「ポイント」 */
.point-block {
	margin-top: 3rem;
}

.point-block .label {
	display: inline-block;
	transform: rotate(-10deg);
	transform-origin: center;
	font-weight: bold;
	font-size: 1.1rem;
}

body:not(.category-3) .archives .point-block p {
	border: 2px solid transparent;
	border-image: linear-gradient(to right, var(--orange), var(--yellow)) 1;
	background-color: white;
	padding: 0.5rem 1rem !important;
	max-width: 756px;
	margin: 0 auto;
}

/* youtube & Google Map */
.youtube,
.gmap {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.youtube iframe,
.gmap iframe {
	width: 100%;
	height: 100%;
}

h2 {
	border-color: transparent;
}

/*ページ左右装飾（葉・花） */

@media screen and (min-width: 2000px) {
	#page #content::before,
	#page #content::after {
		display: none;
	}
}

@media screen and (max-width: 1999px) {
	#page #content::before,
	#page #content::after {
		display: block;
	}
}

@media screen and (min-width: 480px) {
	#page #content::before,
	#page #content::after {
		content: "";
		position: absolute;
		top: 0;
		height: 100%;
		background-size: contain;
		background-repeat: repeat-y;
		pointer-events: none;
		z-index: 99;
	}

	#page #content::before {
		left: 0;
		background-image: url("img/tree-L.png");
		background-position: left top;
	}

	#page #content::after {
		right: 0;
		background-image: url("img/tree-R.png");
		background-position: right top;
	}
}

@media screen and (min-width: 480px) {
	#page #content::before,
	#page #content::after {
		width: 8%;
	}
}

/*********************
* top page
***********************/

/* header */
#masthead .site-info {
	margin-left: 8%;
	margin-right: auto;
}

#masthead .site-info a img {
	width: 100%;
	max-height: 56px;
}

#masthead .container {
	margin: 0 auto;
	max-width: 1200px;
}

#masthead {
	background-color: transparent;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	z-index: 1000;
}

#masthead .site-info img {
	padding: 0.5rem 0;
	filter: drop-shadow(1px 0 2px rgba(255, 255, 255, 0.7))
		drop-shadow(-1px 0 2px rgba(255, 255, 255, 0.7))
		drop-shadow(0 1px 2px rgba(255, 255, 255, 0.7))
		drop-shadow(0 -1px 2px rgba(255, 255, 255, 0.7));
}

@media screen and (max-width: 480px) {
	#masthead {
		margin: 0 auto;
	}
}

:root {
	--header-h: 70px;
}

@media (max-width: 768px) {
	:root {
		--header-h: 50px;
	}
}

body.admin-bar #masthead {
	top: 35px;
}

@media screen and (max-width: 768px) {
	body.admin-bar #masthead {
		top: 0px;
	}
}

/* hero */
.hero {
	background: url("img/heroimg.jpg") center/cover no-repeat;
	margin-top: calc(var(--header-h) * -1);
	padding-top: var(--header-h);
	margin-bottom: 0;
}

.hero-container {
	max-width: var(--sub-container);
	padding: 0 var(--distance);
	min-height: 480px;
}

@media screen and (max-width: 980px) {
	.hero-container {
		min-height: 580px;
		padding: 0 10%;
	}

	.cta-btm .hero-container {
		min-height: 300px;
		padding: 0 1rem !important;
	}
}

@media screen and (max-width: 480px) {
	.hero-container {
		padding: 0 5%;
	}

	.cta-btm .hero-container {
		padding: 0;
		min-height: 260px !important;
	}
}

.hero-container h2 {
	font-size: 1.8rem;
	font-weight: 600;
	display: block;
	background: #fff;
	padding: 0.2rem 0.6em;
	line-height: 1.8;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transform: rotate(-5deg);
	transform-origin: left center;
}

@media screen and (max-width: 768px) {
	.hero-container h2 {
		font-size: 1.4rem;
		margin-bottom: 0;
		margin-top: 1rem;
	}
}

@media screen and (max-width: 480px) {
	.hero-container h2 {
		font-size: 1.1rem;
	}
}

.hero-container h2:first-child {
	margin-top: var(--distance-l);
}

.hero-container h2:last-child {
	margin-left: 0.25rem !important;
}

@media screen and (max-width: 480px) {
	.hero-container h2:first-child {
		margin-top: 3rem;
		margin-bottom: 1rem;
	}

	.hero-container h2:last-child {
		margin-top: 0;
	}

	.cta-btm .hero-container h2 {
		margin-left: 0 !important;
	}
}

.hero-container.is-layout-constrained h2 {
	width: fit-content;
}

.hero-container h2.brush-yellow {
	position: relative;
	background-color: #fff;
}

.hero-container h2.brush-yellow::after {
	content: "";
	position: absolute;
	left: 0.5rem;
	bottom: -1em;
	width: 40vw;
	height: 2.2rem;
	transform: rotate(3deg);
	background: url("img/brush-yellow.png") no-repeat left bottom;
	background-size: contain;
	pointer-events: none;
}

/* polaroid */
.wp-block-columns.polaroid {
	margin-top: -120px;
	margin-bottom: -60px !important;
	max-width: var(--sub-container) !important;
}

@media screen and (max-width: 768px) {
	.polaroid {
		gap: 0;
		margin-top: -80px;
		margin-bottom: -80px !important;
	}
}

.polaroid img {
	width: 135px;
	max-width: 100%;
	display: inline-block;
	background: #fff;
	padding: 4% 4% 15%;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
	border: 1px solid #eee;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

@media screen and (max-width: 768px) {
	.polaroid img {
		width: 16vw;
	}
}

.photo1,
.photo2,
.photo3,
.photo4,
.photo5 {
	position: relative;
	z-index: 100;
}

.photo1 {
	transform: rotate(-5deg) translate(-15px, -50px);
}

.photo2 {
	transform: rotate(10deg) translate(-50px, 0px);
}

.photo3 {
	transform: rotate(-5deg) translate(-30px, -10px);
}

.photo4 {
	transform: rotate(-10deg) translate(110px, -30px);
}

.photo5 {
	transform: rotate(3deg) translate(40px, 0px);
}

@media screen and (max-width: 768px) {
	.photo3 {
		transform: translate(0px, -10px);
	}

	.photo4 {
		transform: rotate(-5deg) translate(60px, -10px);
	}

	.photo5 {
		transform: rotate(5deg) translate(40px, -30px);
	}
}

@media screen and (max-width: 480px) {
	.photo1 {
		transform: rotate(-10deg) translate(-5px, -60px);
	}

	.photo2 {
		transform: rotate(10deg) translate(-40px, -10px);
	}

	.photo3 {
		transform: rotate(3deg) translate(0px, -30px);
	}

	.photo5 {
		transform: rotate(5deg) translate(20px, -70px);
	}
}

/* ２週間で免許×南国リゾート target*/
.copy {
	text-shadow: 0 3px 2px rgba(10, 10, 60, 1);
	text-shadow: 0 3px 16px rgba(10, 10, 60, 1);
	padding-top: var(--distance);
}

.copy h2,
p.copy-sub {
	text-align: center;
	color: #fff;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 0.6em;
	font-size: clamp(1.2rem, 4vw, 2.4rem);
	margin: 0;
}

.copy-y {
	color: var(--yellow);
	padding: 0 0.5rem;
	font-size: clamp(2.2rem, 4.2vw, 2.8rem);
	text-shadow:
		-1px -1px 0 #fff,
		1px -1px 0 #fff,
		-1px 1px 0 #fff,
		1px 1px 0 #fff;
}

@media screen and (max-width: 480px) {
	.copy,
	.copy-y {
		padding: 0;
	}
}

.target-frame {
	position: relative;
	padding: 6rem 1rem;
	margin-top: 0 !important;
	min-height: 100vh;
	overflow: hidden;
	z-index: 0;
}

@media screen and (max-width: 480px) {
	.target-frame {
		padding: 6rem 1rem 1rem;
	}
}

.target-frame::after {
	content: "";
	position: absolute;
	inset: -5% 0 -5% 0;
	background: url("img/main-bg.jpg") center/cover no-repeat;
	z-index: -1;
}

.target-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("img/hibiscus-flame.png") center top / 100% no-repeat;
	pointer-events: none;
}

@media screen and (max-width: 768px) {
	.target-frame::before {
		background: url("img/hibiscus-flame.png") center top / 130% no-repeat;
	}
}

@media screen and (min-width: 1600px) {
	.target-frame::before {
		background: url("img/hibiscus-flame.png") center top / 1400px no-repeat;
	}
}

@media screen and (max-width: 480px) {
	.target-frame::before {
		background: url("img/hibiscus-flame.png") center top / 160% no-repeat;
	}
}

.target {
	padding: var(--distance) 0;
	max-width: 850px;
}

.target .wp-block-columns {
	column-gap: 0;
	margin: 0;
}

.target .wp-block-column {
	max-width: 500px;
}

.target h3 {
	font-weight: bold;
	display: inline-block;
	padding: 0 0.6em;
	background: linear-gradient(to top, var(--orange), var(--yellow));
	transform: translateY(2.4rem) rotate(-5deg);
	margin-left: 1rem !important;
	margin-top: -2.4rem !important;
	font-size: 1.6rem;
	z-index: 99 !important;
	position: relative;
}

@media screen and (max-width: 780px) {
	.target h3 {
		margin-left: calc((100% - 420px) / 2);
	}
}

@media screen and (max-width: 480px) {
	.target h3 {
		margin-top: 0;
	}

	.target .wp-block-column {
		max-width: 300px;
	}
}

.target figure.wp-block-image.aligncenter {
	margin: 0 !important;
}

.target-photo {
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.target img {
	width: 400px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	display: block;
	border: 1.2rem solid white;
}

@media screen and (max-width: 480px) {
	.target img {
		width: 90%;
	}
}

.target figure {
	margin-left: 0 !important;
	margin-inline-start: 0;
}

.target p {
	font-size: clamp(1rem, 2.4vw, 1.1rem);
	background-color: white;
	padding: 0;
	max-width: 400px;
	margin: 0 !important;
	padding: 0 1.2rem 1.2rem;
	line-height: 1.6;
	font-weight: 500;
}

.target .target-photo {
	display: inline-block;
	margin-inline: auto;
	padding: 0 !important;
}

.target .target-photo figure {
	margin: 0 !important;
	display: flex;
	justify-content: center;
}

.target .target-photo img {
	width: auto !important;
	max-width: 400px;
	height: auto;
	display: block;
}

.target-btmsp {
	padding-bottom: 2.9rem !important;
}

.target .wp-block-column > h3 {
	width: auto;
	max-width: none;
}

.target .target-photo,
.target .wp-block-column > p {
	max-width: 400px;
	width: 100%;
	margin-inline: auto !important;
}

.target .target-photo {
	display: block;
}

/* 7つのずみポイント Zumi */

.balloon {
	position: relative;
	background: linear-gradient(to top, var(--orange), var(--yellow));
	padding: 1rem;
	text-align: center;
	border-radius: 8px;
	max-width: 700px;
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
	.plan-section > * {
		max-width: 90%;
	}
}

.balloon::after {
	content: "";
	position: absolute;
	bottom: -48px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 50px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C54,0 56,50 60,50 C64,50 66,0 120,0 Z' fill='%23ffc600'/%3E%3C/svg%3E")
		no-repeat center;
	background-size: contain;
	pointer-events: none;
}

.balloon p {
	font-size: clamp(1.1rem, 3vw, 1.6rem);
	font-weight: bold;
	margin: 0;
}

.balloon p .seven {
	font-size: clamp(2.4rem, 4vw, 2.2rem);
	padding: 0 5px;
}

.balloon-illust {
	position: absolute;
	right: 1.5rem;
	top: 15%;
	width: 100px;
	height: auto;
}

@media screen and (max-width: 480px) {
	.balloon-illust {
		right: -20px;
		top: -45%;
		width: 80px;
	}

	.balloon {
		padding: 1rem 0.5rem;
		margin-top: var(--distance-xl);
	}
}

.target-frame ul {
	margin-top: 4rem;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 2rem 5rem 5rem 4rem;
	font-weight: bold;
	font-size: clamp(1.1rem, 3vw, 1.4rem);
	list-style: none;
	position: relative;
}

@media screen and (max-width: 480px) {
	.target-frame ul {
		padding: 0.5rem !important;
	}
}

.target-frame li {
	margin: 0.5rem 0;
	position: relative;
	padding-top: 0.5rem;
	padding-left: 3.2rem;
	line-height: 1.6;
	padding-bottom: 1rem;
	font-size: 1.2rem;
}

@media screen and (max-width: 480px) {
	.target-frame li {
		padding-left: 3.2rem;
	}
}

.target-frame li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 40%;
	transform: translateY(-40%);
	width: 3rem;
	height: 3rem;
	background: url("img/zumi-icon.png") no-repeat center;
	background-size: contain;
	filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
		drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff);
}

.zumi-list {
	max-width: var(--sub-container) !important;
}

.shisa {
	text-align: center;
}

.shisa img {
	position: relative;
	top: -100px;
	max-width: 1100px;
	margin-bottom: -100px !important;
}

@media screen and (min-width: 789px) {
	.shisa-a-sp,
	.shisa-un-sp {
		display: none !important;
	}
}

@media screen and (max-width: 768px) {
	.shisa img {
		display: none;
	}

	.shisa-a-sp {
		position: relative;
		top: 1rem;
		z-index: 9;
		right: 10%;
	}

	.shisa-un-sp {
		position: relative;
		top: -3rem;
		z-index: 9;
	}
}

/* スケジュール */
.plan-section {
	position: relative;
	background: url("img/sand.png") repeat;
	background-size: 200px auto;
	z-index: 0;
	padding: 0;
}

/* .bg-road {
	padding-top: 100px;
	background: url('img/bg-road.png') no-repeat center top;
	background-size: 994px auto;
	background-origin: border-box;
	z-index: -1;
	pointer-events: none;
}

@media screen and (max-width:768px) {
	.bg-road {
		background-size: 100%;
	}
} */

.home h2:not(.hero-container *) {
	padding: 0;
	margin: 0;
}

.home .balloon:not(.hero-container *) {
	margin-top: 100px;
	margin-bottom: 50px;
}

.plan-section h3 {
	background-color: var(--l-yellow);
	display: inline-block;
	padding: 0 2rem;
}

@media screen and (max-width: 480px) {
	.plan-section p {
		padding-left: 2rem;
		margin-top: 0;
	}
}

.plan-container {
	margin-top: 3rem;
}

.plan-section table,
.archives table {
	border: 3px solid var(--orange);
	border-collapse: collapse;
	background-color: #fff;
	margin: 0 auto;
}

.plan-section table .archives table {
	border: none;
	border-collapse: collapse;
	background-color: #fff;
	margin: 0 auto;
}

.introduction-colmun {
	margin-top: 4rem;
}

@media screen and (max-width: 1080px) {
	.plan-section table,
	.archives table,
	.plan-title {
		max-width: 90%;
		margin: 0 auto;
	}

	.introduction-colmun {
		max-width: 90%;
	}
}

.plan-section table td,
.archives table td {
	padding: 0.5rem;
}

.plan-section table tr:nth-child(even),
.archives table tr:nth-child(even) {
	background-color: var(--p-yellow);
}

.plan-section table tr:nth-child(odd),
.archives table tr:nth-child(odd) {
	background-color: white;
}

.plan-section table td,
.plan-section table th,
.archives table td,
.archives table th {
	border: 1px solid #ccc;
}

.plan-section table th,
.archives table th {
	text-align: center;
	background-color: var(--l-yellow);
}

.plan-section table td:first-child {
	text-align: center;
}

.plan-section .price table td:last-child {
	text-align: center;
}

@media screen and (max-width: 480px) {
	.plan-section::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 150px;
		height: 100%;
		background: url("img/tree-L.png") repeat-y left top;
		background-size: contain;
		pointer-events: none;
		z-index: -99;
	}

	.plan-section::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		width: 160px;
		height: 100%;
		background: url("img/tree-R.png") repeat-y right top;
		background-size: contain;
		pointer-events: none;
		z-index: -99;
	}
}

@media screen and (min-width: 1700px) {
	.plan-section::before,
	.plan-section::after {
		display: none;
	}
}

@media screen and (max-width: 1300px) {
	.plan-section::before,
	.plan-section::after {
		width: 10vw;
	}
}

/* 教習所・合宿書紹介 introduction */
.introduction-colmun {
	margin-top: var(--distance-l);
	padding-bottom: var(--distance);
	max-width: 800px;
}

@media screen and (max-width: 480px) {
	.introduction-colmun p {
		padding: 0.8rem;
	}

	.introduction-colmun {
		padding-bottom: 0;
	}
}

/* slider */
.school-slider {
	background: url("img/sand.png") repeat;
	background-size: 200px auto;
}

.n2-section-smartslider {
	margin-block-start: 0 !important;
	max-width: 1080px;
}

.n2-ss-slide {
	border-radius: 0 !important;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
	overflow: visible !important;
	position: relative;
	margin-bottom: 4rem;
	z-index: 1;
}

.n2-ss-item-content.n2-ss-text {
	display: block !important;
	white-space: normal !important;
	word-break: break-word !important;
	max-width: 100% !important;
}

.n2-ss-slider-pipeline img {
	width: 100%;
	height: 150px !important;
	object-fit: cover;
	object-position: center;
}

.slider-caption {
	line-height: 1.6 !important;
	font-weight: 600 !important;
	letter-spacing: 0.08rem !important;
}

.nextend-arrow {
	background: var(--d-blue) !important;
}

div#n2-ss-3 {
	padding: 16px !important;
}

.n2-ss-slider .nextend-arrow {
	pointer-events: auto !important;
}

/*お客様の声 voice */
.voice-section {
	display: block;
	min-height: 100vh;
	overflow: hidden;
	background: url("img/sea.jpg") center/cover no-repeat;
}

.voice-section img {
	width: 350px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	display: block;
	border: 1.2rem solid white;
}

.voice-section .wp-block-column {
	background-color: #fff;
	width: 350px;
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.voice-section .wp-block-column {
	max-width: 320px;
}

@media screen and (max-width: 480px) {
	.voice-section .wp-block-column {
		max-width: 300px;
	}

	.voice-section .balloon {
		max-width: 90%;
	}
}

.voice-colmun1,
.voice-colmun2,
.voice-colmun3,
.voice-colmun4 {
	position: relative;
	min-height: 400px;
}

.voice-colmun1 {
	z-index: 20;
}

.voice-colmun3 {
	z-index: 10;
}

.voice-colmun2 {
	z-index: 15;
}

.voice-colmun4 {
	margin-bottom: 4rem !important;
}

.voice-section p {
	padding: 0 1rem;
	font-family: "bodZenMaruGothic", serif;
}

.customer-title {
	margin-top: 0;
	text-align: center;
	margin-bottom: 0.5rem;
	padding: 0 !important;
}

.home .customer-voice {
	font-size: 1.1rem;
	margin: 0 !important;
	padding: 0 1.4rem 1.8rem;
	line-height: 1.6;
	letter-spacing: -0.03;
}

/* 1,2,4,5 */
@media screen and (min-width: 1080px) {
	.voice1 {
		position: absolute;
		transform: translateX(-70%) rotate(6deg);
		top: 6rem;
	}

	.voice2 {
		position: absolute;
		transform: translateX(80%) rotate(-2deg);
		top: 2rem;
	}

	.voice3 {
		position: absolute;
		transform: translateX(-10%) rotate(-3deg);
		top: -3rem;
		margin-bottom: -3rem;
	}

	.voice4 {
		position: absolute;
		transform: translateX(-50%) rotate(-3deg);
		top: -12rem;
	}

	.voice5 {
		position: absolute;
		transform: translateX(90%) rotate(3deg);
		top: -18rem;
	}

	.voice6 {
		position: absolute;
		transform: translateX(-30%) rotate(3deg);
		top: -10rem;
	}

	.voice7 {
		position: absolute;
		transform: translateX(100%) rotate(-3deg);
		top: -18rem;
	}
}

@media screen and (max-width: 1079px) {
	.voice1 {
		position: absolute;
		transform: translateX(-60%) rotate(3deg);
		top: 7rem;
	}

	.voice2 {
		position: absolute;
		transform: translateX(70%) rotate(-6deg);
		top: 2rem;
	}

	.voice3 {
		position: absolute;
		transform: translateX(30%) rotate(-3deg);
		top: -2rem;
	}

	.voice4 {
		position: absolute;
		transform: translateX(-55%) rotate(-3deg);
		top: -14rem;
	}

	.voice5 {
		position: absolute;
		transform: translateX(75%) rotate(2deg);
		top: -18rem;
	}

	.voice6 {
		position: absolute;
		transform: translateX(-80%) rotate(-8deg);
		top: -18rem;
	}

	.voice7 {
		position: absolute;
		transform: translateX(45%) rotate(3deg);
		top: -14rem;
	}

	.voice-colmun3 {
		z-index: 5;
	}

	.voice-colmun4 {
		z-index: 0;
	}
}

@media screen and (max-width: 480px) {
	.voice1 {
		position: static;
		transform: translateX(0) rotate(6deg) !important;
		margin-top: 4rem !important;
	}

	.voice2 {
		position: static;
		transform: translateX(3%) rotate(-6deg) !important;
		margin-top: -0.5rem !important;
		z-index: -10;
	}

	.voice3 {
		position: static;
		transform: translateX(-10%) rotate(0deg);
	}

	.voice4 {
		position: static;
		transform: translateX(10%) rotate(5deg);
		margin-top: -4rem !important;
	}

	.voice5 {
		position: static;
		transform: translateX(-10%) rotate(-3deg);
		margin-top: -4rem;
		margin-bottom: 4rem !important;
	}

	.voice6 {
		position: static;
		transform: translateX(15%) rotate(3deg);
		margin-top: -3rem !important;
	}

	.voice7 {
		position: static;
		transform: translateX(-15%) rotate(-3deg);
		margin-bottom: 3rem !important;
	}

	.voice-colmun2 {
		display: none !important;
	}
}

@media screen and (max-width: 380px) {
	.voice1 {
		transform: translateX(-5%) rotate(3deg);
	}

	.voice2 {
		transform: translateX(5%) rotate(-3deg);
	}

	.voice3 {
		transform: translateX(-3%) rotate(0deg);
	}

	.voice4 {
		transform: translateX(-5%) rotate(5deg);
		margin-top: 2rem !important;
	}

	.voice5 {
		transform: translateX(7%) rotate(-3deg);
	}

	.voice6 {
		transform: translateX(-3%) rotate(1deg);
	}

	.voice7 {
		transform: translateX(7%) rotate(3deg);
		margin-top: 1rem !important;
	}
}

/* 安心・信頼の理由 awards*/
.awards-section {
	text-align: center;
}

.awards-section .wp-block-columns {
	gap: 0;
	max-width: 900px;
	padding-top: 2rem;
	margin: 0 auto;
}

.medal1 img {
	padding-top: 2%;
	padding-left: 11%;
	padding-right: 2%;
}

.medal2 img {
	padding-top: 3%;
	padding-left: 20%;
}

.medal3 img {
	padding-left: 13%;
}

@media screen and (max-width: 768px) {
	.awards-section .wp-block-columns {
		gap: 1rem;
	}

	.awards-section img {
		max-width: 500px;
		display: block;
		margin: 0 auto;
	}

	.medal1 img {
		padding-left: 2%;
		padding-right: 20%;
	}

	.medal2 img {
		padding-left: 22%;
		padding-right: 0%;
	}

	.medal3 img {
		padding-left: 22%;
		padding-right: 8%;
	}
}

@media screen and (max-width: 480px) {
	.awards-section P {
		text-align: left;
	}

	.awards-section img {
		max-width: 100% !important;
	}
}

/* FAQ */
.faq-countainer {
	margin: 4rem 0;
}

.home .wp-block-nishiki-blocks-pro-faq {
	max-width: var(--inner-container) !important;
	overflow-wrap: anywhere;
}

/* Instagram */
.instagram-section p {
	padding: var(--distance-s) 0;
}

.instagram-section,
.instagram-gallery-feed .swiper-container {
	max-width: var(--sub-container) !important;
}

.instagram-section {
	text-align: center;
}

.instagram-gallery-feed .instagram-gallery-feed {
	background-color: white !important;
	padding: 1rem !important;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.instagram-gallery-feed.instagram-gallery-feed
	.swiper-container
	.swiper-button-next,
.instagram-gallery-feed.instagram-gallery-feed
	.swiper-container
	.swiper-button-prev {
	font-weight: bold !important;
	background-color: var(--d-blue);
	padding: 3px;
	border-radius: 3px;
}

.instagram-gallery-feed.instagram-gallery-feed
	.swiper-container
	.swiper-button-next:after,
.instagram-gallery-feed.instagram-gallery-feed
	.swiper-container
	.swiper-button-prev:after {
	font-size: 1rem;
	color: white;
	font-weight: bold;
	font-family: inherit !important;
}

.swiper-button-next,
.swiper-button-prev {
	height: 30px !important;
	width: 30px !important;
}

.instagram-gallery-feed .swiper-button-next::after {
	content: "▶" !important;
}

.instagram-gallery-feed .swiper-button-prev::after {
	content: "◀" !important;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
	right: -10px;
}

@media screen and (max-width: 480px) {
	.instagram-section {
		text-align: left;
	}
}

.instagram-gallery-feed {
	position: relative !important;
}

.instagram-gallery-feed .swiper-button-prev,
.instagram-gallery-feed .swiper-button-next {
	font-weight: bold !important;
	background-color: var(--d-blue) !important;
	padding: 3px !important;
	border-radius: 3px !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.instagram-gallery-feed .swiper-button-prev:after,
.instagram-gallery-feed .swiper-button-next:after {
	font-size: 1rem !important;
	color: white !important;
	font-weight: bold !important;
	font-family: inherit !important;
}

.instagram-gallery-feed .swiper-button-prev {
	left: -45px !important;
}

.instagram-gallery-feed .swiper-button-next {
	right: -45px !important;
}

@media screen and (max-width: 768px) {
	.instagram-gallery-feed .swiper-button-prev {
		left: -1rem !important;
	}

	.instagram-gallery-feed .swiper-button-next {
		right: -1rem !important;
	}
}

.instagram-gallery-item__media-mask {
	background-color: rgba(46, 255, 226, 0.2) !important;
}

/* アクセス・エリア情報 area*/
.area-section {
	max-width: var(--inner-container) !important;
}

.area-section h3 {
	margin: 2rem 0 1rem !important;
	background-color: var(--l-yellow);
	display: inline-block;
	padding: 0 2rem;
}

.area-section h4 {
	border-bottom: 3px solid var(--l-yellow);
}

.access-map {
	position: relative;
	margin-top: 120px;
}

.map-seasar {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 2;
	max-width: 550px;
}

@media screen and (max-width: 480px) {
	.map-seasar {
		top: -70px;
	}
}

.map-airline {
	z-index: 1;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
	background-color: white;
}

@media screen and (max-width: 480px) {
	.map-airline {
		padding: 5px;
	}
}

.area-section p {
	margin: 1rem 0;
	padding: 1rem;
	background-color: white;
}

.area-section ul {
	background-color: white;
	padding: 1rem 1rem 1rem 2rem;
}

/* CTA（ピラー） */
.cta-block {
	padding: 1rem 1rem 2rem 1rem;
	background-color: white;
	border: 4px solid var(--orange);
	box-shadow:
		inset 0 0 0 4px #fff,
		inset 0 0 0 8px var(--l-yellow);
}

@media screen and (max-width: 480px) {
	.cta-block {
		padding: 1rem 0 1.5rem 0.5rem;
	}
}

.cta {
	margin-block-start: 0.5rem;
}

.cta-micro {
	color: var(--hi-red);
	font-weight: 700;
	display: block;
	width: fit-content;
	margin: 0 auto 0.6rem;
	opacity: 0;
	transform: translateY(14px);
}

body:not(.home) .entry-content p.cta-micro {
	padding-bottom: 0 !important;
}

body:not(.category-3) .archives p.cta-micro {
	padding-bottom: 0 !important;
}

.cta .wp-block-nishiki-blocks-pro-button2 a {
	position: relative;
	overflow: hidden;
	border-color: var(--orange);
	border-width: 5px;
	padding-bottom: 1rem;
	font-weight: 700;
	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease;
	font-size: 1.2rem;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
	background: linear-gradient(to right, var(--orange), var(--yellow));
}

.cta .wp-block-nishiki-blocks-pro-button2 a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--yellow), #f8af55);
	opacity: 0;
	transition: opacity 0.25s ease;
	z-index: -1;
}

.cta .wp-block-nishiki-blocks-pro-button2 a:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cta .wp-block-nishiki-blocks-pro-button2 a:hover::after {
	opacity: 1;
}

.cta-block .wp-block-nishiki-blocks-pro-button2 {
	position: relative;
	display: inline-block;
	padding: 0 108px;
}

.cta-block .wp-block-nishiki-blocks-pro-button2::before,
.cta-block .wp-block-nishiki-blocks-pro-button2::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100px;
	height: 100px;
	pointer-events: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.cta-block .wp-block-nishiki-blocks-pro-button2::before {
	left: 0;
	background-image: url("img/seaser-un.png");
	z-index: 2;
}

.cta-block .wp-block-nishiki-blocks-pro-button2::after {
	right: 0;
	background-image: url("img/seaser-a.png");
}

@media screen and (max-width: 480px) {
	.cta-block .wp-block-nishiki-blocks-pro-button2::before,
	.cta-block .wp-block-nishiki-blocks-pro-button2::after {
		position: absolute;
		width: 80px;
		top: 15px;
	}

	.cta-block .wp-block-nishiki-blocks-pro-button2 {
		padding: 40px 0 0 0;
	}

	.cta-block .wp-block-nishiki-blocks-pro-button2 a {
		padding: 0.8rem;
	}

	.cta-inner {
		padding-right: 8px;
	}
}

/* CTA（TOP） */

.top-cta {
	position: absolute;
	top: -30px;
	right: 4%;
	z-index: 999 !important;
}

.top-cta .wp-block-nishiki-blocks-pro-buttons {
	margin-block-start: 1rem;
}

.top-cta-sp {
	display: none;
}

@media screen and (max-width: 980px) {
	.top-cta-pc {
		display: none;
	}

	.top-cta-sp {
		display: block;
	}

	.top-cta {
		top: -400px;
		left: 50%;
		transform: translateX(-50%);
		min-width: 350px;
	}
}

.microcopy {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.6rem;
}

p.microcopy {
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
	padding: 0 !important;
}

.top-cta p.microcopy {
	font-size: 1.1em;
	text-shadow:
		-2px -2px 0 #fff,
		0px -2px 0 #fff,
		2px -2px 0 #fff,
		-2px 0px 0 #fff,
		2px 0px 0 #fff,
		-2px 2px 0 #fff,
		0px 2px 0 #fff,
		2px 2px 0 #fff;
}

@media screen and (max-width: 480px) {
	.microcopy {
		gap: 0rem;
	}

	p.microcopy {
		font-size: 1rem;
	}
}

.microcopy::before {
	display: block;
	flex: 0 0 auto;
	--mw: 2rem;
	--mh: 3.6rem;
	content: "";
	width: var(--mw);
	height: var(--mh);
	background: url("img/zumi-l.png") center/var(--mw) var(--mh) no-repeat;
}

.microcopy::after {
	display: block;
	flex: 0 0 auto;
	--mw: 2rem;
	--mh: 3.6rem;
	content: "";
	width: var(--mw);
	height: var(--mh);
	background: url("img/zumi-r.png") center/var(--mw) var(--mh) no-repeat;
}

.cta-call,
.cta-form {
	font-size: 1.6rem;
	font-weight: bold;
	border-radius: 22px;
	border: 4px solid white;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	cursor: pointer;
}

.cta-call a.btn {
	padding: 0.28rem 1.2rem 0.4rem 1.2rem !important;
}

.cta-form a.btn {
	padding: 0.3rem 1.6rem 0.4rem 0.8rem !important;
	gap: 0;
}

.cta-btn-box {
	max-width: 640px !important;
}

.cta-call a::before {
	--w: 3.6rem;
	--h: 1.6rem;
	margin-top: 3px;
	content: "";
	display: block;
	width: var(--w);
	height: var(--h);
	background: url("img/freecallicon.svg") center/var(--w) var(--h) no-repeat;
	filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)
		drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}

.cta-form a::before {
	--w: 4rem;
	--h: 2.1rem;
	margin-top: 3px;
	content: "";
	display: block;
	width: var(--w);
	height: var(--h);
	background: url("img/mail.svg") center/var(--w) var(--h) no-repeat;
	padding-bottom:;
}

.cta-form a.btn {
	position: relative;
}

.cta-form a.btn::after {
	content: "";
	position: absolute;
	right: -1.4rem;
	top: 45%;
	transform: translateY(-50%);
	width: 3rem;
	height: 3rem;
	background: url("img/zumi-icon.png") center/contain no-repeat;
	padding-bottom: 5px;
	filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
		drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
		drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.cta-call:hover,
.cta-form:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-btm {
	margin-top: 100px;
	position: relative;
	background: url("img/btm-cta-bg.png") center/cover no-repeat;
}

.cta-btm .brush-yellow {
	top: 80px;
}

.cta-btm::after {
	content: "";
	position: absolute;
	top: 2rem;
	right: 8%;
	width: 250px;
	height: auto;
	aspect-ratio: 464 / 413;
	background-image: url("img/ctm-polaroidimg.png");
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 9;
	pointer-events: none;
}

.cta-btm h2 {
	position: relative;
	top: -50px;
	font-size: 2rem;
	color: #000;
	text-shadow:
		4px 0 0 #fff,
		-4px 0 0 #fff,
		0 4px 0 #fff,
		0 -4px 0 #fff,
		3px 3px 0 #fff,
		-3px -3px 0 #fff,
		3px -3px 0 #fff,
		-3px 3px 0 #fff,
		4px 4px 8px rgba(0, 0, 0, 0.5);
	margin-bottom: -50px !important;
}

.cta-btm ruby {
	font-size: 2.6rem;
	ruby-align: center;
	font-weight: 900;
}

.sp-only {
	display: none;
}

rt {
	font-size: 0.9em;
	color: #1e51eb;
	letter-spacing: 0.5em;
	text-shadow:
		2.5px 0 0 #fff,
		-2.5px 0 0 #fff,
		0 2.5px 0 #fff,
		0 -2.5px 0 #fff,
		2px 2px 0 #fff,
		-2px -2px 0 #fff,
		2px -2px 0 #fff,
		-2px 2px 0 #fff,
		3px 3px 6px rgba(0, 0, 0, 0.5);
	padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
	.cta-btm h2.brush-yellow {
		font-size: 5vw;
	}

	.sp-only {
		display: block;
	}

	rt {
		font-size: 0.7em;
		margin-top: 1rem;
	}
}

.cta-btm-content ul {
	margin: 4rem auto !important;
	font-size: 0.8rem;
	width: fit-content;
}

.cta-btm-content {
	background-image: url("img/road-btm.svg");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 800px auto;
	padding-bottom: 100px;
}

@media (max-width: 980px) {
	.cta-btm-content {
		padding: 1rem;
	}

	.cta-btm::after {
		right: 0.5rem !important;
		width: 30%;
		top: 4rem;
	}

	.cta-btm .brush-yellow {
		top: 40px;
	}
}

@media (min-width: 581px) {
	.cta-btm-content {
		background-size: 1400px auto;
	}

	.cta-btm::after {
		width: 35%;
	}
}

@media (min-width: 1000px) {
	.cta-btm-content {
		background-size: 110% auto;
	}
}

@media screen and (max-width: 480px) {
	.cta-btm-content {
		background-position: 35% bottom;
		background-size: 1200px auto;
	}
}

/* CTA アニメ */
.cta-anime {
	animation: cta-fadein-auto 1s ease-out 0.3s both;
}

@keyframes cta-fadein-auto {
	0% {
		opacity: 0;
		transform: translateY(15px);
	}

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

/*********************
*除外設定
*.home、.category-3
*プライバシーポリシー、特商法
***********************/
body:not(.home) .entry {
	max-width: var(--sub-container) !important;
	margin: 0 auto;
}

body:not(.home) .entry-content,
body:not(.category-3) .archives {
	margin: var(--distance) 0 var(--distance-l);
	background-color: rgba(255, 255, 255, 0.6);
	padding: 4rem 8% !important;
}

body:not(.home) .entry-content p,
body:not(.category-3) .archives p {
	padding: 0 0.8rem 0.5rem 1rem !important;
}

body:not(.home) .nishiki-pro-breadcrumbs {
	padding: 1rem 0 !important;
	max-width: 1000px;
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
	body:not(.home) .entry-content,
	body:not(.category-3) .archives {
		margin: 1rem 0 var(--distance-l);
		padding: 0.5rem 2rem !important;
	}

	body:not(.home) #content {
		padding: 0 1rem;
	}
}

@media screen and (max-width: 480px) {
	body:not(.home) .entry-content,
	body:not(.category-3) .archives {
		padding: 0.5rem !important;
	}
}

body:not(.home) .entry-content img,
body:not(.category-3) .archives img {
	border: #fff 10px solid;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.page-header::after {
	background: url("img/main-bg.jpg") center calc(-250px) / cover no-repeat;
}

#page h1 {
	text-shadow: 0 3px 2px rgba(10, 10, 60, 1);
	text-shadow: 0 3px 16px rgba(10, 10, 60, 1);
}

/* h2 */
body:not(.home):not(.category-3) #page h2 {
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.6;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 0.5rem 0.8rem 1rem;
	margin: 0 auto !important;
	margin-bottom: 0.5rem !important;
	border-style: solid;
	border-width: 3px 0;
	border-image: linear-gradient(to right, var(--g-orange), var(--g-yellow)) 1;
	background-color: var(--p-yellow);
}

body:not(.home):not(.category-3) #page .entry-content :where(h2) {
	margin-block: 2.5rem 0.5rem !important;
}

body:not(.home):not(.category-3) #page h2:not(:first-of-type) {
	margin-top: 2.5rem !important;
}

body:not(.home):not(.category-3) #page h2::before {
	content: "";
	width: 4rem;
	height: 4rem;
	flex: 0 0 4rem;
	background: url("img/hibiscus.png") no-repeat center / contain;
	z-index: 2;
}

@media (max-width: 768px) {
	body:not(.home):not(.category-3) #page h2 {
		justify-content: flex-start;
		text-align: left;
		font-size: 1.4rem;
		padding: 0.8rem;
	}
}

@media screen and (max-width: 480px) {
	body:not(.home):not(.category-3) #page h2 {
		text-indent: 3.5rem;
		padding-left: 0.5rem;
		position: relative;
		line-height: 1.4;
	}

	body:not(.home):not(.category-3) #page h2::before {
		position: absolute;
		top: -1rem;
		left: -0.5rem;
	}
}

/* プライバシーポリシー、特商法 */
body.privacy-policy:not(.home):not(.category-3) #page h2,
body.law:not(.home):not(.category-3) #page h2 {
	font-size: 1.2rem;
	line-height: 1rem;
}

@media screen and (max-width: 480px) {
	body.privacy-policy:not(.home):not(.category-3) #page h2,
	body.law:not(.home):not(.category-3) #page h2 {
		text-indent: 0;
		padding-left: 0.5re;
		line-height: 1.6rem;
	}
}

body.privacy-policy:not(.home):not(.category-3) #page p,
body.law:not(.home):not(.category-3) #page p {
	font-size: 1rem;
}

body.privacy-policy #page h2::before,
body.law #page h2::before {
	content: none !important;
	background: none !important;
	width: 0 !important;
	height: 0 !important;
}

/* h2サブタイトル p */
.wp-block-custom-hgroup {
	font-weight: bold;
}

body:not(.home):not(.category-3) #page .wp-block-custom-hgroup h2 {
	margin-bottom: 0 !important;
	padding-top: 0;
	padding-bottom: 0 !important;
	width: 100%;
	box-sizing: border-box;
	border-bottom: none;
}

body:not(.home):not(.category-3) #page .wp-block-custom-hgroup h2::before {
	content: "";
	background: url("img/hibiscus.png") no-repeat center/contain;
}

body:not(.category-3) .archives h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
}

.wp-block-custom-hgroup p {
	color: var(--d-orange);
	padding: 0 1rem 0.5rem 6rem;
	font-size: clamp(1.1rem, 3vw, 1.2rem);
	margin-block-start: 0;
	width: 100%;
	border-style: solid;
	border-width: 3px 0;
	border-image: linear-gradient(to right, var(--g-orange), var(--g-yellow)) 1;
	background-color: var(--p-yellow);
	border-top: none;
}

@media screen and (max-width: 980px) {
	.wp-block-custom-hgroup p {
		padding: 0 1rem 0.5rem 2rem;
	}
}

/* 行間 */
.wp-block-custom-hgroup > .wp-block-heading + p {
	line-height: 1.6;
}

@media screen and (max-width: 480px) {
	body:not(.home):not(.category-3) #page .wp-block-custom-hgroup h2 {
		position: relative;
		text-indent: 0;
		padding: 0.5rem 0.5rem 0.5rem 1rem !important;
	}

	body:not(.home):not(.category-3) #page .wp-block-custom-hgroup h2::before {
		display: none;
	}
}

/* h3 */
body:not(.home) #page h3 {
	background-color: var(--l-yellow);
	margin: 2rem auto 0 !important;
	padding: 0 0 0.5rem 1rem !important;
	font-weight: 600;
}

body:not(.category-3) .archives h3 {
	font-size: clamp(1.2rem, 2vw, 1.3rem);
	background-color: transparent !important;
	margin: 5rem 0 0 !important;
	padding: 0 2rem !important;
	display: block !important;
	position: relative;
}

body:not(.category-3) .archives h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(to right, var(--orange), var(--yellow));
}

@media screen and (max-width: 480px) {
	body:not(.home) #page h2,
	body:not(.category-3) .archives h2 {
		padding: 1rem 0.5rem;
		margin-top: var(--distance-xl);
	}

	.wp-block-custom-hgroup p,
	body:not(.category-3) #page .archives h3 {
		text-align: left;
		padding: 0.5rem 0.05rem 0.5rem 1rem !important;
		line-height: 1.5 !important;
	}
}

body:not(.home) #page ul:not(#footer ul):not(#footer ul *),
body:not(.home) ol:not(.nishiki-pro-breadcrumbs-header ol) {
	background-color: var(--p-yellow);
	padding: 1.6rem 1.6rem 1.6rem 3.2rem;
	list-style-position: outside;
	width: 90%;
}

body:not(.home) #page ol ul {
	border: none;
}

@media screen and (max-width: 480px) {
	body:not(.home) #page ul:not(#footer ul):not(#footer ul *),
	body:not(.home) ol:not(.nishiki-pro-breadcrumbs-header ol) {
		padding: 1rem 1rem 1rem 2.4rem;
	}
}

li > ul,
li > ol {
	background: transparent !important;
}

body:not(.home) #page li {
	margin-bottom: 0.75rem;
}

body:not(.home) #page li:last-child {
	margin-bottom: 0;
}

@media (max-width: 480px) {
	body:not(.home) #page :is(ul, ol, dl) {
		width: 100% !important;
	}

	body:not(.home) #page table {
		width: 100% !important;
	}

	.plan-section table,
	.archives table,
	.plan-title {
		max-width: 100%;
	}
}

body:not(.home) ul li::before,
body:not(.home) li::marker,
.area-section ul li::marker {
	color: var(--d-orange) !important;
	font-weight: bold;
}

body:not(.home) #page dl {
	background-color: var(--p-yellow);
	padding: 1rem 1rem 1rem 1.5rem;
	width: 90%;
	box-sizing: border-box;
}

body:not(.home) #page dl dt {
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: var(--d-orange);
}

body:not(.home) #page dl dd {
	margin: 0 0 0.75rem;
	padding-left: 0;
	line-height: 1.4;
}

body:not(.home) #page dl dd:last-child {
	margin-bottom: 0;
}

.archives {
	padding-top: var(--distance);
}

.archives .post-image {
	border: #fff 10px solid;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.archives .post-detail {
	padding-top: 0.5rem;
}

.archives .excerpt {
	padding: 0.5rem 0;
}

@media only screen and (max-width: 680px) {
	.articles[class*="column-"]:not([class*="has-"]) article {
		border-bottom: 3px dotted var(--orange);
	}
}

body:not(.home) table {
	width: 90% !important;
	margin: 0 auto;
}

/* .faq*/
.wp-block-nishiki-blocks-pro-faq .border {
	border: 0;
}

.wp-block-nishiki-blocks-pro-faq {
	border: 4px solid var(--l-yellow);
	padding: 0.5rem;
	background-color: white;
}

.wp-block-nishiki-blocks-pro-faq .type {
	background-color: var(--p-yellow);
	font-weight: bold;
	font-size: 1.4rem;
	position: relative;
}

.type-Q {
	font-weight: bold;
}

.type-Q .type {
	color: var(--hi-red);
}

.type-A .type {
	color: var(--d-blue);
}

.type-A p {
	margin-bottom: 0.5rem !important;
	line-height: 1.6 !important;
}

@media screen and (max-width: 480px) {
	.type-A p {
		font-size: 1.1rem !important;
		line-height: 1.6 !important;
	}
}

.catchcopy-text {
	padding: 1.6rem;
	text-align: center;
	margin: 0 auto;
}

p.catchcopy-text {
	color: #40220f;
	font-size: clamp(1.2rem, 4vw, 1.4rem);
	margin: 3rem auto 1rem !important;
	display: block;
	background-color: white;
	max-width: 680px;
	padding-top: 2rem;
}

body::after {
	content: "";
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100px;
	max-width: 1200px;
	background: url("img/wave.png") no-repeat bottom;
	background-size: 100% auto;
	pointer-events: none;
	left: 50%;
	transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
	body::after {
		background-size: 150% auto;
	}
}

/* footer */
#footer {
	margin-top: 160px;
	padding-bottom: 80px;
	text-align: center;
	color: #184491;
	background: transparent !important;
}

#footer img {
	width: 200px;
	margin: 2rem 0 1rem 0;
}

#footer .footer-inner {
	padding-top: 0;
	padding-bottom: 0;
}

#footer ul {
	list-style: none;
}

nav.below-footer-nav ul.menu {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav.below-footer-nav ul.menu li {
	margin: 0 !important;
}

nav.below-footer-nav ul.menu a {
	display: block;
	color: #184491;
	font-size: clamp(0.7rem, 3.2vw, 1rem);
	padding: 5px 8px;
	font-weight: bold;
}

nav.below-footer-nav ul.menu li a:hover {
	background-color: var(--p-yellow);
}

#footer .copyright {
	padding-bottom: 2rem;
}

@media screen and (max-width: 480px) {
	#footer img {
		width: 180px;
		margin: 2rem 0 0.5rem 0;
	}

	nav.below-footer-nav ul.menu {
		gap: 0;
	}

	#footer {
		padding: 1rem 1rem 2rem;
	}

	#footer .copyright {
		padding: 0.5rem 0.5rem 1rem 0.5rem;
	}
}

/* TKHR Custom */
.categoryList {
	max-width: 1200px;
	margin: auto;
	margin-top: var(--distance-l);
	padding: var(--distance-s);
	background: rgb(255 255 255 / 0.5);
	border-radius: var(--radius-xl);
	& h2 {
		width: max-content;
		text-align: center !important;
		background-color: unset !important;
		border-image: none !important;
		&::before {
			display: none;
		}
	}
	& h3 {
		margin: 0 !important;
		padding: 0 !important;
		background-color: unset !important;
	}

	& img {
		border-radius: var(--radius-l);
		vertical-align: middle;
	}
}
body:not(.home) #page .categoryList h3 {
	margin: 0 !important;
	padding: 0 !important;
	background-color: unset !important;
}

.nishiki-pro-before-archive-content > figure:first-child {
	margin-bottom: var(--distance);
}
