@charset "UTF-8";

html{
	font-size: 100%;
}
body{
    font-family: "Noto Sans JP", sans-serif;
	font-size: 1rem;
	font-weight: 500;
	color: #222;
	line-height: 1.7;
}

@media screen and (max-width: 767px) {
	body{
		font-size: 0.875rem;
	}
}


/* -----------------------------------------------------------
	root
----------------------------------------------------------- */

:root {
	--main-color: #D44200;/*オレンジ　コントラスト比OK*/
	
	--sub-color01: #FBDD00;/*黄　コントラスト比NG*/
	--sub-color02: #54C0E5;/*青　コントラスト比NG*/
	--sub-color03: #222222;/*黒　コントラスト比OK*/
	--sub-color04: #802900;/*茶　リンク用　コントラスト比OK*/
	--sub-color05: #4D4D4D;/*グレー　リンク用　コントラスト比OK*/
	--sub-color06: #E97A1B;/*オレンジ　コントラスト比NG*/
	--sub-color07: #A5DF98;/*緑　コントラスト比NG*/
	
	--bg-color01: #F3B45D;/*オレンジ*/
	--bg-color02: #E6E6E6;/*グレー*/
	--bg-color03: #f2f2f2;/*グレー*/
	
	--font-en: "Montserrat", sans-serif;
}

/* -----------------------------------------------------------
	共通装飾等
----------------------------------------------------------- */
body {
	-webkit-text-size-adjust: 100%;
}
a {
	color: var(--main-color);
}
a:visited {
	color: var(--sub-color05);
}

ul{
	list-style: none;
}

img{
	max-width: 100%;
}

@media (hover: hover){
	a:hover {
		color: var(--sub-color04);
	}
}


/* -----------------------------------------------------------
	Bootstrap
----------------------------------------------------------- */

button{
    border: none;
    background: none;
	padding: 0;
}
ul.row{
	padding-left: 3rem;
}

@media screen and (max-width:1200px){
	ul{
		padding-left: 1rem;
	}
	ul.row{
		padding-left: 2rem;
	}
}

/*　コンテンツ幅　*/

@media (min-width: 992px){
	.container{
		max-width: 720px;
	}
}
@media (min-width: 1200px){
	.container{
		max-width: 960px;
	}
}
@media (min-width: 1400px){
	.container{
		max-width: 1140px;
	}
}
@media (min-width: 1600px){
	.container{
		max-width: 1320px;
	}
}

/* -----------------------------------------------------------
　大枠
----------------------------------------------------------- */

#headercontainer{
	width: 250px;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background: var(--main-color);
	overflow-y: auto;
	z-index: 999999;
}
#maincontainer{
	margin-left: 250px;
}

@media screen and (max-width:991px) {
	#headercontainer{
		width: 100%;
		height: auto;
	}
	#maincontainer{
		margin-top: 60px;
		margin-left: 0;
	}
}


/* -----------------------------------------------------------
	ヘッダー
----------------------------------------------------------- */

.header-sp{
	display: none;
}
.header-logo{
	padding: 30px 25px;
	margin-bottom:0;
}
.header-logo a{
	display: block;
	text-align: center;
}
.header-logo img{
	width: 100%;
	max-width:170px;
}

.gnav-list{
	padding-left: 0;
	border-bottom: 1px dashed var(--sub-color03);
}
.gnav-list a{
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
}
.gnav-list > li > div.gnav-open-menu{
	color: #fff;
	cursor: pointer;
	position: relative;
	transition: all .3s ease;
}
.gnav-list > li.gnav-menu,
.gnav-list > li > div.gnav-open-menu{
	border-top: 1px dashed var(--sub-color03);
}
.gnav-list > li.gnav-menu a,
.gnav-list > li > div.gnav-open-menu a{
	display: block;
	line-height: 1;
	padding: 15px 45px 15px 15px;
	position: relative;
	transition: all .3s ease;
}
.gnav-list > li.gnav-menu a::before,
.gnav-list > li > div.gnav-open-menu a + button{
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 1px solid var(--sub-color03);
	border-radius: 50%;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 15px;
	margin: auto 0;
	transition: all .3s ease;
}
.gnav-list > li.gnav-menu a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid var(--sub-color03);
	border-right: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 21px;
	margin: auto 0;
	transition: all .3s ease;
}
.gnav-list > li > div.gnav-open-menu span{
	display: block;
	position: relative;
}
.gnav-list > li > div.gnav-open-menu span  a + button{
	font-size:0;
	color: #fff;
	text-align:unset;
}
.gnav-list > li > div.gnav-open-menu span a + button::before,
.gnav-list > li > div.gnav-open-menu span a + button::after{
	content: '';
	display: block;
	width: 10px;
	height: 2px;
	background: var(--sub-color03);
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
	transition: all .3s ease;
}
.gnav-list > li > div.gnav-open-menu span a + button::before{
	right: 4px;
}
.gnav-list > li > div.gnav-open-menu span a + button::after{
	transform: rotate(90deg);
	right: 4px;
}

