@charset "UTF-8";

@media screen and (max-width: 768px) {

	html,
	body {
		height: 100%;
		/* フレックスボックスの高さ計算を有効化 */
		margin: 0;
	}

	/* bodyの!importantを上書き */
	#main {
		line-height: 1 !important;
	}

	.l-footer_contact {
		line-height: 1 !important;
	}

	.wrapper {
		display: flex;
		flex-direction: column;
		/* 縦方向に配置 */
		min-height: 100vh;
		/* ビューポート全体の高さ */
	}

	/* main: コンテンツ部分 */
	main {
		flex: 1;
		/* メインコンテンツが余白を埋める */
	}

	/* 全体スタイル */

	header {
		position: fixed;
		/* 追従するための固定設定 */
		top: 0;
		left: 0;
		width: 100%;
		z-index: 100;
		/* 他の要素より前面に表示 */
		background-color: #FFFFFF;
		/* 背景色を設定 */

		transition: top 0.3s ease;
		/* アニメーションでスムーズに隠れる */
	}

	/* .header-box: 横並び配置 */
	.header-box {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.logo {
		padding-right: 10px;
		padding-left: 10px;
	}

	/* ロゴのスタイル */
	.logo img {
		height: 25px;
		width: auto;
	}

	/* サイト説明エリア */
	.site-discription {
		flex: 1;
		text-align: left;
		font-size: 12px;
		color: #555;
		line-height: 1.2;
	}

	/* 全体スタイル */
	.header-nav-container {
		position: relative;
	}

	/* メニューのオーバーレイ背景 */
	.overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 0;
		/* 初期は非表示 */
		height: 100vh;
		background: rgba(0, 0, 0, 0.5);
		z-index: 99;
		transition: width 0.3s ease;
		overflow: hidden;
	}

	/* メニューボタン */
	.hamburger-menu {
		cursor: pointer;
	}

	.hamburger-menu .lines {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}

	.hamburger-menu .lines span {
		display: block;
		width: 30px;
		height: 3px;
		background-color: #333;
		border-radius: 2px;
		transition: background-color 0.3s ease;
	}

	/* スライドメニュー */
	.slide-menu {
		position: fixed;
		top: 42px;
		right: -300px;
		/* 初期は画面外 */
		width: 300px;
		height: 100vh;
		z-index: 100;
		transition: right 0.3s ease;

	}

	/*.slide-menu ul {*/
	/*    list-style: none;*/
	/*    padding: 20px;*/
	/*    margin: 0;*/
	/*}*/

	/*.slide-menu ul li {*/
	/*    margin-bottom: 15px;*/
	/*}*/

	/*.slide-menu ul li a {*/
	/*    text-decoration: none;*/
	/*    color: #333;*/
	/*    font-size: 18px;*/
	/*    transition: color 0.3s ease;*/
	/*}*/

	/*.slide-menu ul li a:hover {*/
	/*    color: #007BFF;*/
	/*}*/


	/* ハンバーガーメニューのデザイン */
	/*.hamburger-menu {*/
	/*    display: flex;*/
	/*    flex-direction: column;*/
	/*    align-items: center;*/
	/*    cursor: pointer;*/
	/*}*/

	/*.hamburger-menu .lines {*/
	/*    display: flex;*/
	/*    flex-direction: column;*/
	/*    gap: 5px;*/
	/*}*/

	.hamburger-menu .lines span {
		display: block;
		width: 30px;
		height: 4px;
		background-color: #FFFFFF;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	/*.hamburger-menu p {*/
	/*	color: #FFFFFF;*/
	/*    margin: 5px 0 0;*/
	/*    font-size: 14px;*/
	/*}*/

	/* メニューエリア */
	/* .menu {
		position: relative;
		padding: 10px;
		z-index: 100;
		background-color: #0E98DD;
	} */

	/* ナビゲーションメニュー */
	nav {
		width: 100%;
		top: 42px;
		position: absolute;
		background-color: #0E98DD;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		padding: 0 20px;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.3s ease, padding 0.3s ease;
		box-sizing: border-box;
		z-index: 99;
	}

	.menu.open nav {
		max-height: 100% !important;

	}

	nav {
		padding: 0px !important;
	}

	nav ul {
		/*	width: 1000px;*/
		/*    display: grid;*/
		/*    grid-template-columns: repeat(4, 1fr);  */
		/*    gap: 10px;*/
		list-style: none;
		/*    margin: 20px auto;*/
		padding: 0;
	}

	nav ul li {
		position: relative;
		border-bottom: 1px solid #FFFFFF;
	}

	nav ul li:last-child {
		border-bottom: transparent;
	}

	nav ul li a {
		display: block;
		font-weight: bold;
		text-align: left;
		padding: 20px 10px;
		background-color: #0E98DD;
		border-radius: 4px;
		color: #FFFFFF;
		text-decoration: none;
		transition: background-color 0.3s ease;
		position: relative;
	}

	nav ul li a::after {
		content: '';
		position: absolute;
		right: 0px;
		top: 50%;
		transform: translateY(-50%);
		/* width: 17px; */
		height: 34px;
		/* padding-top: 25px; */
		padding-left: 10px;
		padding-right: 10px;
		padding-bottom: 26px;
		background-image: url(../img/common/item-nav-arrow.png);
		background-size: 6px;
		background-repeat: no-repeat;
		background-position: center;
		background-color: #FFFFFF;
	}

	nav ul li a:hover::after {
		filter: brightness(0.8);
	}

	.footer-contact_box.visible {
		bottom: 0;
		/* 表示状態では画面下部に固定 */
	}

	.footer-contact_box {
		width: 100%;
		position: fixed;
		bottom: 0;
		transition: bottom 0.5s ease;
		/* スライドアニメーション */
		background-color: #F2F2F2;
		z-index: 10;
		/*	display: none;*/
	}

	.footer-contact_box .telbox {
		display: flex;
		padding: 10px 5px;
		align-items: flex-start;
		gap: 10px;
	}

	.footer-contact_box .tel_subbox {
		width: 50%;
	}

	.footer-contact_box .tel_subbox .telnumber_box {
		display: flex;
		align-items: center;
		padding-top: 10px;
	}

	.footer-contact_box .tel-img {
		width: 8vw;
		display: inline-block;
	}

	.footer-contact_box .tel-img img {
		width: 100%;
	}

	.footer-contact_box .tel-number {
		/*	padding-left: 5px;*/
		/*	flex: 1;*/
	}

	.footer-contact_box .tel-number a {
		color: #E74939;
		font-size: clamp(14px, 5.5vw, 30px);
		text-decoration: none;
		padding-left: 5px;
	}

	.footer-contact_box .open365 {}

	.footer-contact_box .open365 .title {
		color: #FFFFFF;
		font-size: clamp(13px, 2vw, 16px);
		text-align: center;
		padding: 3px;
		background-color: #0E98DD;
		display: block;
	}

	.footer-contact_box .open365 .time {
		font-size: clamp(12px, 2vw, 15px);
		font-weight: normal !important;
		text-align: center;
		padding-top: 5px;
		display: block;
	}

	.footer-contact_box .contact-link {
		width: 50%;
	}

	.footer-contact_box .contact-link a {
		color: #FFFFFF;
		font-size: clamp(12px, 2vw, 24px);
		text-align: center;
		text-decoration: none;
		padding-top: 5px;
		padding-left: 5px;
		padding-right: 5px;
		padding-bottom: 40px;
		background-color: #E74939;
		/*	border-radius: 10px;*/
		position: relative;
		display: block;
	}

	.footer-contact_box .contact-link a:before {
		width: 30px;
		height: 30px;
		content: "";
		background-image: url('../../img/unwanted_item_2/common/item-mail.png');
		background-repeat: no-repeat;
		background-position: left center;
		background-size: 30px;
		position: absolute;
		top: 25px;
		left: 50%;
		transform: translate(-50%);
	}

	.footer-contact_box .contact-link a:after {}

	.footer_tel_box {
		/*	padding-top: 100px;*/
		/*	padding-bottom: 81px;*/
		background-color: #CFEAF8;
	}

	.footer_tel_box .tel_sub {
		position: relative;
		margin-left: auto;
		margin-right: auto;
		padding-top: 100px;
		overflow: hidden;


	}

	.footer_tel_box .title {
		color: #E74939 !important;
		display: block;
	}

	.footer_tel_box .arrow_box {
		position: absolute;
		top: 73px;
		left: 50%;
		width: 70vw;
		min-width: 320px;
		max-width: 500px;
		background: #FFFFFF;
		padding: 10px 0px;
		text-align: center;
		border: 4px solid #000000;
		color: #000000;
		font-size: clamp(14px, 5vw, 48px);
		font-weight: bold;
		border-radius: 35px;
		-webkit-border-radius: 35px;
		-moz-border-radius: 35px;
		transform: translate(-50%);
	}

	.footer_tel_box .arrow_box:after,
	.arrow_box:before {
		border: solid transparent;
		content: '';
		height: 0;
		width: 0;
		pointer-events: none;
		position: absolute;
		top: 100%;
		left: 50%;
	}

	.footer_tel_box .arrow_box:after {
		border-color: rgba(255, 255, 255, 0);
		border-top-width: 20px;
		border-bottom-width: 20px;
		border-left-width: 20px;
		border-right-width: 20px;
		margin-left: -20px;
		border-top-color: #FFFFFF;
	}

	.footer_tel_box .arrow_box:before {
		border-color: rgba(0, 0, 0, 0);
		border-top-width: 22px;
		border-bottom-width: 22px;
		border-left-width: 22px;
		border-right-width: 22px;
		margin-left: -22px;
		margin-top: 3px;
		border-top-color: #000000;
	}

	.footer_tel_box .img {
		width: 100px;
		position: absolute;
		bottom: -51px;
		right: 20px;
		display: block;
	}

	.footer_tel_box .img img {
		width: 100%;
	}

	.footer_tel_box .tel_text_box {
		padding-top: 50px;
		padding-bottom: 50px;
		display: flex;
		flex-direction: column-reverse;
		background-color: #E74939;
	}

	.footer_tel_box .tel_text_box .text {
		width: 70vw;
		min-width: 320px;
		max-width: 500px;
		color: #FFFFFF;
		font-size: clamp(14px, 5vw, 40px);
		font-weight: bold;
		line-height: 1.3;
		margin-top: 10px;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	.footer_tel_box .tel_text_box .tel {
		width: 70vw;
		min-width: 320px;
		max-width: 500px;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	.footer_tel_box .tel_text_box .tel a {
		position: relative;
		/*	width: 655px;*/
		color: #FFDE35;
		font-size: clamp(14px, 8vw, 95px);
		font-weight: bold;
		text-decoration: none;
		margin-left: auto;
		margin-right: auto;
		/*	padding-left: 87px;*/
		display: flex;
		align-items: center;
	}

	.footer_tel_box .tel_text_box .tel a::before {
		content: "";
		width: 10vw;
		height: 10vw;
		margin-right: 10px;
		background-image: url("../img/common/icon-footer-tel.png");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 9vw;
		display: inline-block;
	}

	/* footer: フッターのスタイル */
	footer {
		margin-bottom: 80px;
		padding-top: 30px;
		background-color: #FFDE35;
		margin-top: auto;
		/* フレックスボックスで下部に固定 */
	}

	footer .sp_footer {
		display: flex;
		align-items: flex-start;
	}

	footer .sp_footer div:first-child {
		width: 55%;
		padding-left: 10px;
		padding-right: 5px;
	}

	footer .sp_footer .text {
		font-size: 12px;
	}

	footer .sp_footer .footer_log {
		margin-top: 10px;
		display: block;
	}

	footer .sp_footer div:last-child {
		padding-left: 10px;
		border-left: 2px solid #000000;
	}

	footer ul {
		margin-left: 15px;
		list-style-type: disc;
	}

	footer ul li {
		margin-bottom: 10px;
	}

	footer ul li a {
		color: #000000;
		font-size: 13px;
		text-decoration: none;
	}

	footer ul li a:hover {
		text-decoration: underline;
	}

	footer small {
		font-size: 12px;
		text-align: center;
		margin-top: 20px;
		padding: 10px 0px;
		display: block;
		background-color: #FFFFFF;
	}

	.back-to-top {
		position: fixed;
		bottom: 78px;
		right: 10px;
		display: none;
		/* 初期状態では非表示 */
		/*    color: #fff;*/
		/*    padding: 10px 15px;*/
		/*    border-radius: 50%;*/
		/*    font-size: 18px;*/
		text-align: center;
		/*    line-height: 1;*/
		cursor: pointer;
		/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);*/
		transition: opacity 0.3s ease, transform 0.3s ease;
		z-index: 1000;
		width: 90px;
	}

	.back-to-top img {
		width: 100%;
	}

	.back-to-top.show {
		width: 60px;
		display: block;
		/* スクロール後に表示 */
		opacity: 1;
		transform: translateY(0);
	}

	.back-to-top.hide {
		opacity: 0;
	}


	.color-red {
		color: #E74939;
	}

	.sp-none {
		display: none !important;
	}
}
