@charset "utf-8";
/* CSS Document */
::-moz-selection {
    background: #f49e2c;
	color: #000000;
}
::selection {
    background: #f49e2c;
	color: #000000;
}

body,button {
	font-family:"Zen Maru Gothic","游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック";
	font-size:16px;
	line-height: 1.8;
	font-weight: 500;
	text-align: center;
	color: #373737;
}
*{vertical-align: top; box-sizing: border-box; word-break: break-all;}
* ruby {vertical-align: baseline;}
@-moz-document url-prefix() {rt{margin-bottom: -0.5em;}}
a{color: #373737; text-indent: 0; text-decoration: underline;}
a:hover,button:hover{opacity: 0.6; text-decoration: none;}

a.honbun{display: none;}

.sp{display: none;}


.grecaptcha-badge {bottom: 90px !important;}

@media screen and (max-width: 800px){
	.grecaptcha-badge {bottom: 60px !important;}
}

@media screen and (max-width: 740px){
	body {font-size:15px;}
	rt{margin-bottom: -0.8em;}
    @-moz-document url-prefix() {rt{margin-bottom: -0.5em;}}

}


/*=====================================================================================
***************************************************************************************

　　header
		
***************************************************************************************
=====================================================================================*/
header a:hover{opacity: 1;}
header h1{
	position: fixed;
	top: 20px;
	left: 25px;
	z-index: 60;
	animation: slideIn 0.8s ease-out;
}

header h1 a{
	font-size: 23px;
	font-weight: bold;
	text-decoration: none;
	background: #f49e2c;
	border: 2px solid #000000;
	line-height: 1;
	padding: 10px 20px;
	display: block;
	border-radius: 10px;
	color: #000000;
}
header h1 a:hover{
	color: #f49e2c;
	background: #000000;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    /*opacity: 0;*/
  }
  to {
    transform: translateX(0);
    /*opacity: 1;*/
  }
}

header ul.icon{
	position: fixed;
	top: 20px;
	right: 25px;
	z-index: 60;
	animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    /*opacity: 0;*/
  }
  to {
    transform: translateX(0);
    /*opacity: 1;*/
  }
}

header .icon li{
	display: inline-block; 
	margin-left: 20px; 
	position: relative;
	cursor: pointer;
}
header .icon li a{
	width: 75px;
	height: 75px;
	background: #f49e2c;
	border: 2px solid #000000;
	border-radius: 50%;
	display: block;
}
header .icon li.ham_icon a{padding: 25px 22px; display: flex;}

/* サイト内検索 */
header .site_search_box{
	position: absolute;
	right: 90px;
	top: -80px;
	width: 320px;
	transition: 0.5s;
}
header .site_search_box.open{
	top: 10px;
	transition: 0.5s;
}

header .site_search_box input[type="text"]{
	margin-top: 0;
	border: 2px solid #000000;
	font-size: 16px;
	padding: 15px 90px 15px 25px;
	border-radius: 25px;
}

header .site_search_box .search_icon{
	position: absolute;
    right: 10px;
    top: 10px;
    padding: 6px 10px;
	background: #f49e2c;
	font-size: 13px;
	border-radius: 20px;
	/*background: url("../img/common/search_icon.svg") center no-repeat;
	background-size: cover;*/
	border: none;
	cursor: pointer;	
}
header .site_search_box .search_icon:hover{
	background: #000000;
	color: #f49e2c;
}

header .icon .search a svg{
	display: block;
	margin: 20px auto 0;
}
header .icon li a:hover,header .icon li a.open{background: #000000;}
header .icon .search a:hover svg,
header .icon .search a.open svg{fill: #f49e2c;}

.search_sp{display: none;}



/* ハンバーガーメニュー */
.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger:hover span{background: #f49e2c;}

.hamburger span:nth-child(1) {
  top: 0; /* 最初の線を上部に配置 */
  transform-origin: center; /* 回転の中心を中央に */
}

.hamburger span:nth-child(2) {
  top: 50%; /* 中央の線 */
}

.hamburger span:nth-child(3) {
  bottom: 0; /* 最後の線を下部に配置 */
  transform-origin: center; /* 回転の中心を中央に */
}

/* ハンバーガーのアクティブ状態 */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg); /* 中央へ移動して回転 */
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* 非表示 */
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg); /* 中央へ移動して回転 */
}

/* ドロップダウンメニュー */
.menu {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態は画面外 */
  width: 100%; /* メニューの幅を調整 */
  height: 100vh;
  background: url("../img/common/headermenu_bg.gif") repeat;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 1s ease, right 1s ease; /* スライド用のアニメーション */
  z-index: 50;
}

.menu .flex_box{
	display: flex; 
	max-width: 1000px; 
	width: 90%;
	margin: 0 auto;
	justify-content: space-between;
	padding: 120px 0;
}
.menu .flex_box ul{width: 48%;}

.menu .flex_box ul.big_menu li{margin-bottom: 20px;}
.menu .flex_box ul.big_menu li a{
	display: block;
	width: 100%;
	padding: 20px 30px;
	background: #FFFFFF;
	border-radius: 20px;
	text-align: justify;
	text-decoration: none;
	font-size: 25px;
	font-weight: bold;
	position: relative;
}
.menu .flex_box ul.big_menu li a::after{
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #000;
	border-width: 6.5px 0px 6.5px 11px;
	position: absolute;
	right: 20px;
	top: 45%; 
	animation: moveArrow 1.5s ease-in-out infinite;
}
/* 矢印の動き */
@keyframes moveArrow {
	0% {
		-webkit-transform: translateX(0) scale(1);
		transform: translateX(0) scale(1);
	}

	30% {
		-webkit-transform: translateX(6px) scale(0.9, 1.0);
		transform: translateX(6px) scale(0.9, 1.0);
	}
	45% {
		-webkit-transform: translateX(6px) scale(1.0, 0.9);
		transform: translateX(6px) scale(1.0, 0.9);
	}
	90% {
		-webkit-transform: translateX(0) scale(1);
		transform: translateX(0) scale(1);
	}
	100% {
		-webkit-transform: translateX(0) scale(1);
		transform: translateX(0) scale(1);
	}
}