.gnav-list > li > div.gnav-open-menu.open span a + button::before,
.gnav-list > li.current-menu-item > div.gnav-open-menu:not(.close)  span a + button::before,
.gnav-list > li.current-page-ancestor > div.gnav-open-menu:not(.close)  span a + button::before{
	opacity: 0;
}
.gnav-list > li > div.gnav-open-menu.open span a + button::after,
.gnav-list > li.current-menu-item > div.gnav-open-menu:not(.close) span a + button::after,
.gnav-list > li.current-page-ancestor > div.gnav-open-menu:not(.close)  span a + button::after{
	transform: rotate(0deg);
}

.gnav-open-menu-s{
	display: none;
}
.current_page_item .gnav-open-menu-s,
.current-page-ancestor .gnav-open-menu-s{
	display:block;
}
.gnav-open-menu-list{
	margin: 0 15px;
	padding: 10px 0;
	border-top: 1px solid var(--sub-color03);
}
.gnav-open-menu-list > li > a{
	display: inline-block;
	padding-left: 20px;
	font-size: 1rem;
	line-height:1.3rem;
	color: #fff;
	position: relative;
	transition: all .3s ease;
}
.gnav-open-menu-list > li > a::before{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 11px solid var(--sub-color03);
	border-right: 0;
	position: absolute;
	top: 5px;
	left: 0;
	margin: auto 0;
	transition: all .3s ease;
}
.gnav-open-menu-list > li > a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 7px solid var(--sub-color02);
	border-right: 0;
	position: absolute;
	top: 7px;
	left: 1px;
	margin: auto 0;
	transition: all .3s ease;
}

.gnav-open-menu-list > li.current-menu-item > a,
.gnav-open-menu-list > li.current-page-ancestor > a{
    font-weight: 800;
}
.gnav-list-s{
	padding-left: 15px;
}
.gnav-list-s > li > a{
	display: inline-block;
	padding-left: 20px;
	color: #fff;
	text-decoration: none;
	position: relative;
	transition: all .3s ease;
}
.gnav-list-s > li > a::before{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 11px solid var(--sub-color03);
	border-right: 0;
	position: absolute;
	top: 29%;
	left: 0;
	margin: auto 0;
	transition: all .3s ease;
}
.gnav-list-s > li > a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 7px solid var(--sub-color01);
	border-right: 0;
	position: absolute;
	top: 35%;
	left: 1px;
	margin: auto 0;
	transition: all .3s ease;
}

.gnav-list li{
	position: relative;
}
.gnav-list .menu-on::after,
.gnav-list > .current-page-ancestor::after{
	content: '';
	display: block;
	width: 5px;
	height: 100%;
	background: var(--sub-color03);
	position: absolute;
	top: 0;
	right: 0;
}

@media (hover: hover) {
	.gnav-list > li.gnav-menu a:hover,
	.gnav-list > li > div.gnav-open-menu:hover{
		background: var(--sub-color01);
		color: var(--sub-color03);
	}
	.gnav-list > li > div.gnav-open-menu:hover a{
			color: var(--sub-color03);
	}
	.gnav-list > li > div.gnav-open-menu span:hover button{
		color: var(--sub-color03);
	}
	.gnav-open-menu-list > li > a:hover{
		color: #fff;
		text-decoration: underline;
	}
	.gnav-open-menu-list > li > a:hover::before{
		left: 4px;
	}
	.gnav-open-menu-list > li > a:hover::after{
		left: 5px;
	}
	.gnav-list-s > li > a:hover{
		text-decoration: underline;
	}
	.gnav-list-s > li > a:hover::before{
		left: 4px;
	}
	.gnav-list-s > li > a:hover::after{
		left: 5px;
	}
}
@media screen and (max-width: 991px) {
	.gnav-list a {
    	font-size: 1.125rem;
	}
	.gnav-open-menu-list > li > a{
		font-size:1.1rem;
		line-height:1.5em;
	}
	.gnav-list > li.gnav-menu a,
	.gnav-list > li > div.gnav-open-menu a{
		line-height:1.1em;
	}
	.gnav-list > li.gnav-menu a::before,
	.gnav-list > li > div.gnav-open-menu a + button{
	    width: 24px;
	    height: 24px;
    	right: 13px;
	}
	.gnav-list > li > div.gnav-open-menu span a + button::before,
	.gnav-list > li > div.gnav-open-menu span a + button::after{
    	width: 12px;
	}
	.gnav-list > li > div.gnav-open-menu span a + button::before {
	    right: 5px;
	}
	.gnav-list > li > div.gnav-open-menu span a + button::after {
	    right: 5px;
	}
	.gnav-list > li.gnav-menu a::after{
		border-top-width:5px;
		border-bottom-width:5px;
		border-left-width:7px;
    	right: 20px;
	}
	.gnav-open-menu-list > li > a::before{
		top: 8px;
	}
	.gnav-open-menu-list > li > a::after{
		top:10px;
	}
}

