@media (max-width: 1301px) {
	.menu-content {
		gap: 20px;
	}
}

@media (max-width: 980px) {
	/*===============================
	MARK: common
	=================================*/
	.pc-content {
		display: none !important;
	}
	.sp-content {
		display: block;
	}

	.phone-num a {
		text-decoration: none !important;
		color: inherit !important;
	}

	/*===============================
	MARK: header
	=================================*/
	.site-header {
		position: relative;
	}

	.header-inner {
		padding: 14px 15px;
	}

	.site-logo img {
		max-width: 153px;
	}

	#menu {
		position: fixed;
		top: 0;
		right: 0;
	}

	.toggle_btn {
		position: absolute;
		top: 0;
		right: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		border-radius: 0;
		background: rgba(14, 80, 29, 1);
		width: 80px;
		height: 80px;
		transition: all 0.3s;
		cursor: pointer;
	}

	.toggle_btn .toggle_inner {
		position: relative;
		width: 32px;
		height: 11px;
	}

	.toggle_btn span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: #fff;
		-webkit-transition: all 0.2s;
		transition: all 0.2s;
	}

	.toggle_btn span:nth-child(1) {
		top: 0;
	}

	.toggle_btn span:nth-child(2) {
		top: 5px;
	}

	.toggle_btn span:nth-child(3) {
		bottom: 0;
	}

	.open .toggle_btn {
		background: none;
	}

	.open .toggle_btn span:nth-child(1) {
		transform: translateY(5px) rotate(-45deg);
	}

	.open .toggle_btn span:nth-child(2) {
		transform: translateX(-100%);
		opacity: 0;
	}

	.open .toggle_btn span:nth-child(3) {
		transform: translateY(-5px) rotate(45deg);
	}

	#header-nav {
		background: rgba(14, 80, 29, 0.9);
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		visibility: hidden;
		opacity: 0;
		transition: all 0.3s;
		overflow: auto;
	}

	.open #header-nav {
		visibility: visible;
		opacity: 1;
	}

	.menu-inner-logo {
		position: absolute;
		top: 15px;
		left: 20px;
	}

	.menu-content {
		flex-direction: column;
		align-items: start;
		gap: 0;
		padding: 70px 20px 0 20px;
	}

	.menu-content > li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	}

	.menu-content > li:last-child {
		border: none;
	}

	.menu-content > li > a {
		color: #fff;
		font-size: var(--fz18);
		padding: 23px 0;
		pointer-events: none;
		text-align: left;
	}

	.open .menu-content > li > a {
		pointer-events: all;
	}

	.menu-content > li > a::before,
	.menu-content > li > a::after {
		content: '';
		position: absolute;
		display: block;
		top: 50%;
	}
	.menu-content > li > a::before {
		width: 6.65px;
		height: 3.8px;
		right: 0.65rem;
		background: url(../images/arrow_wh.svg) no-repeat;
		background-size: contain;
		z-index: 2;
		transform: translateY(-50%) rotate(-90deg);
	}
	.menu-content > li > a::after {
		left: unset;
		right: 0;
		background: rgba(255, 255, 255, 0.16);
		z-index: 1;
		width: 1.75rem;
		height: 1.75rem;
		border-radius: 50em;
		transform: translate(0, -50%);
		transition: all 0.4s;
		visibility: visible;
		opacity: 1;
	}

	.menu-content > li > a.btn {
		display: block;
		background: none;
	}
	.menu-content > li > a.btn svg {
		display: none;
	}

	.menu-inner-tell {
		margin: 15px 20px 60px 20px;
		padding: 15px;
		border: 1px solid #fff;
		color: #fff;
	}

	.menu-inner-tell .heading {
		font-size: var(--fz12);
		margin-bottom: 0;
	}

	.menu-inner-tell .phone-num {
		display: flex;
		align-items: center;
		justify-content: center;
		column-gap: 10px;
		margin: 5px 0 0;
		font-size: var(--fz28);
		font-weight: 500;
		line-height: 1;
		margin-bottom: 15px;
	}

	.menu-inner-tell .phone-num dt {
		font-size: var(--fz13);
		text-align: left;
	}

	.menu-inner-tell .phone-num dd {
		display: flex;
		align-items: center;
		justify-content: center;
		column-gap: 7px;
		margin: 0;
		white-space: nowrap;
	}

	/*===============================
	MARK: MV
	=================================*/
	#mv {
		margin-top: 0;
		margin-bottom: 4em;
	}

	#mv::before {
		width: 100vw;
		height: calc(100% - 2em);
	}

	.mv-image .inner {
		height: 40vh;
	}

	.mv-image img {
		object-fit: cover;
		height: 100%;
	}

	.mv-message {
		position: relative;
		margin-top: -11%;
	}

	.mv-message .animate-title-wrap:first-of-type {
		margin-bottom: 2%;
	}

	.mv-message .animate-title-wrap .title-content {
		width: 61%;
	}

	.mv-message .animate-title-wrap:nth-of-type(1) .title-content {
		width: 65%;
	}

	.mv-message .animate-title-wrap .title-content span {
		padding-right: 16px;
		padding-block: 5%;
	}

	.mv-message .animate-title-wrap:last-of-type .title-content span {
		padding-right: 21px;
		padding-block: 5%;
	}

	.mv-lead p {
		width: 100%;
	}

	/*===============================
	MARK: TOP content
	=================================*/
	.section-heading.js-heading {
		margin-bottom: var(--fz12);
	}

	.section-heading.js-heading p {
		margin-block: 0;
	}

	.slider-container {
		padding-top: 10px;
	}

	.slide {
		width: calc((100vw / 1.8) - 25px);
		aspect-ratio: 1;
		margin-right: 25px;
	}

	#about .btn-wrap {
		padding-top: 28px;
	}

	.btn-viewmore {
		max-width: 155px;
		padding: 2px 25px 2px 10px;
	}

	.btn-viewmore::before {
		width: 0.5rem;
		height: 0.25rem;
		right: 0.75rem;
	}
	.btn-viewmore::after {
		width: 2rem;
		height: 2rem;
	}

	.img-menu-wrap {
		grid-template-columns: 1fr;
		grid-row-gap: 20px;
	}

	#service {
		padding-block: 80px;
		margin-top: 80px;
	}

	#service .img-wrap {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 67%;
		padding: 0;
		opacity: 0.22;
		mix-blend-mode: multiply;
		mask-image: linear-gradient(270deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, transparent);
		-webkit-mask-image: -webkit-linear-gradient(
			270deg,
			rgba(0, 0, 0, 1) 0%,
			rgba(0, 0, 0, 1) 80%,
			transparent
		);
		z-index: 0;
	}

	#service .img-wrap img {
		object-fit: cover;
		display: block;
		width: 100%;
		height: 100%;
	}

	#service .content {
		width: 100%;
		position: relative;
	}

	.service-menu {
		position: relative;
	}

	.service-menu-item {
		padding: 1.5rem 0.75rem;
	}

	.service-menu-item::before {
		right: 1.75rem;
	}

	.service-menu-item::after {
		right: 1rem;
		width: 2rem;
		height: 2rem;
	}

	.service-menu ul li {
		width: 100%;
	}
	.service-menu ul li:nth-child(even) {
		border-left: none;
	}

	.service-menu ul li a {
		display: block;
		padding: 1em 0.75rem;
		font-size: 0.9375rem;
	}

	.service-menu ul li a::after {
		right: 1.75rem;
	}

	.img-menu-item a {
		padding: 2.75em var(--fz20);
	}

	.img-menu-item:nth-child(1) {
		background-position-y: 60%;
	}
	.img-menu-item:nth-child(2) {
		background-position-y: 35%;
	}

	.img-menu-item a::before {
		width: var(--fz10);
		height: 0.25rem;
		right: 1.45rem;
		bottom: 1.69rem;
	}

	.img-menu-item a::after {
		right: var(--fz12);
		bottom: var(--fz12);
		width: 2rem;
		height: 2rem;
	}

	.bnr-wrap {
		.service-menu-item::before {
			width: 8.89px;
			height: 5px;
			right: 1.75rem;
			background: url(../images/arrow_wh.svg) no-repeat;
			background-size: contain;
			z-index: 2;
			transform: translateY(-50%) rotate(-90deg);
		}
	}

	/*===============================
	MARK: footer
	=================================*/
	.footer-contact {
		margin-top: 80px;
		padding-block: 80px;
	}

	.footer-contact > .container > .d-flex {
		flex-direction: column;
	}

	.footer-contact .js-fadein {
		text-align: center;
	}

	.contact-howto {
		margin-top: 40px;
		width: 100%;
		justify-content: center;
	}

	.footer-bottom {
		flex-direction: column-reverse;
	}

	.copyright {
		font-size: var(--fz12);
		margin-top: 30px;
	}

	/*==============================================================
	MARK: Lower page
	================================================================*/
	.page-heading {
		margin-top: 0;
	}

	.cover-image {
		padding-bottom: 2.8rem;
	}

	.cover-image::before {
		width: 65%;
		height: calc(100% - 1.5rem);
		background-color: var(--main-color);
		z-index: -1;
	}

	.cover-image .inner {
		width: 100%;
	}

	.heading-item {
		bottom: -2em;
	}

	.page-heading .page-ttl .ttl-jp {
		font-size: 0.75rem;
	}

	.breadcrumb-wrap {
		margin-top: 1rem;
		justify-content: start;
	}

	/* ABOUT US */
	#motto .motto-content {
		margin-top: 60px;
		flex-direction: column;
		row-gap: 30px;
	}

	#motto .motto-img {
		padding: 0;
	}

	.anchor-link li {
		width: min(100%, 165px);
	}

	.anchor-link a {
		font-size: var(--fz12);
		line-height: 1.4;
	}

	.anchor-link a::after {
		right: 10px;
	}
	.anchor-link a::before {
		right: 20px;
	}

	.price-table {
		flex-basis: 100%;
	}

	.kataribe-course {
		grid-template-columns: repeat(auto-fit, 100%);
	}

	#course .bnr a {
		flex-direction: column;
		align-items: start;
		gap: 30px;
		color: #fff;
		width: 100%;
		padding: 3rem 20px 3rem 20px;
	}

	#course .bnr a::before {
		width: var(--fz10);
		height: 0.25rem;
		right: 1.45rem;
		bottom: 1.69rem;
	}
	#course .bnr a::after {
		right: var(--fz12);
		bottom: var(--fz12);
		width: 2rem;
		height: 2rem;
	}

	.lineup-wrap {
		flex-direction: column;
		gap: 20px;
		margin-bottom: 60px;
	}

	.table02 th,
	.table02 td {
		display: block;
		width: 100%;
		font-size: var(--fz14);
		padding: 1.2em 15px 1.2em 15px;
	}

	.table-scroll-wrap {
		overflow-x: scroll;
	}

	.table-scroll-wrap .table02 {
		display: block;
		width: 100%;
		white-space: nowrap;
	}

	.table-scroll-wrap .table02 th,
	.table-scroll-wrap .table02 td {
		display: table-cell;
	}

	.vehicle .table td {
		padding-inline: 20px;
	}

	.contact-menu {
		display: flex;
		flex-direction: column;
	}

	.table-contact td .wpcf7-form-control-wrap {
		width: 100% !important;
	}

	.contact-privacy {
		padding: 15px 15px;
	}

	.privacy .page-heading {
		margin-block: 80px 90px;
	}

	.privacy .page-content {
		font-size: var(--fz14);
	}

	.course-list {
		grid-template-columns: repeat(2, auto);
		grid-column-gap: 15px;
		grid-row-gap: 40px;
	}
}

@media (max-width: 665px) {
	.footer-contact {
		margin-top: 80px;
		padding-block: 80px;
		background: url(../images/footer_bg_sp.webp) no-repeat;
		background-size: cover;
	}
	.contact-howto {
		margin-top: 40px;
		flex-direction: column;
		width: 100%;
	}
	.contact-howto > div {
		max-width: unset;
	}

	.footer-inner {
		flex-direction: column;
		padding-bottom: 30px;
	}

	.footer-inner .left {
		display: contents;
	}

	.footer-logo {
		width: 100%;
	}

	.footer-logo img {
		margin-inline: auto;
	}

	.footer-inner .address {
		width: 100%;
		text-align: center;
		line-height: 1.8;
	}

	.footer-inner .address h5 {
		margin-bottom: 0;
	}

	.sns-nav {
		width: 100%;
		order: 4;
		justify-content: center;
		margin-top: 20px;
	}

	.footer-inner .right {
		column-gap: 40px;
	}

	.footer-nav a {
		font-size: var(--fz14);
	}
}