.menu .flex_box ul.big_menu ruby > rt{font-size: 40%;}
.menu .flex_box ul.big_menu li:nth-child(1) a:hover::after,
.menu .flex_box ul.big_menu li:nth-child(2) a:hover::after,
.menu .flex_box ul.big_menu li:nth-child(3) a:hover::after,
.menu .flex_box ul.big_menu li:nth-child(4) a:hover::after,
.menu .flex_box ul.big_menu li:nth-child(5) a:hover::after{border-color: transparent transparent transparent #fff;}


/*各ボタンの色変更*/
.menu .flex_box ul.big_menu li:nth-child(1) a{
	border: 2px solid #e60024;
	color: #e60024;
}
.menu .flex_box ul.big_menu li:nth-child(1) a:hover{background: #e60024; color: #FFFFFF;}
.menu .flex_box ul.big_menu li:nth-child(1) a::after{border-color: transparent transparent transparent #e60024;}

.menu .flex_box ul.big_menu li:nth-child(2) a{
	border: 2px solid #e77301;
	color: #e77301;
}
.menu .flex_box ul.big_menu li:nth-child(2) a:hover{background: #e77301; color: #FFFFFF;}
.menu .flex_box ul.big_menu li:nth-child(2) a::after{border-color: transparent transparent transparent #e77301;}

.menu .flex_box ul.big_menu li:nth-child(3) a{
	border: 2px solid #059dbe;
	color: #059dbe;
}
.menu .flex_box ul.big_menu li:nth-child(3) a:hover{background: #059dbe; color: #FFFFFF;}
.menu .flex_box ul.big_menu li:nth-child(3) a::after{border-color: transparent transparent transparent #059dbe;}

.menu .flex_box ul.big_menu li:nth-child(4) a{
	border: 2px solid #0583d5;
	color: #0583d5;
}
.menu .flex_box ul.big_menu li:nth-child(4) a:hover{background: #0583d5; color: #FFFFFF;}
.menu .flex_box ul.big_menu li:nth-child(4) a::after{border-color: transparent transparent transparent #0583d5;}

.menu .flex_box ul.big_menu li:nth-child(5) a{
	border: 2px solid #ff5408;
	color: #ff5408;
}
.menu .flex_box ul.big_menu li:nth-child(5) a:hover{background: #ff5408; color: #FFFFFF;}
.menu .flex_box ul.big_menu li:nth-child(5) a::after{border-color: transparent transparent transparent #ff5408;}


/* シンプルデザインの方 */
.menu .flex_box ul.small_menu a{
	text-align: justify;
	display: block;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
	color: #e77301;
	padding: 30px 20px 25px;
	border-bottom: 2px solid;
	position: relative;
}
.menu .flex_box ul.small_menu a::after{
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #e77301;
	border-width: 6.5px 0px 6.5px 11px;
	position: absolute;
	right: 20px;
	top: 45%; 
	animation: moveArrow 1.5s ease-in-out infinite;
}
.menu .flex_box ul.small_menu a:hover{opacity: 0.6;}


/* メニューがアクティブになったとき */
.menu.active {
  right: 0; /* メニューが画面内にスライドイン */
  transform: translateX(0);
}

/* メニューが開いているときにbodyを固定 */
.body-fixed {overflow: hidden;}

@media screen and (max-width: 1000px){
	.menu .flex_box ul.big_menu li a{font-size: 18px;}
	.menu .flex_box ul.small_menu a{font-size: 16px;}
}

@media screen and (max-width: 800px){
	header .search.pc{display: none;}
	header h1{top: 15px; left: 10px;}
	header h1 a{font-size: 14px; padding: 10px;}
	header ul.icon{top: 5px; right: 10px;}
	header .icon li.ham_icon a{
		width: 60px; 
		height: 60px;
		padding: 19px 16px;
	}
	.hamburger.active span:nth-child(1){transform: translateY(7px) rotate(45deg);}
	
	.menu{overflow-y: scroll;}
	.menu::-webkit-scrollbar {background: #fffae6; border-radius: 20px; width: 15px; height: 15px;}
	.menu::-webkit-scrollbar-thumb {background-color: #f49e2c;border-radius: 20px;}
	
	.menu .flex_box{display: block; padding: 80px 0;}
	.menu .flex_box ul{width: 100%; }
	.menu .flex_box ul.big_menu li{margin-bottom: 10px;}
	.menu .flex_box ul.big_menu li a{font-size: 16px; padding: 15px 20px;}
	
	.menu .flex_box ul.small_menu a{font-size: 14px; padding: 20px 20px 15px;}
	
	.search_sp{display: block;}
	header .site_search_box{
		position: relative;
		top: auto;
		right: auto;
		margin: 30px auto;
	}
	header .site_search_box input[type="text"]{font-size: 14px; border: 2px solid #f49e2c;}
	header .site_search_box .search_icon{font-size: 12px;}
	
}

@media screen and (max-height: 670px){
	.menu{overflow-y: scroll;}
}



/*=====================================================================================
***************************************************************************************

　　中ページ上部
		
***************************************************************************************
=====================================================================================*/
#hed_mv{
	width: 100%; 
	height: 400px;
	padding-top: 170px;
	background: url("../img/common/hed_bg.jpg") center repeat-x;
}

#hed_mv img{animation: bounceIn 1.5s ease-out forwards;}

/* アニメーション定義 */
@keyframes bounceIn {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@media screen and (max-width: 740px){
	#hed_mv img.pc{display: none;}
	#hed_mv img.sp{display: inline;}
	
	#hed_mv{
		width: 100%; 
		height: 250px;
		padding-top: 110px;
		background: url("../img/common/hed_bg.jpg") center no-repeat;
		background-size: cover;
	}
}


/*=====================================================================================
***************************************************************************************

　　パンくず
		
***************************************************************************************
=====================================================================================*/
.pankuzu{
	max-width: 1200px;
	width: 90%;
	margin: 20px auto;
	font-size: 14px;
	background: #eeeeee;
	border-radius: 20px;
	text-align: justify;
	padding: 10px 30px;
	color: #3f3f3f;
}
.pankuzu a{color: #3f3f3f;}
@media screen and (max-width: 740px){
	.pankuzu{font-size: 12px;}
}


/*=====================================================================================
***************************************************************************************

　　footer
		
***************************************************************************************
=====================================================================================*/
footer{
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
	padding: 40px 0 50px;
	text-align: justify;
}

footer .box{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer .left_box p{
	font-size: 14px;
	margin-top: 15px;
}

footer .right_box{padding-left: 30px; font-size: 13px;}
footer .right_box li{
	display: inline-block;
	margin-right: 20px;
	padding-right: 20px;
	border-right: 1px solid;
	line-height: 1;
}
footer .right_box li:last-child{
	border-right: none;
	margin-right: 0;
	padding-right: 0;
}
footer .right_box li a{text-decoration: none;}
footer .right_box small{display: block; text-align: right; margin-top: 30px;}

@media screen and (max-width: 740px){
	footer{padding: 45px 0 80px;}
	footer .box{display: block; text-align: center;}
	footer .right_box{padding-left: 0;}
	footer .right_box ul{margin: 40px auto;}
	footer .right_box li{margin-bottom: 5px;}
	footer .right_box li:nth-child(even){
		border-right: none;
		margin-right: 0;
		padding-right: 0;
	}
	footer .right_box small{text-align: center;}
}


/*=====================================================================================
***************************************************************************************

　　ページトップに戻るボタン
		
***************************************************************************************
=====================================================================================*/
/* ボタンのスタイル */
.scroll_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* 初期状態は非表示 */
  background-color: #000;
  color: #fff;
  text-align: center;
  line-height: 50px; /* ボタンの高さと揃える */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 18px;
  text-decoration: none; /* 下線を消す */
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  opacity: 0; /* 初期状態で透明 */
  transition: opacity 0.5s ease-in-out; /* フェードイン/アウトのアニメーション */
}

.scroll_top:hover {
  background-color: #444;
}

@media screen and (max-width: 800px){
	.scroll_top{width: 40px; height: 40px; right: 10px; bottom: 10px;}
	.scroll_top img{width: 100%;}
}


/*=====================================================================================
***************************************************************************************

　　ページ遷移アニメーション
		
***************************************************************************************
=====================================================================================*/
/* オーバーレイのスタイル */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  clip-path: inset(100% 0 0 0); /* 初期状態: 画面外 */
  transition: clip-path 0.7s ease-in-out; /* アニメーション効果 */
}

/*=====================================================================================
***************************************************************************************

　　パズルの隠し要素
		
***************************************************************************************
=====================================================================================*/
.puzzle_link_box{position: absolute;}

.puzzle_link_box button{background: none; border: none; cursor: pointer;}
.puzzle_link_box button:hover{
	animation: fuwafuwa 2s infinite;
	opacity: 1;
}
@keyframes fuwafuwa {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 開いた中身 */
.puzzle_link_box_popup{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.7);
	justify-content: center;
	align-items: center;
	z-index: 100;
}
.puzzle_link_box_popup.open{display: flex;}

#wrapper .puzzle_link_box_popup .box{
	width: 601px;
	min-height: 601px;
	padding-top: 420px;
}

/* リンクbutton */
#wrapper .puzzle_link_box_popup .puz_kaku {
	max-width: 285px;
	width: 80%;
	display: block;
	line-height: 1;
	padding: 20px 15px 15px;
	font-size: 20px;
	font-weight: 900;
	background-color: #0583d5; /* 背景色 */
	box-shadow: 0 10px 0 #00558c; /* 影の太さ・色 */
	border-radius: 10px;
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none; /* 文字の下線を消す */
	position: relative;
	transition: all 0.3s ease;
	margin: 0 auto;
	text-align: center;
}

#wrapper .puzzle_link_box_popup .puz_kaku:hover {
	box-shadow: none;
	transform: translateY(5px);
	opacity: 1;
}
#wrapper .puzzle_link_box_popup .puz_kaku::after{display: none;}


/* 閉じるボタン */
#wrapper .puzzle_link_box_popup .puz_clause{
	color: #FFFFFF;
	font-size: 30px;
	font-weight: 900;
	width: 45px;
	line-height: 1;
	border-radius: 50%;
	background: #0583d5;
	max-width: none;
	padding: 6px 0 9px;
	box-shadow: none;
	display: block;
	text-decoration: none;
	margin: 20px auto 0;
	cursor: pointer;
	text-align: center;
}

#wrapper .puzzle_link_box_popup .puz_clause:hover{
	background: #FFFFFF;
	color:#0583d5 ;
	opacity: 1;
}

#wrapper .puzzle_link_box_popup .puz_clause::after{display: none;}

@media screen and (max-width: 650px){
	#wrapper .puzzle_link_box_popup .box{
		width: 330px; 
		min-height: 330px; 
		background-size: 330px!important;
		padding-top: 230px;
		position: relative;
	}
	#wrapper .puzzle_link_box_popup .puz_kaku{
		width: 150px;
		font-size: 14px;
		padding: 15px;
		box-shadow: none;
	}
	#wrapper .puzzle_link_box_popup .puz_clause{
		width: 45px;
		font-size: 30px;
		margin: 10px auto 0;
		position: absolute;
		top: 0;
		right: 0;
	}
}


/*=====================================================================================
***************************************************************************************

　　CMS
		
***************************************************************************************
=====================================================================================*/
/*=============== cmsページ以外でも使用出来る共通css ===============*/
.width90{
	width: 90%;
	margin: 0 auto;
}
.max_w1200{max-width: 1200px;}
.max_w900 {max-width: 900px;}
.max_w800{max-width: 800px;}
.bg_color{
	padding: 80px 0 150px;
	background-color: #fff5e7;
}
.bg_color_white{background-color: #FFFFFF;}
.page_description{
	font-size: 25px;
	line-height: 2;
	font-weight: bold;
	margin-bottom: 50px;
}
.font_size_50{font-size: 50px;}
.font_size_20{font-size: 20px;}
.font_size_18{font-size: 18px;}
.font_size_13{font-size: 13px;}

/*ボタン矢印　左右*/
.btn_arrow_left,.btn_arrow_right{position: relative;}
.btn_arrow_left::after,.btn_arrow_right::after{
	position: absolute;
	content: "";
	border-style: solid;	
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	color:currentColor;
}
.btn_arrow_right::after{
	right: 1em;
	border-left-width: 10px;
	background-left-color:currentColor;
	border-right: 0;
	animation: moveArrow 1.5s ease-in-out infinite;
}
.btn_arrow_left::after{
	left: 2em;
	border-right-width: 10px;
	background-right-color:currentColor;
  	border-left: 0;
	animation: moveArrow2 1.5s ease-in-out infinite;
}
/*左右に・がつく装飾*/
.title_round{
	margin-bottom: 15px;
	display: inline-block;
	position: relative;
	max-width: 90%;
}
.title_round::before,
.title_round::after{
	position: absolute;
	content: "";
    width: 0.3em;
    height: 0.3em;
    border-radius: 50%;
    background-color: currentcolor;
    inset: 0 auto;
    margin: auto;
}
.title_round::before{left:-0.8em;}
.title_round::after{right:-0.8em;}
fieldset {padding: 0;margin: 0;border: none;}

/*cmsボタンデザイン*/
.cms_btn {
	font-size: 20px;
	width: 350px;
	border-radius:50px;
	margin: 60px auto 0;
	padding: 1.2em;
	color: #FFFFFF;
	background-color: #059dbe;
	display: flex;
	align-items: center;
    justify-content: center;
	text-decoration: none;
	cursor: pointer;
}
.cms_btn.place{font-size: 17px;}
@media screen and (max-width: 740px){
	.bg_color{	padding: 40px 0 70px;}
	.page_description{
		font-size: 18px;
		margin-bottom: 30px;
		text-align: justify;
	}
	.page_description br{display: none;}
	.font_size_50{font-size: 30px;}
	.font_size_20{font-size: 16px;}
	.font_size_18{font-size: 14px;}
	.font_size_13{font-size: 12px;}
	.cms_btn {
		font-size: 15px;
		width: 80%;
		margin-top: 30px;
	}	
	.cms_btn.place{font-size: 15px;}

}

/*=====================================================================================
***************************************************************************************

　　CMS　タグデザイン
		
***************************************************************************************
=====================================================================================*/
.tag_list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px 1.3%;
	margin-bottom: 50px;
}
.tag_list .tag_btn_design{width: 24%;}
.tag_btn_design{
	font-size: 18px;
	border-style: solid;
	border-width: 2px;
	padding:0.5em 0.8em;
    border-radius: 100px;
    background-color: #FFFFFF;
    cursor: pointer;
	display: flex;
	align-items: center;
    justify-content: center;
	text-decoration: none;
}
.red,.red_color{color: #e60024;border-color: #e60024;}
.orange{color: #e77301;border-color: #e77301;}/*f49e2c*/
.blue{color: #059dbe;border-color: #059dbe;}/*22b0c9*/
.green{color: #2d9391;border-color: #2d9391;}
.purple {color: #5f52a0;border-color: #5f52a0;}
.lightgreen {color: #29a432;border-color: #29a432;}
.gray {color: #626262;border-color: #626262;}


.red_bg{background-color: #e60024;}
.orange_bg{background-color: #e77301;}
.blue_bg{background-color: #059dbe;}
.green_bg{background-color: #2d9391;}
.gray_bg{background-color: #626262;}
.purple_bg {background-color: #5f52a0;}
.lightgreen_bg {background-color: #29a432;}

.tag.active,.tag:hover{color: #FFFFFF;opacity: 1;}
.red.active, .tag.red:hover ,.checkbox_tag_btn_design.red:hover{background-color: #e60024;}
.orange.active,.tag.orange:hover,.checkbox_tag_btn_design.orange:hover{background-color: #e77301;}
.blue.active,.tag.blue:hover,.checkbox_tag_btn_design.blue:hover{background-color: #059dbe;}
.green.active,.tag.green:hover,.checkbox_tag_btn_design.green:hover{background-color: #2d9391;}
.purple.active, .tag.purple:hover, .checkbox_tag_btn_design.purple:hover{background-color: #5f52a0;}
.lightgreen.active, .tag.lightgreen:hover, .checkbox_tag_btn_design.lightgreen:hover{background-color: #29a432;}
.gray.active, .tag.gray:hover, .checkbox_tag_btn_design.gray:hover{background-color: #626262;}


@media screen and (max-width: 1024px){
	.tag_list .tag_btn_design{width: 49.3%;}
}
@media (max-width: 740px) {
	.tag_list {
		gap: 6px 1.3%;
		margin-bottom: 25px;
	}
	.tag_list .tag_btn_design{
		width: 100%;
		height: 48px;
	}
	.tag_btn_design{font-size: 15px;}
}

/*=====================================================================================
***************************************************************************************

　　CMS　タグリストチェックボックス
		
***************************************************************************************
=====================================================================================*/
.cms .checkbox_tag_btn_design {
    padding: 0.5em 1.5em;
    gap: 0 .5em;
    position: relative;
    justify-content: flex-start;
}
.checkbox .checkbox_tag_btn_design:has(:checked),.cms .tag_list .tag_btn_design:hover{color: #FFFFFF;}
.checkbox .checkbox_tag_btn_design.red:has(:checked) {background-color: #e60024;border-color: #e60024;}
.checkbox .checkbox_tag_btn_design.orange:has(:checked) {background-color: #e77301;border-color: #e77301;}
.checkbox .checkbox_tag_btn_design.blue:has(:checked) {background-color: #009cb8;border-color: #009cb8;}/*22b0c9*/
.checkbox .checkbox_tag_btn_design.green:has(:checked) {background-color: #2d9391;border-color: #2d9391;}
.checkbox .checkbox_tag_btn_design.purple:has(:checked){background-color: #5f52a0;border-color: #5f52a0;}
.checkbox .checkbox_tag_btn_design.lightgreen:has(:checked){background-color: #29a432;border-color: #29a432;}
.checkbox .checkbox_tag_btn_design.gray:has(:checked){background-color: #626262;border-color: #626262;}

.search_box .checkbox label::before {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background-color: #fff;
	border: solid 1px #3f3f3f;
    content: '';
}
.search_box .checkbox label:has(:checked)::after {
    position: absolute;
	margin: auto;
    transform: rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #3f3f3f;
    border-width: 0 2px 2px 0;
    content: '';
}

.search_box .search_item_mainbox .checkbox label:has(:checked)::after {inset: 0 auto 3px 1.8em;}
.search_box .search_item_sabbox label:has(:checked)::after {inset: 0 auto 3px 0.3em;}

.search_box .checkbox input {display: none;}

/*=====================================================================================
***************************************************************************************

　　CMS　タグリストラジオボタン
		
***************************************************************************************
=====================================================================================*/
.search_box .search_item_sabbox .checkbox {
    display: flex;
    flex-wrap: wrap;
	justify-content: flex-start;
    gap: .8em 1.5%;
    border: none;
}
.search_box .search_item_sabbox .checkbox label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    cursor: pointer;
	width: 22%;
}
.search_box .radio label::before,
.search_box .radio label::after {
    border-radius: 50%;
    content: '';
}
.search_box .radio label::before {
    width: 18px;
    height: 18px;
	aspect-ratio: 1;
    border: 1px solid #3f3f3f;
    background-color: #FFFFFF;
    box-sizing: border-box;
}
.search_box .radio label::after {
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    background-color: #dee5eb;
}
.search_box .radio label:has(:checked)::after {background-color: #3f3f3f;}
.search_box .radio input {display: none;}
.search_item_sab{
	display: flex;
    gap: 0.2em 1em;
    flex-wrap: wrap;
	line-height: 1.2;
}
@media screen and (max-width: 1200px){
	.search_box .search_item_sabbox .checkbox label {width: 30%;}
}
@media screen and (max-width: 1000px){
	.search_box .search_item_sabbox .checkbox label {width: 49%;}
}
@media (max-width: 740px) {	
	.search_box .search_item_sabbox .checkbox label {width: 100%;}
}
/*=====================================================================================
***************************************************************************************

　　CMS　記事一覧
		
***************************************************************************************
=====================================================================================*/
/*共通*/
.cms .article_list{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 18px 2%;
}
.cms .article_list .card{border-radius:10px;}
.cms .article_list .card a{
	display: block;
	padding: 30px 5%;
	color: #3f3f3f;
	text-decoration: none;
}
.cms .card_tag_design_list{
	display: flex;
	gap: 5px 1.5%;
	flex-wrap: wrap;
}
.cms .card_tag_design {
	font-size: 15px;
	line-height: 1.2;
    padding: 0.4em 1em;
    border-radius: 50px;
    color: #FFFFFF;
	display: inline-block;
	text-align: center;
}
.cms .content{text-align: left;}
.cms .content .date {font-size: 15px;}
.cms .content .kaigyo_none{white-space: nowrap;}
.cms .content .title {
    font-size: 20px;
	line-height: 1.4;
	font-weight: bold;
	overflow: hidden;
}
.cms a .content .title{text-decoration: underline;}
/*２列*/
.cms .row2 .card{width: 49%;}
.cms .row2 .card a{
	display: flex;
	flex-wrap: wrap;
	gap:10px 4%;
}
.cms .article_list .img_box {
	width:39%;
	height: 100%;
    aspect-ratio: 3 / 2;
	overflow: hidden;    
}
.cms .article_list .card .img_box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cms .row2 .content {width: 57%;}
.cms .row2 .content .title {
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;    
}
/*1列*/
.cms .row1 .card{width: 100%;}
.cms .row1 .card .content{
	display: flex;
    align-items: center;
	gap:0.2em 2%;
}
.cms .row1 .content .title {
	width: 100%;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
@media screen and (max-width: 1024px){
	.cms .card_tag_design {font-size: 12px;}
}
@media (max-width: 900px) and (min-width: 740px){
	.cms .row2 .card a>div{width: 100%;}
}
@media (max-width: 740px) {
	.cms .article_list .card a{padding: 20px 5%;}
	.cms .row2 .card a>div{width: 48%;}
	.cms .row2 .card{width: 100%;}
	.cms .content .title{font-size: 18px;}
	.cms .row1 .card .content{
		flex-direction: column;
		align-items: flex-start;
	}
	.cms .row1 .content .title{-webkit-line-clamp: 2;}
}
/*=====================================================================================
***************************************************************************************

　　CMS　ページネーション
		
***************************************************************************************
=====================================================================================*/
.pagination {
	margin: 60px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 8px;
}
.pagination li{
	width:45px;
	aspect-ratio: 1;
}
.pagination a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height:100%;
    border: 1px solid #059dbe;
	background-color: #FFFFFF;
    border-radius: 25px;
    color: #059dbe;
	text-decoration: none;
}
.pagination a:hover {
	background-color: #059dbe;
	color: #FFFFFF;
	opacity: 1;
}
.pagination .current a,.prev a,.next a {
    background-color: #059dbe;
    color: #FFFFFF;
}
.pagination .prev a span{animation: moveArrow2 1.5s ease-in-out infinite;font-size: 0;height: 12px;}
.pagination .next a span{animation: moveArrow 1.5s ease-in-out infinite;font-size: 0;height: 12px;}
#wrapper .pagination img.emoji {display: none!important;}
.pagination .prev a span::before,
.pagination .next a span::before{
    position: absolute;
    content: "";
    border-style: solid;
    inset: 0;
    margin: auto;
}
.pagination .prev a span::before{    
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 9px solid #ffffff;
    border-left: 0;
    inset: 0 -2px 0 auto;
}
.pagination .next a span::before{
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-left: 9px solid #ffffff;
      border-right: 0;
}
/*矢印の動きが右から左*/
@keyframes moveArrow2 {
	0% {
		-webkit-transform: translateX(0) scale(1);
		transform: translateX(0) scale(1);
	}
	30% {
		-webkit-transform: translateX(-7px) scale(0.95, 1.05);
		transform: translateX(-7px) scale(0.95, 1.05);
	}
	45% {
		-webkit-transform: translateX(-7px) scale(1.025, 0.975);
		transform: translateX(-7px) scale(1.025, 0.975);
	}
	90% {
		-webkit-transform: translateX(0) scale(1);
		transform: translateX(0) scale(1);
	}
	100% {
		-webkit-transform: translateX(0) scale(1);
		transform: translateX(0) scale(1);
	}
}
@media (max-width: 740px) {
	.pagination {margin-top: 30px;}
}
/*=====================================================================================
***************************************************************************************

　　CMS　記事詳細ページ
		
***************************************************************************************
=====================================================================================*/
#detail article{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap:20px 2.5%;
}
#detail article>section{
	padding: 40px 2.5%;
	border-radius:8px;
}
#detail .section_contents{width: 70%;}
#detail .category_list_box{width: 26%;}
#detail .category_list .tag_btn_design{
	border-radius:12px;
	margin-top: 15px;
	height: 90px;
}
/*左側の記事*/
#detail .section_contents a{color:#0000ff}
#detail .section_contents{text-align: left;}
#detail .section_contents p{
    text-align: justify;
    margin-bottom: 1em;
}
#detail .section_contents section.content p{margin-bottom: 0;}
#detail .section_contents h3{
    line-height: 1.5;
    font-weight: bold;
    color: #e77301;
    border-left: solid 3px #e77301;
    padding-left: 0.5em;
    margin: 0.5em 0;
}
#detail .section_contents h2{
	font-size: 20px;
	line-height: 1.5;
	padding-bottom: 0.4em;
	margin:1em 0 0.5em;
	font-weight: bold;
	color: #e77301;
	border-bottom: solid 1px #e77301;
}
#detail .section_contents h4{
	line-height: 1.5;
	width: 100%;
	font-weight: bold;
    margin: 1em 0 0.5em;
	position: relative;
	padding-left: 1.2em;
	color: #e77301;
}
#detail .section_contents h4::before{
	position: absolute;
    content: "";
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    inset: 0.4em auto auto 0;
    background-color: #e77301;
}
#detail .section_contents section,
#detail .section_contents ul,
details {margin-bottom: 30px;}
#detail .section_contents ul,#detail .section_contents ul li{list-style: disc;}
#detail .section_contents ul li{margin-left: 1.2em;}
#detail .section_contents ul li:not(:last-child){margin-bottom: 0.5em;}
details summary{
    font-size: 18px;
    padding: 0.2em 1em;
    text-decoration:inherit;
    background-color: #dedede;
    border-radius:5px; 
}
#detail .section_contents .wp-block-file a.wp-element-button{
    padding: 1em 2em;
    background-color: #e77301;
    color: #FFFFFF;
    border-radius:5px;
    display: block;
    max-width: 300px;
    text-align: center;
    margin: 5px 0 0 0;
}
.wp-block-file{margin-bottom: 30px;}
.wp-block-media-text.is-stacked-on-mobile.is-vertically-aligned-top{gap:1em;}
.wp-block-media-text>.wp-block-media-text__content{padding: 0;}/*もともとのワードプレスの記述を打ち消す*/
.wp-block-separator{border-top-color: #a0a0a0;display: block;margin: 30px 0;}
#detail .section_contents dt{color: #e77301;}
#detail .section_contents_row2 dl{border-right: solid 1px #e77301;}
#detail .section_contents_img_box img{
	width: 100%;
	height: auto;
	/*aspect-ratio: 3 / 2;*/
}
#detail .section_contents_row2{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap:15px 2%;
}
.wp-block-button__link{background-color:#e77301;}
#detail  a.wp-block-button__link{color:#FFFFFF;}
#detail .section_contents_row2 .section_contents_row2_inner{width: 49%;}
#detail .section_contents_img_row2 img{width: 49%;}
#detail .section_contents_img_row2 img:nth-of-type(even){margin-left: 2%;}
#detail .hassyutagu{
	padding: 1em 4%;
	background-color: #d3eff4;
}
#detail .hassyutagu p{margin-bottom: 0;}
#detail .section_contents .right_position{
	float: right;
    width: 48%;
    margin: 0 0 10px 3%;
}
#detail .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {background-color: #ffeddb;}
#detail .wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th {border-color: #e77301;}
.wp-block-table.is-style-stripes{overflow: auto;}
@media screen and (max-width: 1023px){
	#detail .section_contents{width: 100%;}
	#detail .category_list_box{width: 100%;}
    #detail .wp-block-table .has-fixed-layout{width: 800px;}
}
@media (max-width: 1023px) and (min-width: 740px){
	#detail .category_list {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#detail .category_list li{width: 49%;}
}
@media screen and (max-width: 740px){
	#detail article>section{padding: 20px 5%;}
	#detail .section_contents section{margin-bottom: 15px;}
	#detail .category_list .tag_btn_design{height: 65px;}
	#detail .section_contents_row2 .section_contents_row2_inner{width: 100%;}
	#detail .section_contents_row2 dl{
		border-right:none;
		border-bottom: solid 1px #e77301;
		padding-bottom: 1em;
	}
	#detail .section_contents h4{margin-bottom: 0.2em;}
}

/*=====================================================================================
***************************************************************************************

　　CMS　フォームページ
		
***************************************************************************************
=====================================================================================*/
#form {overflow: hidden;}
#form .bg_color_white{
	padding: 100px 0;
	border-radius:10px;
}
#form .form-group {
	text-align: left;
	border-bottom: solid 1px #3F3F3F;
	padding-bottom: 2em;
	margin-bottom: 1.8em;
    position: relative;
}
#form form{margin-top: 50px;}
#form legend{display: none;}
#form button{border: none;}
.cms_btn_row2{
	display: flex;
	flex-wrap: wrap;
	gap:10px 2%;
	margin-top: 60px;
}
.cms_btn_row2 .cms_btn{margin-top: 0;}
/*注意事項上のボタン*/
.foam_madoguti{
	font-size: 20px;
	font-weight: 900;
}

/*ボタン*/
.foam_madoguti a {
	max-width: 350px;
	width: 90%;
	display: block;
	margin: 20px auto 30px;
	padding: 10px 30px;
	font-size: 18px;
	font-weight: bold;
	background-color: #ff4d77; /* 背景色 */
	box-shadow: 0 10px 0 #b73956; /* 影の太さ・色 */
	border-radius: 10px;
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none; /* 文字の下線を消す */
	position: relative;
	transition: all 0.3s ease;
	z-index: 3;
}

.foam_madoguti a::after{
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	border-width: 6px 0px 6px 8px;
	right: 20px;
	top: 40%;
	animation: moveArrow 1.5s ease-in-out infinite;
}

.foam_madoguti a:hover {
	box-shadow: none;
	transform: translateY(5px);
	opacity: 1;
}




/*注意事項*/
.warning{
	background-color: #fff6f8;
	border: solid 1px #d50021;
	padding: 25px 4%;
	margin-top: 15px;
	list-style: disc;
	text-align: justify;
}
.warning li{margin-left: 1em;list-style: disc;}

/*必須*/
.required {
	font-size: 12px;
	background-color:#e60024 ;
    color: #FFFFFF;
	padding: 0.1em 0 0.2em;
    margin-bottom: 0.5em;
	border-radius: 50px;
	width: 40px;
	text-align: center;
}
/*エラーメッセージ*/
.error-message {
    color: #e60024;
    font-size: 12px;
    margin-top: 5px;
	display: none;
}
label.error{
    font-size: 17px;
    color: #e60024;
}
.form-group_flex{
	display: flex;
	align-items: center;
	gap:10px 6%;
	flex-wrap: wrap;
}
.form-group_flex .form_Qbox{width: 20%;}
.form-group_flex > :nth-child(2) { width: 74%;}

/*その他共通*/
input[type="text"], textarea, select {
	font-size: 16px;
    width: 100%;
    padding: 10px;
    border: 1px solid #059dbe;	
}
input[type="text"],
textarea, 
select,
fieldset {margin-top: 1em;}

/*ラジオボタン、チェックボックス共通*/
.form_radio,
.form_checkbox{border: none;}

.form_radio label, 
.form_checkbox label{
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    margin-bottom: .4em;
    padding: 1em 1.5em;
    border-radius: 50px;
    cursor: pointer;
	line-height: 1.5;
}
.form_radio label:has(:checked), 
.form_checkbox label:has(:checked) {color: #FFFFFF;}
.form_radio input,.form_checkbox input {/*display: none;*/ opacity: 0;  margin-left: -20px;}

/*ラジオボタン*/
.form_radio label{
	border: 1px solid #059dbe;
    background-color: #059dbe26;
}
.form_radio label:has(:checked) {background-color: #059dbe;}
.form_radio label::before,
.form_radio label:has(:checked)::after {
    border-radius: 50%;
    content: '';
}
.form_radio label::before {
    width: 14px;
    height: 14px;
    background-color: #fff;
}
.form_radio label:has(:checked)::after {
    position: absolute;
    top: 50%;
    left: calc(7px + 1.5em);
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background-color: #059dbe;
}

/*チェックボックス*/
.form_checkbox label {
    border: 1px solid #e77301;
    background-color: #e7730126;
}
.form_checkbox label::before {
    width: 14px;
    height: 14px;
    border-radius: 1px;
    background-color: #fff;
    content: '';
    aspect-ratio: 1;
}
.form_checkbox label:has(:checked) {background-color: #e77301;}
.form_checkbox label:has(:checked)::after {
    position: absolute;
    left: 1.75em;
    margin-bottom: 3px;
    transform: rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #e77301;
    border-width: 0 2px 2px 0;
    content: '';
}
/*テキストエリア*/
textarea {
    min-height: 120px;
    resize: vertical;
}
#form .alert{margin-top: 1em;}
/*セレクトボックス*/
.select_box{position: relative;}
.select_box::before {
    position: absolute;
    width: 16px;
    height: 12px;
    background-color: #FFFFFF;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
    inset: 30px 22px 0 auto;
}
select {
    appearance: none;
    border-right: solid 60px #059dbe;
	background-color: #FFFFFF;
}
#form .form-group img{
	margin: 15px auto 0;
    display: block;
	max-width: 100%;
}
#form .end_text{
	font-size: 25px;
	line-height: 2;
	font-weight: bold;
}
@media screen and (max-width: 900px){
    #form .end_text {text-align: left;}
    #form .end_text br.pc{display: none;}
}
@media screen and (max-width: 740px){
	#form .bg_color_white{padding: 25px 0;}
	#form form{margin-top: 25px;}
	.cms_btn_row2{margin-top: 30px;}
	#form .end_text{
		font-size: 15px;
		line-height: 2;
	}
	.form-group_flex .form_Qbox,
	.form-group_flex > :nth-child(2) {width: 100%;}
    #form .red_color .font_size_20{text-align: left;}
	
	.foam_madoguti{font-size: 16px;}
	.foam_madoguti p{text-align: justify;}
	.foam_madoguti p br{display: none;}
	.foam_madoguti a {margin: 10px auto 30px; font-size: 16px;}
}





/*=====================================================================================
***************************************************************************************

　　インスタグラム埋め込み部分
		
***************************************************************************************
=====================================================================================*/


#wrapper .takahash-cont .btn-outline-secondary{
	width: 300px;
    line-height: 60px;
    background: rgb(5, 157, 190);
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: 36px;
    margin: 10px 0px 40px;
}
#wrapper .fa-search-plus{display: none;}

@media screen and (max-width: 740px){
	#wrapper .takahash-cont .btn-outline-secondary{
		width: 150px;
		line-height: 35px;
		font-size: 14px;
		margin: 0px 0px 10px;
	}
}
/*=====================================================================================
***************************************************************************************

　　CMS　居場所ページ共通検索エリア
		
***************************************************************************************
=====================================================================================*/

#whereabouts form.bg_color_white{
    border-radius: 10px;
    padding: 50px 0;
    margin-top: 100px;
}
#whereabouts .search_box .font_size_20{text-align: left;}
@media screen and (min-width: 1024px) {
	#whereabouts .tag_list .tag_btn_design.lightgreen{width: 30%;}
	#whereabouts .tag_list .tag_btn_design.gray{width: 30%;}
}
#whereabouts .search_box .tag_list{justify-content: flex-start;}
#whereabouts .btn_box{text-align: center;margin-top: 30px;}
#whereabouts .btn_box button,
#whereabouts .btn_box .reset_btn{
	border: none;
	cursor: pointer;
	padding: 0.5em 1em;
	width: 45%;
	max-width: 180px;
	border-radius:5px;
	color: #FFFFFF;
}
#whereabouts .btn_box button.search_btn{background-color: #059dbe;}
#whereabouts .btn_box .reset_btn{
    background-color: #535353;
    display: inline-block;
    text-decoration:none;
	line-height: 1.8;
	font-family: "Zen Maru Gothic", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック";
}
#whereabouts .btn_box .reset_btn:hover{opacity: 0.6;}
#whereabouts .select_box{max-width: 650px;}

#whereabouts .cms_btn{max-width: 400px;width: 90%;}

#whereabouts .search_box .note{
    text-align: left;
    list-style-type: disc;
    padding-left: 2.5em;
    margin-top: 1.5em;
}
#whereabouts .search_box .note li{
    list-style-type: disc;
    margin-left: -1em;
}
@media (max-width: 1000px) {
    form.bg_color_white{padding:25px 0;}
    form.bg_color_white{margin-top: 50px;}
}