/*　スクロールバー　*/

/* Chrome / Safari / Edge 用 */
#headercontainer::-webkit-scrollbar,
#headercontainer .gnav::-webkit-scrollbar{
	width: 5px;
}
#headercontainer::-webkit-scrollbar-track,
#headercontainer .gnav::-webkit-scrollbar-track{
	background: var(--main-color);
}
#headercontainer::-webkit-scrollbar-thumb,
#headercontainer .gnav::-webkit-scrollbar-thumb{
	background: var(--sub-color01);
}

/* Firefox 用 */
@supports (-moz-appearance: none) {
	#headercontainer,
	#headercontainer .gnav{
    	scrollbar-width: thin;
    	scrollbar-color: var(--sub-color01) var(--main-color);
	}
}

@media screen and (max-width:991px) {
	.header-logo{
		display: none;
	}
	.header-sp{
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 60px;
	}
	.header-logo-sp{
		margin: 10px;
		width: 220px;
        padding: 0;
        border-radius: 0;
	}
	.header-logo-sp a{
		display: block;
	}
	.header-logo-sp a img{
		display: block;
		width: 100%;
	}
	.header-sp-menu{
		margin: 10px;
		position: relative;
		cursor: pointer;
	}
	.header-sp-menu::after{
		content: 'Menu';
		display: block;
		font-size: 0.625rem;
		color: #fff;
		margin-top: 12px;
		transition: all .3s ease;
	}
	.header-sp-menu span{
		display: block;
		width: 25px;
		height: 1px;
		background: var(--sub-color03);
		position: absolute;
		top: 0;
		left: 0;
		transition: all .3s ease;
	}
	.header-sp-menu span:nth-child(2){
		top: 5px;
		transition: all .3s ease;
	}
	.header-sp-menu span:nth-child(3){
		top: 10px;
		transition: all .3s ease;
	}
	
	/*　メニューオープン時の装飾　*/
	#headercontainer.open .header-sp-menu::after{
		content: 'Close';
	}
	#headercontainer.open .header-sp-menu span{
		transform: rotate(24deg);
		top: 5px;
	}
	#headercontainer.open .header-sp-menu span:nth-child(2){
		opacity: 0;
	}
	#headercontainer.open .header-sp-menu span:nth-child(3){
		transform: rotate(-24deg);
	}
	
	
	/*　スマホ版メニュー　*/
	#headercontainer .gnav{
		width: 100%;
        height: calc(100vh - 60px);
		padding-bottom: 30px;
        position: fixed;
        top: 60px;
		right: -100%;
        background: var(--main-color);
		overflow-y: auto;
        z-index: 999999;
		transition: all .5s ease;
	}
	#headercontainer.open .gnav{
		right: 0;
	}
}



/* -----------------------------------------------------------
	共通コンテンツ
----------------------------------------------------------- */
/*授業紹介*/
.swiper-slide.item{
	background:#fff;
	border-radius: 30px;
	border: 1px solid var(--sub-color03);
	overflow: hidden;
	transition: all .3s ease;
	position:relative;
}
.swiper-slide.item a{
	text-decoration: none;
	display:block;
}
.item-img{
	width: 100%;
	height: 270px;
	overflow: hidden;
}
.item-img img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	transition: all .3s ease;
}
.item-text-wrap{
	margin: 20px 30px;
	color:#222;
}
.item-title{
	font-size: 1.25rem;
	font-weight: bold;
	color: var(--main-color);
	margin-bottom: 5px;
}
.item-teacher{
	border-bottom: 1px dashed var(--sub-color03);
	padding-bottom: 15px;
	font-weight: bold;
	font-size: 1.125rem;
}
.item-text{
	color: var(--sub-color03);
	margin-bottom: 0;
}
.item-department-list{
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 20px 30px;
}
.item-department{
	font-size: 0.875rem;
	line-height: 1;
	padding: 9px 20px 10px;
	border-radius: 30px;
	background: var(--bg-color01);
}
.item-text-wrap .item-department{
	display:inline-block;
}

.item-text-wrap:has( .item-department){
	padding-bottom: 3em;
}
@media (hover: hover) {
	.swiper-slide.item:has(> a:hover){
		background: var(--bg-color01);
	}
	.swiper-slide.item a:hover .item-img img{
		transform: scale(1.1);
	}
}
@media screen and (max-width:767px) {
	.item-text-wrap{
		margin: 10px 15px;
	}
	.item-img{
		height: 200px;
	}
	.item-title{
		font-size: 1rem;
	}
	.item-department-list{
    	margin: 10px 15px;
	}
}


/* -----------------------------------------------------------
	フッター
----------------------------------------------------------- */

#footercontainer{
	margin-left: 250px;
	background: var(--sub-color03);
	color: #fff;
}
.footer-wrap{
	display: flex;
	justify-content: space-between;
	padding: 70px 50px 60px;
	border-left: 1px solid #7b7b7b;
}
.footer-info{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.footer-logo{
	width: 360px;
}
.footer-logo img{
	width: 100%;
}

.footer-info-add{
	margin-top: 40px;
}
.footer-info-list{
	padding-left: 0;
	margin-bottom: 0;
}
.footer-info-list > li > a{
	display: inline-block; 
	padding-left: 20px;
	color: #fff;
	text-decoration: none;
	position: relative;
}
.footer-info-list > li > a::before{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 11px solid #fff;
	border-right: 0;
	position: absolute;
	top: 28%;
	left: 0;
	margin: auto 0;
	transition: all .3s ease;
}
.footer-info-list > li > a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 7px solid var(--sub-color02);
	border-right: 0;
	position: absolute;
	top: 35%;
	left: 1px;
	margin: auto 0;
	transition: all .3s ease;
}
.footer-info-banenr-list{
    padding-left: 0;
}
.footer-info-banenr-list li{
    padding-top: 1rem;
    width: 360px;
    margin: 0 auto;
}
.footer-info-banenr-list li a{
	display:block;
}
.copyright{
	margin-top: 40px;
	margin-bottom: 0; 
	font-size: 0.75rem;
}

@media (hover: hover) {
	.footer-info-list > li > a:hover{
		text-decoration: underline;
	}
	.footer-info-list > li > a:hover::before{
		left: 4px;
	}
	.footer-info-list > li > a:hover::after{
		left: 5px;
	}
}

/*　フッターメニュー　*/

.footer-menu{
	display: flex;
	gap: 80px;
    margin-left: 30px;
}
.footer-menu-l,
.footer-menu-m,
.footer-menu-s{
	min-width: 250px;
	padding-left: 0;
	margin-bottom: 0;
}
.footer-menu-m{
	padding-left: 10px;
	margin-top: 10px;
}
.footer-menu-s{
	padding-left: 25px;
}

.footer-menu-l > li > div > a{
	display: block;
	padding: 8px 30px 8px 0;
	border-bottom: 1px dashed #fff;
	font-size: 1.125rem;
	color: #fff;
	text-decoration: none;
	position: relative;
	transition: all .3s ease;
}

.footer-menu-l > li > div > a::before{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 11px solid #fff;
	border-right: 0;
	position: absolute;
	top: 45%;
	right: 5px;
	margin: auto 0;
	transition: all .3s ease;
}
.footer-menu-l > li > div > a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 7px solid var(--main-color);
	border-right: 0;
	position: absolute;
	top: 49%;
	right: 8px;
	margin: auto 0;
	transition: all .3s ease;
}


.footer-menu-m > li > div > a{
	display: inline-block;
	padding: 5px 0 5px 30px;
	color: #fff;
	text-decoration: none;
	position: relative;
	transition: all .3s ease;
}

.footer-menu-m > li > div > a::before{
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid #fff;
	background: var(--bg-color01);
	position: absolute;
	top:8px;
	left: 0;
	margin: auto 0;
	transition: all .3s ease;
}
.footer-menu-m > li > div > a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 7px solid var(--sub-color03);
	border-right: 0;
	position: absolute;
	top:14px;
	left: 7px;
	margin: auto 0;
	transition: all .3s ease;
}

.footer-menu-s > li > a{
	display: block;
	padding: 5px 0 5px 20px;
	color: #fff;
	text-decoration: none;
	position: relative;
	transition: all .3s ease;
}

.footer-menu-s > li > a::before{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 11px solid #fff;
	border-right: 0;
	position: absolute;
	top: 36%;
	left: 0;
	margin: auto 0;
	transition: all .3s ease;
}
.footer-menu-s > li > a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 7px solid var(--sub-color02);
	border-right: 0;
	position: absolute;
	top: 41%;
	left: 1px;
	margin: auto 0;
	transition: all .3s ease;
}

@media (hover: hover) {
	.footer-menu-l > li > div > a:hover{
		color: var(--sub-color01);
	}
	.footer-menu-l > li > div > a:hover::before{
		right: 0;
	}
	.footer-menu-l > li > div > a:hover::after{
		right: 3px;
	}
	
	.footer-menu-m > li > div > a:hover{
		text-decoration: underline;
	}
	.footer-menu-m > li > div > a:hover::before{
		left: 5px;
	}
	.footer-menu-m > li > div > a:hover::after{
		left: 12px;
	}
	
	.footer-menu-s > li > a:hover{
		text-decoration: underline;
	}
	.footer-menu-s > li > a:hover::before{
		left: 4px;
	}
	.footer-menu-s > li > a:hover::after{
		left: 5px;
	}
	
}

@media screen and (max-width:1200px) {
	.footer-menu{
		display: none;
	}
	.footer-wrap{
		justify-content: center;
		border-left: none;
	}
	.footer-logo{
		margin: 0 auto;
	}
	.footer-info-add{
		text-align: center;
	}
	.footer-info-list{
		display: flex;
		gap: 30px;
	}
	.copyright{
		text-align: center;
	}
}

@media screen and (max-width:991px) {
	#footercontainer{
		margin-left: 0;
	}
}

@media screen and (max-width:767px) {
	.footer-wrap{
		padding: 50px 15px 40px;
	}
	.footer-logo{
		width: 265px;
	}
	.footer-info-add{
		margin-top: 20px;
	}
	
	.footer-info-list > li > a{
		font-size: 0.75rem;
		padding-left: 13px;
	}
	.footer-info-list > li > a::before{
		border-top: 4px solid transparent;
    	border-bottom: 4px solid transparent;
    	border-left: 8px solid #fff;
	}
	.footer-info-list > li > a::after{
		border-top: 3px solid transparent;
    	border-bottom: 3px solid transparent;
    	border-left: 5px solid var(--sub-color02);
	}
    .footer-info-banenr-list li{
        width: 265px;
    }
	
	.copyright{
		font-size: 0.625rem;
	}
}


/* -----------------------------------------------------------
	ページトップボタン
----------------------------------------------------------- */

main{
	position: relative;
}
#pagetop{
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: block;
    width: 90px;
    height: 90px;
    font-size: 0;
    z-index: 99;
}
#pagetop a{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
}
#pagetop a::before{
	content: '';
    display: block;
	width: 90px;
	height: 90px;
	background: url("../imgs/common/pagetop-illa.png") center / contain no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s ease;
}

#pagetop.absolute{
	position: absolute;
    bottom: -40px;
}

@media (hover: hover) {
	#pagetop a:hover::before{
		opacity: 0.8;
	}
}

@media screen and (max-width:767px) {
	#pagetop{
		width: 68px;
    	height: 68px;
		bottom: 20px;
		right: 10px;
	}
	#pagetop a::before{
		width: 68px;
		height: 68px;
	}
}


/*ClearFix
----------------------------------------*/
.clear:after {
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}
.clear {
	/zoom:1;
} /* ie6,ie7 */


.hidden {
	display: none;
}
.block {
	display: block;
}
.inline {
	display: inline;
}

/*----- 位置設定 -----*/
/*1/2サイズ*/
.harf-l {
	float: left;
	width: 49%;
}
.harf-r {
	float: right;
	width: 49%;
}
/*1/3サイズ*/
.three-l {
	width: 32%;
	float: left;
}
.three-c {
	width: 32%;
	float: left;
	padding-left: 10px;
}
.three-r {
	width: 32%;
	float: right;
}
/*フロート左*/
.float-l {
	float:left;
	width:auto;
	margin-right: 5px;
}
/*フロート右*/
.float-r {
	float:right;
	width:auto;
	margin-left: 5px;
}
/*WP用クラス追加
----------------------------------------*/
.alignleft{
	text-align: left;
}
.aligncenter{
	text-align: center;
}
.alignright{
	text-align: right;
}
img.aligncenter,
.wp-caption.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright,
.wp-caption.alignright {
	float: right;
	margin: 0.5em 0 0.5em 1em;
}
img.alignleft,
.wp-caption.alignleft {
	float: left;
	margin: 0.5em 1em 0.5em 0;
}
.wp-caption{
	max-width:100%;
}
/*			テキスト位置設定
---------------------------------------------------------------*/
.text-center,
.text_center{
	text-align:center;
}
.text-right,
.text_right{
	text-align:right;
}
.text-left,
.text_left{
	text-align:left;
}
.text-middle,
.text_middle{
	vertical-align:middle;
}
.text-top,
.text_top{
	vertical-align:top;
}
.text-bottom,
.text_bottom{
	vertical-align:bottom;
}

/*下層インデックスページ用*/
.box-index .box02,
.box-index02 .box02{
	background:#fff;
}
.box-index-img{
    position: relative;
    padding-top: 40px;
	padding-bottom: 40px;
}
.box-index-detail{
    margin-top: 40px;
    margin-bottom: 40px;
}
.box-index-img h2{
    background: #fff;
    border: unset;
    margin: unset;
    padding: 10px;
    width: 33%;
    text-align: center;
    border-radius: 30px;
    position: relative;
    z-index: 1;
}
.box-index-img .box-index-img-inner{
	position:absolute;
    top: 0;
    border-radius: 30px;
    overflow: hidden;
    height: 100%;
	width:calc(100% - var(--bs-gutter-x)); //bootstrapの余白考慮
}
.box-index-img .box-index-img-inner img{
    object-fit: cover;
    object-position: center;
	height:100%
}
.box-index .box-index-img h2{
	border-top-left-radius:unset;
	border-bottom-left-radius:unset;
}
.box-index-detail h3:first-child{
	margin-top:0;
}
.box-index-detail h3{
	margin-bottom:25px;
}
.box-index-detail h3 a{
	color:#D44200;
	text-decoration:unset;
}

.box-index-detail h3:has(> a){
	position:relative;
}
.box-index-detail h3:has(> a):before{
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 8px;
    right: 5px;
    border-radius: 50%;
    border: 1px solid var(--sub-color03);
    background: var(--sub-color01);
    transition: 0.3s;
}
.box-index-detail h3:has(> a):after{
    content: "";
    display: block;
    width: 0px;
    height: 0px;
    position: absolute;
    top: 14px;
    right: 10px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid var(--sub-color03);
    border-right: 0px;
    transition: 0.3s;
}
.box-index-detail h3:has(> a:hover):before{
    right: 0px;
}
.box-index-detail h3:has(> a:hover):after{
    right: 5px;
}
.box-index-detail h3 a::after{
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    bottom: -1px;
    left: 0;
    transition: all .3s ease;
}
.box-index-detail h3 a:hover::after{
	width:100%;
}
.box-index02{
	flex-direction: row-reverse;
}
.box-index02 .box-index-img h2{
	border-top-right-radius:unset;
	border-bottom-right-radius:unset;
	margin-left:auto;
	margin-right:0;
}

@media screen and (min-width:768px) {
	.box-index .box-index-img{
		margin-right:-16.6667%;
	}
	.box-index .box-index-detail{
		margin-left:-16.6667%;
	}
	.box-index02 .box-index-img{
		margin-left:-16.6667%;
	}
	.box-index02 .box-index-detail{
		margin-right:-16.6667%;
	}
}
@media screen and (max-width:767px) {
	.box-index-img {
	    padding-bottom: 60px;
		min-height:150px;
	}
	.box-index-img h2{
	    width: 50%;
	}
	.box-index-detail {
        margin-top: -30px;
        margin-bottom: 0;
        margin-left: 15px;
        width: calc(100% - 30px);
        margin-right: 15px;
    }
	.box-index-img h2{
	    border-radius: 20px;
	}
	.box-index-img .box-index-img-inner {
	    border-radius: 20px;
	}
}