@charset "utf-8";



/*------------------------------------------------------------------------
◆共通
------------------------------------------------------------------------*/
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) { /* chromeのみ 画像ぼやけ修正 */
	img {
		image-rendering: -webkit-optimize-contrast;
	}
}


@media screen and (min-width: 521px) and (max-width: 960px){

	#main_wrap h2{
	    font-size: 156%;
	}

	#main_wrap h3{
    	padding: 8px;
	    font-size: 128%;
	}

	#main_wrap h4{
		font-size: 116%;
	}

	#main_wrap h5{
		font-size: 108%;
	}
}

@media screen and (max-width: 520px) {

	div#contents_container{
		overflow: hidden;
	}

	.dis-block-media-text .dis-block-media-text__content { /* メディアとテキスト */
	    padding: 12px 0;
	}

	#main_wrap h2{
	    font-size: 132%;
	}

	#main_wrap h2:before {
    	margin-right: 8px;
	    top: 4px;
	}

	#main_wrap h3{
	    font-size: 116%;
	}

	#main_wrap h4{
		font-size: 108%;
	}

	#main_wrap .h5{
		font-size: 100%;
	}
}

@media screen and (max-width: 520px) {
	input,select,textarea{
		font-size: 100% !important;
	}
}

/*------------------------------------------------------------------------
◆ヘッダー
------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1296px){

	#header_right .header-actions ul li a {
	    padding: 0px 16px;
	    font-size: 80%;
	}

}

@media screen and (min-width: 961px) and (max-width: 1296px){

	#header_wrap .site-branding{
		margin: 16px 0;
	}

	#header_wrap .site-branding #logo,
	body.home #header_wrap .site-branding #logo_r{
		margin-left: 0;
        line-height: 1;
	}
}

@media screen and (max-width: 1023px){

	body.home #header_wrap {
	    padding-right: 0;
	}
}

@media screen and (min-width: 521px) and (max-width: 960px){

	body.home #header_wrap{
		padding-right: 0;
	}

	#header_wrap .site-branding{
		margin: 16px 0;
	}

	#header_wrap .site-branding #logo,
	body.home #header_wrap .site-branding #logo_r{
		margin-left: 0;
        line-height: 1;
	}

	#header_wrap .site-branding #logo img,
	body.home #header_wrap .site-branding #logo_r img{
		max-height: 20px;
	}

	#header_wrap .desc {
		display: none;
	}

	#hnav_sub_container{
		display: none;
	}
}

@media screen and (max-width: 520px) {

	#header_wrap{
		width: 100%;
		padding: 0 4%;
		padding-right: 0;
		box-sizing: border-box;
	}

	body.home #header_wrap{
		width: 100%;
		padding: 0 4%;
		padding-right: 0;
        padding-bottom: 16px;
        overflow: hidden;
	}

	#header_wrap .site-branding{
		margin: 12px 0;
	}

	#header_wrap .site-branding #logo,
	body.home #header_wrap .site-branding #logo_r{
		margin-left: 0;
        line-height: 1;
	}

	#header_wrap .site-branding #logo img,
	body.home #header_wrap .site-branding #logo_r img{
		max-height: 16px;
	}

	#header_wrap .desc {
	    font-size: 68%;
	    line-height: 1.4;
		display: none;
	}

	#hnav_sub_container{
		display: none;
	}

	#header_right{
		width: auto;
		gap: 12px;
		margin: 0;
		right: 0;
		bottom: auto;
	}

	body.home #header_right{
		right: 20px;
	}

	#header_right #skip_link{
		padding: 6px 10px;
		font-size: 75%;
	}

	#header_right.nav{
		display: block;
	}

	#header_right .tel{
		display: none;
	}

	#header_right .contact {
	    margin: 3px 0;
		display: none;
	}

	#header_right .contact a {
	    width: 40px;
	    min-width: 24px;
	    height: 16px;
	    padding: 2px;
	    padding-top: 30px;
	    overflow: hidden;
	}

	#header_right .contact a.icon-mail-alt:before {
	    top: -26px;
	    position: relative;
	}

}



/*------------------------------------------------------------------------
◆コンテナ
------------------------------------------------------------------------*/
@media screen and (max-width: 1023px){

	#nav_container{
		display: none;
	}

}

@media screen and (min-width: 521px) and (max-width: 1023px){


}

@media screen and (max-width: 520px) {


}

/*------------------------------------------------------------------------
◆ラッパー
------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 960px){

	#contents_wrap{
		width: 100%;
		padding: 24px 0;
		box-sizing: border-box;
	}

	#contents_wrap > *{
		padding-left: 4%;
		padding-right: 4%;
	}

	#main_wrap{
	    float: none;
		width: 100%;
		padding: 0;
	}

	#main_wrap > *{
        padding-left: 0 !important;
        padding-right: 0 !important;
	}

	#main_wrap > section > *{
		padding: 0 4%;
	}

	#main_wrap h1{
		font-size: 184%;
	}

	#main_wrap h2 {
	    font-size: 120%;
	}

	#main_wrap h3 {
	    font-size: 104%;
	}

	#sub_wrap {
	    float: none;
		width: 100%;
		margin-top: 0;
		padding: 0;
	}

	#sub_wrap > *{
		padding-left: 4% !important;
		padding-right: 4% !important;
	}
}

@media screen and (max-width: 520px) {

	#contents_wrap{
		width: 100%;
		padding: 24px 0;
		box-sizing: border-box;
	}

	#contents_wrap > *{
		padding-left: 4%;
		padding-right: 4%;
	}

	#main_wrap{
	    float: none;
		width: 100%;
		padding: 0;
	}

	#main_wrap{
		font-size: 92%;
	}

	#main_wrap h1{
		font-size: 136%;
	}

	#main_wrap h2 {
	    font-size: 120%;
	}

	#main_wrap h3 {
	    font-size: 116%;
	}

	#main_wrap > *{
		padding-left: 4% !important;
		padding-right: 4% !important;
	}

	#sub_wrap {
	    float: none;
		width: 100%;
		margin-top: 0;
		padding: 0;
	}

	#sub_wrap > *{
		width: 100%;
		margin: 0 auto;
		max-width: 100%;
		padding-left: 4% !important;
		padding-right: 4% !important;
	}

}

/*------------------------------------------------------------------------
◆オーバーレイ
------------------------------------------------------------------------*/

@media screen and (min-width: 521px)  and (max-width: 960px) {

	.overlay{
    	position: absolute;
	    top: 78.75px;
	}

}


@media screen and (max-width: 520px) {

	.overlay{
    	position: absolute;
	    top: 49.66px;
	}

}

/*------------------------------------------------------------------------
◆グローバルナビ
------------------------------------------------------------------------*/

@media screen and (min-width: 1024px)  and (max-width: 1296px) {

	#nav_wrap{
	    max-width: 100%;
		padding-right: 4%;
		padding-left: 4%;
	}

}


/* ドロップダウン
------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) {
	#gnav > li > ul.sub-menu{
		position: absolute;
		z-index: 999999;
        width: 280px;
	}
}


@media screen and (max-width: 1023px) {

	#menu_bt > a.icon-menu:before{
	    color: #000000;
	}

	#menu_bt.active > a{
	    background: #000000;
	}

	#gnav li:hover ul.sub-menu{
		display: none;
	}

	#gnav ul.sub-menu{
		display: block;
		position: relative;
		left: auto;
		z-index: 0;
		width:100%;
	}

	#gnav > li > ul.sub-menu{
		opacity: 1;
		position: relative;
		width:100%;
	}

	#nav_wrap{
		background: #ffffff;
	}

	#nav_wrap ul li a{
		-webkit-tap-highlight-color: #000000;
		background: #ffffff;
	}

	/* 英語併記*/
	#nav_wrap ul li a span{
		display: none;
	}

	#nav_wrap ul#gnav{
		border-top: 1px solid #d3d3d3;
		border-left: none;
	}

	#nav_wrap > div > ul > li.current-menu-item > a,
	#nav_wrap > div > ul > li.current-menu-ancestor > a,
	#nav_wrap > div > ul > li.current-post-ancestor > a,
	#nav_wrap > div > ul > li.current-page-ancestor > a,
	#nav_wrap > div > ul > li > a,
	#nav_wrap > div > ul > li > a:hover,
	#gnav > li.menu-parent-item > a.toggleclose:after,
	#gnav > li.menu-parent-item > a:after{
		color: #000000;
	}

	#header_right #hnav_sub_container{
		display: none;
	}
}

/* トグル（モバイル）
-----------------------------------------------------------*/
@media screen and (max-width: 1295px){

	#header_right .header-actions{
	}
}


@media screen and (max-width: 1200px){

	#nav_mega_wrap > .menu_wrap > #logo, #nav_mega_wrap > .menu_wrap > .site-search, #nav_mega_wrap > .menu_wrap > .text-size-toggle {
		display: block;
	}

	#nav_mega_wrap > .menu_wrap > .header-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
	    width: 100%;
		padding: 24px;
	}
}

@media screen and (max-width: 1023px){

	/* ホームナビ表示時のヘッダー */
	body.home.nav_active #header_container{
    	position: relative;
    	background: #fff;
	}

	body.home.nav_active #header_wrap .site-branding #logo{
		display: none;
	}

	body.home.nav_active #header_wrap .site-branding #logo_r{
		display: block;
	}



	#header_right .header-actions ul{
		display: none;
	}

	body.nav_active {
	    position: relative;
	    width: 100%;
	}

	#nav-mega-switch {
        gap: 0;
        flex-direction: column;
        width: 64px;
        height: 64px;
        padding-top: 24px;
        padding-right: 4%;
        padding-bottom: 4px;
        padding-left: 4px;
        background: none;
        position: absolute;
        top: -40px !important;
        right: 0 !important;
        z-index: 9999;
	}

	body.home #nav-mega-switch {
        gap: 0;
        flex-direction: column;
        align-items: flex-end;
        width: 64px;
        height: 64px;
        padding-top: 24px;
        padding-right: 24px;
        padding-bottom: 4px;
        padding-left: 4px;
        background: none;
        background: #fff;
        border-radius: 9999px;
        position: absolute;
        top: -40px !important;
        right: 0 !important;
        z-index: 9999;
	}

	#nav-mega-switch.on {
    	padding: 0;
        position: absolute;
        top: -40px !important;
        right: -26px !important;
	}

	body.home #nav-mega-switch.on {
        width: 40px;
        height: 40px;
        padding-top: 0;
        padding-right: 0;
        top: 6px !important;
        right: 20px !important;
	}

	.menu-icon {
	    position: relative;
        width: 24px;
        height: 16px;
	}

	.on .menu-icon {
	    width: 30px;
        top: 6px;
        right: 34px;
	}

	.menu-icon span {
	    background-color: #2685e4;
    	border-radius: 0;
	}

	.on .menu-icon span:nth-of-type(1) {
	    width: 20px;
        background-color: #2685e4;
	    top: -4px;
        left: auto;
	}

	.on .menu-icon span:nth-of-type(2) {
	    width: 20px;
        background-color: #2685e4;
		top: 6px;
        bottom: auto;
        left: auto;
	}

	#nav-mega-switch span.text{
	    display: block;
		color: #000000;
        font-size: 8px;
	}
	
	#nav_mega_container{
		position: absolute;
        top: 40px;
	    right: 0;
	    float: right;
	    width: 100%;
	    height: auto;
	}

	#nav_mega_container > * {
	    min-height: 0;
	}

	#nav_mega_wrap {
	    float: none;
	    margin: 0px auto;
	    padding: 0;
	    width: 100%;
	    height: auto;
	}

	#nav_mega_wrap > .menu_wrap {
	    gap: 0;
	    width: 100%;
        background: #fff;
        font-size: 88%;
	}

	#nav_mega_wrap > .menu_wrap > * {
	    width: 100%;
	}

	#nav_mega_wrap > .menu_wrap > .nav_buttons_container {
	    width: 100%;
        padding: 24px;
        background: #2685e4;
	}

	#nav_mega_wrap > .menu_wrap > .nav_buttons_container ul{
	    display: flex;
	    flex-direction: column;
	    gap: 8px;
	}

	#nav_mega_wrap > .menu_wrap > .nav_buttons_container ul li a{
        width: 256px;
        margin: 0 auto;
        padding: 12px;
        background: #fff76f;
        border-radius: 999px;
        color: #333;
        font-size: 100%;
        font-weight: bold;
        text-align: center;
	}

	#nav_mega_wrap > .menu_wrap > .nav_buttons_container ul li a:after{
		display: none;
	}

	#nav_mega_wrap > .menu_wrap > .header-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
	    width: 100%;
		padding: 24px;
	}

	/* TOP */
	#nav_mega_to_home {
	    margin-left: 0;
	    position: static;
	}

	#nav_mega_to_home a {
	    display: block;
        background: #2685e4;
	    border-top: 1px solid #1977d5;
        border-bottom: 1px solid #81b5e9;
    	padding: 12px 4%;
    	font-size: 88%;
        color: #fff;
        position: relative;
	}

	#nav_mega_to_home a:hover {
	    background: #1977d5;
	}

	#nav_mega_to_home a:after {
	    content: "";
	    position: absolute;
	    border-right: 2px solid #ffffff;
	    border-top: 2px solid #ffffff;
	    width: 8px;
	    height: 8px;
    	right: calc(4% + 2px);
	    top: calc(50% - 6px);
	    margin-top: 0;
	    transform: rotate(45deg);
	    -webkit-transform: rotate(45deg);
	}

	/* 親 */
	#nav_mega_wrap ul li a.head{
        background: #2685e4;
        font-size: 88%;
	}

	#nav_mega_wrap ul li a.head:hover{
        background: #2685e4;
	}

	/* 親子ページ共通 */
	#nav_mega_wrap ul li a {
        background: #2685e4;
	    border-bottom: 1px solid #1977d5;
	    font-size: 88%;
    	color: #fff;
	}

	#nav_mega_wrap ul li a:after {
	    border-right: 2px solid #ffffff;
	    border-top: 2px solid #ffffff;
	    width: 7px;
	    height: 7px;
    	right: calc(4% + 2px);
	}

	/* 親ページ */
	#nav_mega_wrap ul.nav_mega > li > a {
    	padding: 12px 4%;
        position: relative;
	}

	#nav_mega_wrap ul > li > a:hover {
	    background: #2685e4;
		color: #fff;
	}

	#nav_mega_wrap ul > li > a::after {
		display: block;
	}

	#nav_mega_wrap ul > li.menu-parent-item > a::before, 
	#nav_mega_wrap ul > li.menu-parent-item > a::after {
	    content: "";
	    display: block;
	    width: 2px;
	    height: 14px;
	    background: #fff;
	    border: none;
	    position: absolute;
	    top: 50%;
	    left: auto;
	    right: calc(4% + 5px);
	}

	#nav_mega_wrap ul > li.menu-parent-item > a::before {
	    margin-right: 1px;
	    top: calc(50% - 7px);
	    right: calc(4% + 5px);
	}

	#nav_mega_wrap ul > li.menu-parent-item > a::after {
	    transform: translate(-50%, -50%) rotate(90deg);
	}

	#nav_mega_wrap ul > li.menu-parent-item.is-open > a::before {
		display: none;
	}

	/* 子ページ */
	#nav_mega_wrap ul.sub-menu{
		display: none;
	}

	#nav_mega_wrap ul.sub-menu li a {
	    padding: 12px 4%;
		padding-right: calc(4% + 16px);
	    background: #1977d5;
        border-bottom: 1px solid #2685e4;
	}

	#nav_mega_wrap ul.sub-menu li a:hover {
	    background: #1977d5;
		color: #fff;
	}

	#nav_mega_wrap ul.sub-menu li a::after {
		top: 16px;
	}

	/* 現在地 */
	#nav_mega_wrap ul li.current-menu-item > a,
	#nav_mega_wrap ul li.current-menu-ancestor > a,
	#nav_mega_wrap ul li.current-post-ancestor > a,
	#nav_mega_wrap ul li.current-page-ancestor > a {
	    color: #ffffff;
	}

	#nav_mega_wrap ul li.current-menu-item > a::after,
	#nav_mega_wrap ul li.current-menu-ancestor > a::after,
	#nav_mega_wrap ul li.current-post-ancestor > a::after,
	#nav_mega_wrap ul li.current-page-ancestor > a::after{
		display: block;
	}

	#nav_mega_wrap > .menu_wrap > #logo,
	#nav_mega_wrap > .menu_wrap > .site-search,
	#nav_mega_wrap > .menu_wrap > .text-size-toggle {
	    display: block;
	}

	#nav_mega_wrap > .menu_wrap > #logo{
	    margin: 12px 24px;
	}

	#nav_mega_wrap > .menu_wrap > #logo a img{
	    width: 80px;
	}

	#nav_mega_wrap > .menu_wrap > .text-size-toggle{
	    display: flex;
	    align-items: center;
	    gap: 8px;
	    margin: 0 24px;
	}

	#nav_mega_wrap > .menu_wrap > .site-search {
        display: flex;
        max-width: 240px;
        margin: 0 24px 24px;
        background: #eeeeee;
        position: static;
	}

	#nav_mega_wrap > .menu_wrap > .site-search input[type="search"] {
	    width: 160px;
	}



	body.home .menu-icon {
	    width: 28px;
	    height: 16px;
	}

	body.home .menu-icon span {
	    height: 3px;
	    bottom: 4px;
	}

	body.home .menu-icon span:nth-of-type(2) {
	    width: 20px;
	    left: calc(100% - 20px);
	}



	body.home .on .menu-icon {
        top: -2px;
        right: 12px;
	}

	body.home .on .menu-icon span {
	    height: 2px;
	    background-color: #2685e4;
	    border-radius: 0;
	    bottom: 4px;
	}

	body.home .on .menu-icon span:nth-of-type(2) {
        width: 20px;
        left: 20px;
	}

	body.home #nav-mega-switch span.text {
	    font-size: 8px;
	}

}


@media screen and (min-width: 961px)  and (max-width: 1023px) {

	#nav-mega-switch {
	}

    #nav-mega-switch.on {
    }

	body.home #nav-mega-switch {
        top: -40px !important;
        right: -16px !important;
	}

	body.home #nav-mega-switch.on {
        top: 0px !important;
        right: 4px !important;
	}

    #nav_mega_container {
        top: 92px;
    }

    .overlay {
        position: absolute;
        top: 92px;
    }

	#nav_mega_wrap > .menu_wrap {
	    max-width: 100%;
	}

    #nav_mega_wrap > .menu_wrap > .nav_buttons_container ul {
        flex-direction: row;
	}
}

@media screen and (min-width: 521px)  and (max-width: 960px) {

	#nav-mega-switch {
	}

	#nav-mega-switch.on {
    }

	#nav_mega_container{
        top: 52px;
	}

    #nav_mega_wrap > .menu_wrap > .nav_buttons_container ul {
        flex-direction: row;
	}

}

@media screen and (max-width: 520px) {

	body.home #nav-mega-switch {
        top: -40px !important;
        right: -30px !important;
	}

	body.home #nav-mega-switch.on {
        top: 0px !important;
        right: 4px !important;
	}

	#nav_mega_container{
        top: 40px;
	}
}

/*------------------------------------------------------------------------
◆パンくず
------------------------------------------------------------------------*/
@media screen and (min-width: 961px) and (max-width: 1296px){

	#breadcrumbs{
		width: 100%;
        padding: 0 4%;
    	font-size: 72%;
        position: static;
	}

	#breadcrumbs *{
	    text-shadow: 0 0 3px #666;
	}
}

@media screen and (min-width: 521px) and (max-width: 960px){

	#breadcrumbs{
		width: 100%;
        padding: 0 4%;
    	font-size: 72%;
    	position: static;
	}

	#breadcrumbs *{
	    text-shadow: 0 0 3px #666;
	}
}

@media screen and (max-width: 520px) {

	#breadcrumbs{
		width: 100%;
        padding: 0 4%;
    	font-size: 72%;
    	position: static;
	}

	#breadcrumbs *{
	    text-shadow: 0 0 3px #666;
	}
}


/*------------------------------------------------------------------------
◆キービジュアル pc sp
------------------------------------------------------------------------*/
@media screen and (max-width: 769px) {

	#keyvisual_container .keyvisual_wrap > .slider.pc{
		display: none;
	}

	#keyvisual_container .keyvisual_wrap > .slider.sp{
		display: grid;
	}
}

/*------------------------------------------------------------------------
◆キービジュアル
------------------------------------------------------------------------*/
@media screen and (min-width: 961px)  and (max-width: 1200px) {

	.keyvisual_container {
	    max-height: none;
    	padding-top: 0;
        height: 600px;
	}

	.keyvisual_wrap {
	    width: 100%;
        background-size: contain;
	}

	:root {
	    --size: 86%;
	}

	.slider-grid{
	    width: 884px;
	}

	.keyvisual_wrap.text .maincopy {
	    font-size: 112%;
	}

	.keyvisual_wrap.text ul {
	    gap: 12px;
    	margin-top: 18px;
	}
/*
	.keyvisual_wrap.text ul li a {
	    height: 108px;
	    width: 108px;
	    font-size: 100%;
	}
*/
    .keyvisual_wrap.text ul li a {
        height: 108px;
        width: 108px;
        font-size: 52%;
    }

	.keyvisual_wrap.text .subcopy {
	    margin-top: 18px;
	    font-size: 100%;
	}

	.keyvisual_wrap.text .subcopy.top {
	    font-size: 92%;
	}

	.scroll {
	    --len: 80px;
	    --head: 22px;
	    bottom: -36px;
	}

	.scroll::before {
	    height: 44px;
        bottom: 6px;
	}

	.scroll::after {
	    left: -12px;
	    bottom: 5px;
	}

	.scroll .rot {
		top: -68px;
	    right: -16px;
	    font-size: 48%;
        background: #2685e4;
	}

}

@media screen and (max-width: 1023px) {

	#keyvisual_container #news {
        align-items: center;
        gap: 12px;
        padding: 8px 4%;
        width: 100%;
	    font-size: 64%;
	}

	#keyvisual_container #news a {
	    align-items: center;
	}

	#keyvisual_container #news h2 {
	    font-size: 92%;
	}

	#keyvisual_container #news h2, 
	#keyvisual_container #news span.time {
	    white-space: nowrap;
	}

	#keyvisual_container #news span.time, 
	#keyvisual_container #news span.title {
	    text-align: left;
        line-height: 1.4;
	}

	#keyvisual_container #news a::before, 
	#keyvisual_container #news a::after {
	    display: none;
	}

	#keyvisual_container .pickup {
	    padding: 8px 16px;
	    font-size: 52%;
    	bottom: 80px;
	}

	#keyvisual_container .pickup * {
	    line-height: 1.8;
	}
}

@media screen and (min-width: 521px)  and (max-width: 960px) {

	#keyvisual_container .pickup h2 {
	    font-size: 120%;
	}

	#keyvisual_container .pickup .desc,
	#keyvisual_container .pickup .button {
        font-size: 100%;
	}

	#keyvisual_container #news span.time, #keyvisual_container #news span.title {
	    font-size: 88%;
	    font-weight: normal;
	}

}

@media screen and (min-width: 769px)  and (max-width: 960px) {

	.keyvisual_container {
	    max-height: none;
    	padding-top: 0;
	}

	.keyvisual_container .keyvisual_wrap {
		width: 708px;
        height: 461px;
        background-size: contain;
	}

	:root {
	    --size: 86%;
	}

	.slider-grid{
	    width: 708px;
	}

	.keyvisual_wrap.text .maincopy {
        font-size: 92%;
	}

	.keyvisual_wrap.text ul {
	    gap: 4px;
    	margin-top: 16px;
	}

	.keyvisual_wrap.text ul li a {
        padding: 8px;
	    height: 84px;
	    width: 84px;
	    font-size: 40%;
	}

	.keyvisual_wrap.text .subcopy {
	    margin-top: 8px;
	    font-size: 75%;
	}

	.keyvisual_wrap.text .subcopy.top{
        margin-top: 16px;
        font-size: 80%;
        background: rgb(0 138 23);
	}

	.scroll {
        --len: 54px;
        --head: 15px;
        bottom: -24px;
	}

	.scroll::before {
	    height: 35px;
        bottom: 10px;
	}

	.scroll::after {
	    left: -8.5px;
	    bottom: 3px;
	}

	.scroll .rot {
		top: -62px;
	    right: -12px;
	    font-size: 40%;
        background: #2685e4;
	}

}

@media screen and (min-width: 521px)  and (max-width: 768px) {

	.keyvisual_container{
		background-image: url(../images/common/mainimage_back_sp.png);
	    aspect-ratio: 750 / 920;
    	padding-top: 0;
	}

	.keyvisual_wrap{
		display: block;
		width: 100%;
		margin: 0 auto;
		background: none;
		text-align: center;
		line-height: 0;
		position: relative;
	}

	.keyvisual_wrap .infinite_blank,
	.slider-grid{
		display: none;
	}

	.keyvisual_wrap.text{
	}

	.keyvisual_container .keyvisual_wrap.text .maincopy {
	    font-size: clamp(150%, 5vw, 206.25%);
	}

	.keyvisual_container .keyvisual_wrap.text .subcopy {
	    margin-top: 24px;
	    margin-bottom: 24px;
	    line-height: 1.6;
	    font-size: clamp(75%, 2.4vw, 112.5%);
	}

	.keyvisual_container .keyvisual_wrap.text .subcopy.top {
        margin-bottom: 0;
	    font-size: clamp(125%, 3vw, 175%);
    	background: rgb(14 50 54);
	}

	.keyvisual_container .keyvisual_wrap.text .subcopy.top + ul {
		margin-top: 12px;
	}

	.keyvisual_container .keyvisual_wrap.text ul {
	    gap: 8px;
	}

	.keyvisual_container .keyvisual_wrap.text ul li a {
	    padding: 8px;
	    height: 104px;
	    width: 104px;
	    font-size: 52%;
	}

	.keyvisual_container .keyvisual_wrap img.sp {
		display: block;
		width: 392px;
	}

	.keyvisual_container .keyvisual_wrap img{
		width: 100%;
	}

	.keyvisual_container .scroll{
		display: none;
	}


}

@media screen and (max-width: 520px) {

	.keyvisual_container{
		background-image: url(../images/common/mainimage_back_sp.png);
	    aspect-ratio: 750 / 920;
    	padding-top: 0;
	}

	.keyvisual_wrap{
		display: block;
		width: 100%;
		margin: 0 auto;
		background: none;
		text-align: center;
		line-height: 0;
		position: relative;
	}

	.keyvisual_wrap.text{

	}

	.keyvisual_wrap .infinite_blank,
	.slider-grid{
		display: none;
	}

	.keyvisual_container .keyvisual_wrap.text .maincopy {
	    font-size: 88%;
	}

	.keyvisual_container .keyvisual_wrap.text .subcopy {
	    margin-top: 24px;
	    margin-bottom: 24px;
	    line-height: 1.6;
	    font-size: 75%;
	}

	.keyvisual_container .keyvisual_wrap.text .subcopy.top {
        margin-bottom: 0;
        font-size: 72%;
    	background: rgb(14 50 54);
	}

	.keyvisual_container .keyvisual_wrap.text ul {
	    gap: 8px;
	}


	.keyvisual_container .keyvisual_wrap.text ul li a {
	    padding: 8px;
	    height: 80px;
	    width: 80px;
        font-size: 40%;
	}

	.keyvisual_container .keyvisual_wrap img.sp {
		display: block;
		width: 264px;
	}

	.keyvisual_container .keyvisual_wrap img{
		width: 100%;
	}

	.keyvisual_wrap img {
	    height: auto;
	}

	#keyvisual_container .kv-slider-dot {
	    height: 40px;
	}

	#keyvisual_container #news {
        align-items: center;
        gap: 12px;
        padding: 8px 4%;
        width: 100%;
	    font-size: 64%;
	}

	#keyvisual_container #news a {
	    align-items: center;
	}

	#keyvisual_container #news h2 {
	    font-size: 80%;
	}

	#keyvisual_container #news h2, 
	#keyvisual_container #news span.time {
	    white-space: nowrap;
	}

	#keyvisual_container #news span.time, 
	#keyvisual_container #news span.title {
	    text-align: left;
        line-height: 1.4;
	}

	#keyvisual_container #news a::before, 
	#keyvisual_container #news a::after {
	    display: none;
	}

	#keyvisual_container .pickup {
	    padding: 8px 32px 8px 16px;
	    font-size: 52%;
    	bottom: 80px;
	}

	#keyvisual_container .pickup * {
	    line-height: 1.8;
	}


	#keyvisual_container .pickup .button::after{
	    transform: translateY(0%);
	    width: 16px;
	    height: 16px;
    	font-size: 9px;
	}

}


/*--------------------------------------------------------------------------
◆カラム
--------------------------------------------------------------------------*/
@media screen and (min-width: 951px) and (max-width: 960px){/* グローバルメニュー表示 */

	.column_wrap{
		width:100%;
	}
}

@media screen and (min-width: 521px) and (max-width: 950px){

	.column_wrap{
		width:100%;
	}
}

@media screen and (max-width: 520px) {

	.column_wrap{
		width:100%;
		margin: 0;
	}

	.column_wrap .box{
		padding:0.7em 0.7em 0.7em 0.7em;
	}
}

/* 2カラム
----------------------------------------------------------------*/
@media screen and (max-width: 520px) {

	.column2{
		width:100%;
	}

	.column2.box{
		width:100%;
		margin-bottom:1em;
	}

	.column2.column_left,
	.column2.column_right{
		float:none;
	}

	.column2 img{
		width: 49% !important;
		float: left;
		margin-right: 2%;
	}

	.column2.column_right img{
		margin-right: 0;
	}
}

/* 3カラム
----------------------------------------------------------------*/
@media screen and (max-width: 960px) {

	.column3.box{
		width: 32.666%;
	}

	.column3.column_center.box{
		margin: 0 1%;
	}
}

@media screen and (max-width: 520px) {

	.column3{
		width: 100%;
	}

	.column3.box{
		width: 100%;
	}

	.column3 img{
		width: 32% !important;
		float: left;
		margin-right: 2%;
	}

	.column3 img + p{
		padding-left: 3%;
		overflow: hidden;
	}

	.column3.column_right img{
		margin-right: 0%;
	}

	.column3 h3{
		clear: none;
	}

	.column3.box p{
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.column3.column_left{
		float: none;
	}

	.column3.column_center{
		float: none;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.column3.column_right{
		float: none;
		margin-right: 5%;
	}

}

/* 2/3カラム
----------------------------------------------------------------*/
@media screen and (max-width: 520px) {
	.column3_2.column_left,
	.column3_2.column_right{
		float:none;
		width:100%;
	}
}

/* 4カラム
----------------------------------------------------------------*/
@media screen and (max-width: 520px) {
	.column4 *{
	}

	.column4 img{
		width:100% !important;
		margin-right: 1em;
	}

	.column4 h3{
		/*overflow: hidden;*/
		clear: none;
	}

	.column4.box p{
		overflow:hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.column4.column_left{
		float:left;
		width:25%;
	}

	.column4.column_center_left{
		float:left;
		width:25%;
		margin-left:0 !important;
		margin-right:0 !important;
	}

	.column4.column_center_right{
		clear:none;
		float:left;
		width:25%;
		margin-left:0 !important;
		margin-right:0 !important;
	}

	.column4.column_right{
		float:left;
		width:25%;
	}
}

/* 3/4カラム
----------------------------------------------------------------*/
@media screen and (max-width: 520px) {
	.column4_3 *{
		float:left;
		width:73%;
	}
}

/* 5カラム
----------------------------------------------------------------*/
@media screen and (max-width: 520px) {

	.column5{
		width:100%;
	}

	.column5 img{
		width:33% !important;
		float:left;
		margin-right: 1em;
	}

	.column5.column_center_left{
		float:left;
		margin:0;
	}

	.column5.column_center{
		float:left;
		margin:0;
	}

	.column5.column_center_right{
		float:left;
		margin:0;
	}
}

/* 2/5カラム
----------------------------------------------------------------*/
@media screen and (max-width: 520px) {
	.column5_2 *{
		float:left;
		width:48%;
	}
}

/* 3/5カラム
----------------------------------------------------------------*/
@media screen and (max-width: 520px) {
	.column5_3 *{
		float:left;
		width:48%;
	}
}



/*--------------------------------------------------------------------------
◆コンテンツ
--------------------------------------------------------------------------*/


/* ホーム
------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1296px){

	.home #contents_container.sidebar_off #contents_wrap{
	    padding: 0;
	}

	.home #contents_container.sidebar_off #contents_wrap section > *{
	    padding-right: 4%;
	    padding-left: 4%;
    	max-width: 100%;
	}

    .home #contents_container.sidebar_off section#special_container > * {
        padding-right: 0;
        padding-left: 0;
        max-width: 100%;
    }
}


@media screen and (min-width: 521px) and (max-width: 1023px){

	.home #contents_wrap{
		width: 100%;
	}

	.home #main_wrap > *{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.home #main_wrap section{
		padding: 56px 0;
	}

	.home #main_wrap > section > *{
		padding-left: 4% !important;
		padding-right: 4% !important;
	}

	.home #contents_container.sidebar_off #main_wrap > :not(section){
		padding-left: 4% !important;
		padding-right: 4% !important;
	}

	.home #contents_wrap h2 {
	    font-size: 160%;
	    margin: 0 auto 0;
	}







	.home #main_wrap section#about_container {
	    width: 100%;
	}

	.home #main_wrap #about_container h2 {
	    letter-spacing: -1px;
	}

	#about_container .lead {
	    font-size: 88%;
	}

	.home #about_container .item_wrap > div {
	    width: 44%;
	}

	.home #about_container .item_wrap > div.item4 > .circle-button{
        grid-column: 2;
		grid-row: 1; 
	}

	.home #about_container .item_wrap > div.item4 > .illust-placeholder{
		grid-column: 1;
		grid-row: 1;
	}

	.home #about_container .item_wrap > div.item4 > .label {
		grid-column: 1 / -1;
		grid-row: 2;
	}


	.home #about_container .circle-button {
		width: 120px;
        height: 120px;
        font-size: 76%;
	}

	.home #about_container .label {
	    font-size: 100%;
	}











	.home #main_wrap section#know_container .header_tag_wrap {
	    flex-direction: column;
    	margin-bottom: 80px;
	}

	.home #main_wrap section#know_container header {
	    padding: 0;
    	padding-top: 40px;
	}

	.home #main_wrap section#know_container h2 {
	    justify-content: center;
	}

	.home #main_wrap section#know_container .en {
	    margin-left: 0;
	    width: 66.268%;
        top: -12px;
	    left: calc(50% - (66.268% / 2));
	}

	.home #main_wrap section#know_container .desc {
	    font-size: 88%;
	    text-align: left;
	}

	.home #main_wrap section#know_container header + .tags {
	    gap: 8px;
	    width: 100%;
        justify-content: center;
	}

	.slider-controls {
	    gap: 8px;
	    justify-content: center;
	}

	.home #contents_wrap section > .slider {
	    height: 278px;
	}

	.employees-row {
	    padding: 144px 0px 0;
	}

	.person {
	    flex: 0 0 240px;
	}

	#main_wrap .person img {
        width: 240px;
        height: 240px;
	    object-fit: contain;
	}

	.person.is-center {
	    transform: scale(1.2);
	}

	.info-box {
        width: 100%;
        padding: 16px;
        font-size: 10px;
        top: -132px;
	}

	#main_wrap .info-box h3{
        padding: 0;
	}

	#contents_wrap .info-box p {
	    margin-bottom: 6px;
	}

	.home #main_wrap section#know_container .speech-bubble {
        width: 120px;
        height: 80px;
        font-size: 12px;
        top: -44px;
        left: 10px;
	}

	.home #main_wrap section#know_container .speech-bubble::after {
	    content: "";
	    position: absolute;
	    bottom: 0px;
	    right: 10px;
	    border-width: 25px 0 0 17px;
	    border-style: solid;
	    border-color: white transparent transparent transparent;
	    transform: rotate(316deg);
	}

	.person-label {
	    font-size: 12px;
		white-space: nowrap;
	}

	.is-center .person-label{
    	left: calc(50% + 32px);
	}


	.home #contents_wrap section#special_container > .wrap {
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

	.home #main_wrap section#special_container h2 {
	    margin: 0 0 24px;
	}

	.home #main_wrap section#special_container .flex-wrapper {
	    flex-direction: column;
	}

	#main_wrap img.president-img {
	    width: 160px;
	    height: 160px;
	    object-fit: contain;
	}

	.home #main_wrap section#special_container .speech-bubble {
	    width: 98px;
	    height: 72px;
	    font-size: 11px;
	    color: #333;
	    top: 75px;
	    left: calc(50% - 144px);
	}


	.president-text {
	    right: 40px;
	}

	#main_wrap .president-text h3 {
	    font-size: 12px;
	    margin: 0;
	}

	.president-text p {
	    font-size: 4px;
	    margin: 4px 0 0;
	    opacity: 1;
	    color: #fff;
	}

	.home #main_wrap section#special_container .grid-box {
	    grid-template-columns: 50% 50%;
	}

	.icon-circle {
	    width: 120px;
	    height: 120px;
	}

	#main_wrap .icon-circle img {
	    width: 88px;
	    height: 88px;
	    object-fit: contain;
	}

	.grid-item span {
	    font-size: 96%;
        text-align: center;
	}

	.grid-item small {
	    font-size: 76%;
	    margin-top: 0px;
	}

	/* 市松模様の色分け */
	.grid-item:nth-child(1), .grid-item:nth-child(4) { background-color: #3b96f2; }
	.grid-item:nth-child(2), .grid-item:nth-child(3) { background-color: #3babf2; }



	#banner_container ul {
	    gap: 16px;
	}







	.home #main_wrap section#news_container {
	    display: flex;
	    flex-direction: column;
	    justify-content: normal;
	    gap: 0;
	}

	.home #main_wrap #news_container header {
	    display: flex;
    	justify-content: space-around;
	}

	.home #main_wrap #news_container header h2 {
	    font-size: 160%;
	}

	.home #main_wrap #news_container .list_all {
	    margin-top: 4px;
    	margin-left: auto;
	}

	.home #main_wrap #news_container .list_all a {
	    padding: 4px;
	    width: 104px;
	    border-radius: 148px;
	    font-size: 80%;
	}

	.home #contents_wrap .news{
		padding-top: 0;
		padding-bottom: 0;
	}

	.home #contents_wrap .news li a{
	    display: block;
	    border-bottom: 1px solid #ccc;
		padding: 12px 0;
	}

	.home #main_wrap .news li a .wrap {
	    display: block;
	}

	.home #contents_wrap .news li a .title {
	    display: block;
	    line-height: 1.6;
		float: none;
        width: 92%;
	}

	.home #main_wrap .news li a .title:after {
	    border-right: 2px solid #2685e4;
	    border-top: 2px solid #2685e4;
	    width: 8px;
	    height: 8px;
	}

	.home #contents_wrap .news li a .time{
		display: block;
		float: none;
		margin-right: 0;
		width: 100%;
	}

	.home #main_wrap .news li a .categories {
    	min-width: 92px;
    	font-size: 72%;
	    top: 16px;
    	left: 80px;
	}



	.home #main_wrap div#button_container .dis-block-columns {
	    gap: 16px;
	}

	.home #main_wrap div#button_container .dis-block-buttons > .dis-block-button a {
	    display: block;
	    max-width: 300px;
	    margin: 0 auto;
	    padding: 16px;
	    border-radius: 16px;
	    font-size: 100%;
	}

	.home #main_wrap div#button_container .dis-block-buttons > .dis-block-button.icon_movie a::after {
	    width: 27px;
	    height: 21px;
	    background-size: contain;
	    top: 4px;
	}

	.home #main_wrap div#button_container .dis-block-buttons > .dis-block-button.icon_external a::after {
	    width: 26px;
	    height: 28px;
	    background-size: contain;
	}

}


@media screen and (max-width: 520px) {

	.home #contents_wrap{
		width: 100%;
		padding: 0;
	}

	.home #main_wrap {
	    font-size: 100%;
	}

	.home #main_wrap > *{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.home #main_wrap > p,
	.home #main_wrap > ul,
	.home #main_wrap > ol,
	.home #main_wrap > dl,
	.home #main_wrap > table{
		padding-top: 0;
		padding-bottom: 0;
	}

	.home #main_wrap > section > *{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.home #contents_container.sidebar_off #main_wrap > :not(section){
		padding-left: 4% !important;
		padding-right: 4% !important;
	}

	.home #main_wrap section{
		padding: 32px 0;
	}

	.home #contents_wrap h2{
		font-size: 128%;
		margin: 0 auto;
		padding-bottom: 16px;
	}

	.home #contents_wrap h2 span{
	}



	.home #main_wrap section#about_container {
	    width: 100%;
	}

	.home #main_wrap section#about_container > .wrap > *:not(.item_wrap){
		padding-left: 4% !important;
		padding-right: 4% !important;
	}

	.home #main_wrap #about_container h2 {
	    letter-spacing: -1px;
	}

	#about_container .lead {
	    font-size: 88%;
	}

	.home #about_container .item_wrap > div {
	    width: 44%;
	}

	.home #about_container .item_wrap > div.item4 > .circle-button{
        grid-column: 2;
		grid-row: 1; 
	}

	.home #about_container .item_wrap > div.item4 > .illust-placeholder{
		grid-column: 1;
		grid-row: 1;
	}

	.home #about_container .item_wrap > div.item4 > .label {
		grid-column: 1 / -1;
		grid-row: 2;
	}


	.home #about_container .circle-button {
	    width: 80px;
	    height: 80px;
	    font-size: 64%;
	}

	.home #about_container .label {
	    font-size: 80%;
	}










	.home #main_wrap section#know_container{
		padding-left: 4% !important;
		padding-right: 4% !important;
	}

	.home #main_wrap section#know_container .header_tag_wrap {
	    flex-direction: column;
    	margin-bottom: 80px;
	}

	.home #main_wrap section#know_container header {
	    padding: 0;
    	padding-top: 40px;
	}

	.home #main_wrap section#know_container h2 {
	    justify-content: center;
	}

	.home #main_wrap section#know_container .en {
	    margin-left: 0;
	    width: 66.268%;
        top: -76px;
	    left: calc(50% - (66.268% / 2));
	}

	.home #main_wrap section#know_container .desc {
	    font-size: 88%;
	    text-align: left;
	}

	.home #main_wrap section#know_container header + .tags {
	    gap: 8px;
	    width: 100%;
	}

	.slider-controls {
	    gap: 8px;
	    justify-content: center;
	}

	.home #contents_wrap section > .slider {
	    height: 224px;
	}

	.person {
	    flex: 0 0 240px;
	}

	#main_wrap .person img {
	    width: 192px;
	    height: 192px;
	    object-fit: contain;
	}

	.person.is-center {
	    transform: scale(1.2);
	}

	.info-box {
    	width: 92%;
	    padding: 16px;
	    font-size: 8px;
	    top: -112px;
	}

	#main_wrap .info-box h3{
        padding: 0;
	}

	#contents_wrap .info-box p {
	    margin-bottom: 6px;
	}

/*
	.home #main_wrap section#know_container .speech-bubble {
	    width: 80px;
	    height: 56px;
	    font-size: 8px;
	    top: 0px;
	    left: 44px;
		z-index: 2;
	}

	.home #main_wrap section#know_container .speech-bubble::after {
	    content: "";
	    position: absolute;
	    bottom: 0px;
	    right: 10px;
	    border-width: 25px 0 0 17px;
	    border-style: solid;
	    border-color: white transparent transparent transparent;
	    transform: rotate(316deg);
		z-index: 1;
	}
*/
	.home #main_wrap section#know_container .speech-bubble {
	    width: 80px;
	    height: 56px;
	    font-size: 8px;
	    top: 0px;
	    left: 44px;
		z-index: 2;
	}

	.home #main_wrap section#know_container .speech-bubble::after {
	    bottom: 8px;
	    right: 0px;
	    border-width: 8px 0 0 8px;
	    transform: rotate(316deg);
		z-index: 1;
	}

	.person-label {
	    font-size: 10px;
		white-space: nowrap;
	}

	.is-center .person-label{
    	left: calc(50% + 32px);
	}


	.home #contents_wrap section#special_container > .wrap {
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

	.home #main_wrap section#special_container h2 {
	    margin: 0 0 24px;
	}

	.home #main_wrap section#special_container .flex-wrapper {
	    flex-direction: column;
	}

	#main_wrap img.president-img {
	    width: 160px;
	    height: 160px;
	    object-fit: contain;
	}

	.home #main_wrap section#special_container .speech-bubble {
	    width: 98px;
	    height: 72px;
	    font-size: 11px;
	    color: #333;
	    top: 75px;
	    left: calc(50% - 144px);
	}


	.president-text {
	    right: 40px;
	}

	#main_wrap .president-text h3 {
	    font-size: 12px;
	    margin: 0;
	}

	.president-text p {
	    font-size: 4px;
	    margin: 4px 0 0;
	    opacity: 1;
	    color: #fff;
	}

	.home #main_wrap section#special_container .grid-box {
	    grid-template-columns: 50% 50%;
	}

	.icon-circle {
	    width: 120px;
	    height: 120px;
	}

	#main_wrap .icon-circle img {
	    width: 88px;
	    height: 88px;
	    object-fit: contain;
	}

	.grid-item span {
	    font-size: 80%;
        text-align: center;
	}

	.grid-item small {
	    font-size: 64%;
	    margin-top: 0px;
	}

	/* 市松模様の色分け */
	.grid-item:nth-child(1), .grid-item:nth-child(4) { background-color: #3b96f2; }
	.grid-item:nth-child(2), .grid-item:nth-child(3) { background-color: #3babf2; }

	#banner_container ul {
	    gap: 16px;
	}

	body.home #banner_container{
		font-size: 92%;
	}



	.home #main_wrap section#news_container {
	    display: flex;
	    flex-direction: column;
	    justify-content: normal;
	    gap: 0;
	}

	.home #main_wrap #news_container header {
	    display: flex;
    	justify-content: space-around;
	}

	.home #main_wrap #news_container header h2 {
	    font-size: 160%;
	}

	.home #main_wrap #news_container .list_all {
	    margin-top: 4px;
    	margin-left: auto;
	}

	.home #main_wrap #news_container .list_all a {
	    padding: 4px;
	    width: 104px;
	    border-radius: 148px;
	    font-size: 80%;
	}

	.home #contents_wrap .news{
		padding-top: 0;
		padding-bottom: 0;
	}

	.home #contents_wrap .news li a{
	    display: block;
	    border-bottom: 1px solid #ccc;
		padding: 12px 0;
	}

	.home #main_wrap .news li a .wrap {
	    display: block;
	}

	.home #contents_wrap .news li a .title {
	    display: block;
	    line-height: 1.6;
		float: none;
        width: 92%;
	}

	.home #main_wrap .news li a .title:after {
	    border-right: 2px solid #2685e4;
	    border-top: 2px solid #2685e4;
	    width: 8px;
	    height: 8px;
	}

	.home #contents_wrap .news li a .time{
		display: block;
		float: none;
		margin-right: 0;
		width: 100%;
	}

	.home #main_wrap .news li a .categories {
    	min-width: 92px;
    	font-size: 72%;
	    top: 16px;
    	left: 80px;
	}



	.home #main_wrap div#button_container .dis-block-columns {
	    gap: 16px;
	}

	.home #main_wrap div#button_container .dis-block-buttons > .dis-block-button a {
	    display: block;
	    max-width: 300px;
	    margin: 0 auto;
	    padding: 16px;
	    border-radius: 16px;
	    font-size: 100%;
	}

	.home #main_wrap div#button_container .dis-block-buttons > .dis-block-button.icon_movie a::after {
	    width: 27px;
	    height: 21px;
	    background-size: contain;
	    top: 4px;
	}

	.home #main_wrap div#button_container .dis-block-buttons > .dis-block-button.icon_external a::after {
	    width: 26px;
	    height: 28px;
	    background-size: contain;
	}
}


/* ページ　共通レイアウト
------------------------------------------------------------------------*/


/* 親ページ　共通レイアウト
------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 1023px){

	.page-parent #main_wrap ul.box a{
	}

	.page-parent #main_wrap ul.box a .imgleft{
        display: flex;
        align-items: center;
		max-width: 112px;
	}
}

@media screen and (max-width: 520px) {

	.page-parent #main_wrap ul.box{
    	gap: 0;
	}

	.page-parent #main_wrap ul.box li {
	    width: 100%;
	}

	.page-parent #main_wrap ul.box a{
        border-left: none;
        border-right: none;
		margin-top: 0px;
		border-top: none;
		border-collapse: collapse;
		position: relative;
		width: 100%;
		box-sizing: border-box;
	}

	.page-parent #main_wrap ul.box li:first-child a{
		border-top: 1px solid #DCDCDC;
	}

	.page-parent #main_wrap ul.box li:nth-child(even) a{
		margin-left: 0px;
	}

	.page-parent #main_wrap ul.box a .imgleft{
		max-width: 88px;
	}

	.page-parent #main_wrap ul.box a .info_wrap{
		margin-right: 0;
		margin-left: 4%;
		width: 56%;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.page-parent #main_wrap ul.box a .imgleft + .info_wrap{
		margin-left: 4%;
	}

	.page-parent #main_wrap a h2{
		display: block;
		background: none !important;
		padding: 0.5em 10% 0.5em 5% !important;
		margin-bottom: 0 !important;
		width: 100%;
	}

	.page-parent #main_wrap ul.box a:after{
		content: "";
		width: 7px;
		height: 7px;
		border-top: 2px solid #333333;
		border-right: 2px solid #333333;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		position: absolute;
		right: 15px;
		top: 50%;
		margin-top: -4px;
	}

	.page-parent #main_wrap ul.box a p{
		padding-right: 5%;
	}
}

@media screen and (min-width: 521px) and (max-width: 1023px){

	.page-parent #main_wrap ul.box a .info_wrap h2{
		font-size: 100% !important;
	}
}

@media screen and (max-width: 520px) {

	.page-parent #main_wrap ul.box a h1{
		font-size: 100% !important;
	}

	.page-parent #main_wrap ul.box a p{
		white-space:nowrap;
		text-overflow: ellipsis;
		overflow:hidden;
	}

	.page-parent #main_wrap a:after{
		top: 50%;
	}
}





/* LPテンプレート
------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1089px){/* 横幅1008px固定 */

	.page-template-page-lp #main_wrap > * {
	    padding-left: 4% !important;
	    padding-right: 4% !important;
	}

	.page-template-page-lp #main_wrap section > *{
		max-width: 100%;
		width: 100%;
		padding: 0;
	}

	.page-template-page-lp #main_wrap section.wide{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}


}

@media screen and (min-width: 521px) and (max-width: 1023px){

	.page-template-page-lp #main_wrap{
		width: 100%;
		padding: 24px 4%;
	}

	.page-template-page-lp #main_wrap section{
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.page-template-page-lp #main_wrap section > *{
		max-width: 100%;
		width: 100%;
		padding: 0;
	}

	.page-template-page-lp #main_wrap section.wide{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

	.page-template-page-lp #main_wrap h2{
		font-size: 156% !important;
		padding: 12px 0 0;
	}
}

@media screen and (min-width: 521px) and (max-width: 960px){

	.page-template-page-lp #main_wrap section.wide > .column_wrap .column2,
	.page-template-page-lp #main_wrap section.wide > .column_wrap .column3{
		width: 100%;
	}
}

@media screen and (max-width: 520px) {

	.page-template-page-lp #main_wrap{
		width: 100%;
		padding: 24px 4%;
	}

	.page-template-page-lp #main_wrap section{
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.page-template-page-lp #main_wrap section > *{
		max-width: 100%;
		width: 100%;
	}

	.page-template-page-lp #main_wrap section.wide{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

	.page-template-page-lp #main_wrap section.wide > .column_wrap .column2,
	.page-template-page-lp #main_wrap section.wide > .column_wrap .column3{
		width: 100%;
	}

	.page-template-page-lp #main_wrap > p,
	.page-template-page-lp #main_wrap > ul,
	.page-template-page-lp #main_wrap > ol,
	.page-template-page-lp #main_wrap > dl,
	.page-template-page-lp #main_wrap > table{
		padding: 0;
	}

	.page-template-page-lp #main_wrap hr{
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
	}

	.page-template-page-lp .check{
		font-size: 108%;
	}

	.page-template-page-lp ul.check li{
		line-height: 1.4;
		margin-top: 0.4em;
	}

	.page-template-page-lp ul.check li:first-child{
		margin-top: 0;
	}

	.page-template-page-lp #main_wrap h2{
	}

	.page-template-page-lp #main_wrap h2:before{
		display: none;
	}

	.page-template-page-lp #main_wrap h3{
		margin: 0 0 8px;
		font-size: 112%;
	}

	.page-template-page-lp #main_wrap .embox{
		font-size: 128%;
		padding: 24px 4%;
	}

	.page-template-page-lp a.button{
		min-width: 100%;
		width: 100%;
		font-size: 104%;
		box-sizing: border-box;
	}

	.page-template-page-lp div.box{
		padding: 24px 4%;
	}

	.page-template-page-lp dl.tablelayout{
		padding: 16px 4% !important;
		margin-left: 0;
		margin-right: 0;
	}

	.page-template-page-lp dl.tablelayout dt{
		float: none;
		width: 100%;
		padding: 1em 0 0;
	}

	.page-template-page-lp dl.tablelayout dt:first-child{
		padding: 0;
	}

	.page-template-page-lp dl.tablelayout dd{
		padding: 0.4em 0 1em;
	}

	.page-template-page-lp dt.question{
		background: #E3F3E3;
		font-weight: bold;
		padding: 8px 4%;
	}

	.page-template-page-lp dd.answer{
		padding: 8px 4%;
	}

	.page-template-page-lp p.voice {
	    background: #fff;
		margin: 0;
    	padding: 0;
	}

	.page-template-page-lp .wlist li:before{
	    margin-right: 8px;
	    position: relative;
	    top: 2px;
	}

	.page-template-page-lp dt.check{
		line-height: 1.6;
		margin-bottom: 8px;
	}

	.page-template-page-lp dt.check:before{
		vertical-align: 0;
		margin-right: 4px;
		position: relative;
		top: 4px;
	}

	.page-template-page-lp dt.question:before{
		margin-right: 8px;
	}

	.page-template-page-lp dd.answer:before{
		margin-right: 8px;
	}

	.page-template-page-lp .voice:before{
	    margin-right: 8px;
	    position: relative;
	    top: 2px;
	}

}





/* LPテンプレート（リンク有り）
------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1089px){/* 横幅1008px固定 */

	.page-template-page-lp-link #main_wrap section > *{
		max-width: 100%;
		width: 100%;
		padding: 0;
	}

	.page-template-page-lp-link #main_wrap section.wide{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}


}

@media screen and (min-width: 521px) and (max-width: 1023px){

	.page-template-page-lp-link #main_wrap{
		width: 100%;
		padding: 24px 4%;
	}

	.page-template-page-lp-link #main_wrap section{
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.page-template-page-lp-link #main_wrap section > *{
		max-width: 100%;
		width: 100%;
	}

	.page-template-page-lp-link #main_wrap section > *.lead{
		padding: 0 4%;
	}

	.page-template-page-lp-link #main_wrap section.wide{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

	.page-template-page-lp-link #main_wrap h2{
		font-size: 156% !important;
		padding: 12px 0 0;
	}
}

@media screen and (min-width: 521px) and (max-width: 960px){

	.page-template-page-lp-link #main_wrap section.wide > .column_wrap .column2,
	.page-template-page-lp-link #main_wrap section.wide > .column_wrap .column3{
		width: 100%;
	}
}

@media screen and (max-width: 520px) {

	.page-template-page-lp-link #main_wrap{
		width: 100%;
		padding: 24px 4%;
        font-size: 92%;
	}

	.page-template-page-lp-link #main_wrap > * {
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

	.page-template-page-lp-link #main_wrap section{
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.page-template-page-lp-link #main_wrap section > *{
		max-width: 100%;
		width: 100%;
	}

	.page-template-page-lp-link #main_wrap section.wide{
	    padding-left: 0 !important;
	    padding-right: 0 !important;
	}

	.page-template-page-lp-link #main_wrap section.wide > .column_wrap .column2,
	.page-template-page-lp-link #main_wrap section.wide > .column_wrap .column3{
		width: 100%;
	}

	.page-template-page-lp-link #main_wrap > p,
	.page-template-page-lp-link #main_wrap > ul,
	.page-template-page-lp-link #main_wrap > ol,
	.page-template-page-lp-link #main_wrap > dl,
	.page-template-page-lp-link #main_wrap > table{
		padding: 0;
	}

	.page-template-page-lp-link #main_wrap hr{
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
	}

	.page-template-page-lp-link .check{
		font-size: 108%;
	}

	.page-template-page-lp-link ul.check li{
		line-height: 1.4;
		margin-top: 0.4em;
	}

	.page-template-page-lp-link ul.check li:first-child{
		margin-top: 0;
	}

	.page-template-page-lp-link #main_wrap h2{
		font-size: 132% !important;
		line-height: 1.4 !important;
		padding: 12px 0 0;
	}

	.page-template-page-lp-link #main_wrap h2:before{
		display: none;
	}

	.page-template-page-lp-link #main_wrap h2:after {
	    margin-top: 24px;
	    margin-bottom: 32px;
	}

	.page-template-page-lp-link #main_wrap h3{
		margin: 0 0 8px;
		font-size: 120%;
	}

	.page-template-page-lp-link #main_wrap .embox{
		font-size: 128%;
		padding: 24px 4%;
	}

	.page-template-page-lp-link a.button{
		min-width: 100%;
		width: 100%;
		font-size: 104%;
		box-sizing: border-box;
	}

	.page-template-page-lp-link div.box{
		padding: 24px 4%;
	}

	.page-template-page-lp-link dl.tablelayout{
		padding: 16px 4% !important;
		margin-left: 0;
		margin-right: 0;
	}

	.page-template-page-lp-link dl.tablelayout dt{
		float: none;
		width: 100%;
		padding: 1em 0 0;
	}

	.page-template-page-lp-link dl.tablelayout dt:first-child{
		padding: 0;
	}

	.page-template-page-lp-link dl.tablelayout dd{
		padding: 0.4em 0 1em;
	}

	.page-template-page-lp-link dt.question{
		background: #E3F3E3;
		font-weight: bold;
		padding: 8px 4%;
	}

	.page-template-page-lp-link dd.answer{
		padding: 8px 4%;
	}

	.page-template-page-lp-link p.voice {
	    background: #fff;
		margin: 0;
    	padding: 0;
	}

	.page-template-page-lp-link .wlist li:before{
	    margin-right: 8px;
	    position: relative;
	    top: 2px;
	}

	.page-template-page-lp-link dt.check{
		line-height: 1.6;
		margin-bottom: 8px;
	}

	.page-template-page-lp-link dt.check:before{
		vertical-align: 0;
		margin-right: 4px;
		position: relative;
		top: 4px;
	}

	.page-template-page-lp-link dt.question:before{
		margin-right: 8px;
	}

	.page-template-page-lp-link dd.answer:before{
		margin-right: 8px;
	}

	.page-template-page-lp-link .voice:before{
	    margin-right: 8px;
	    position: relative;
	    top: 2px;
	}

}


/* １カラムテンプレート
------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1296px){
	.page-template-page-no-sidebar #contents_wrap {
		max-width: 100%;
	}

	.page-template-page-no-sidebar-bottom #contents_wrap {
		max-width: 100%;
	}
}

@media screen and (min-width: 521px) and (max-width: 1023px){
	.page-template-page-no-sidebar #main_wrap{
		max-width: 100%;
		width: 100%;
	}

	.page-template-page-no-sidebar-bottom #main_wrap{
		max-width: 100%;
		width: 100%;
	}
}

@media screen and (min-width: 881.28px) and (max-width: 1023px) {

}

@media screen and (max-width: 520px) {
	.page-template-page-no-sidebar #main_wrap{
		width: 100%;
	}

	.page-template-page-no-sidebar-bottom #main_wrap{
		width: 100%;
	}
}

/* ブログ　共通レイアウト
------------------------------------------------------------------------*/
@media screen and (max-width: 520px) {

	.single #main_wrap .section.mainimage h1{
		font-size: 120%;
		padding: 8px 0px;
		line-height: 124%;
	}

	.single #main_wrap .size-thumbnail{
		width: 100% !important;
	}

	.single #main_wrap .eyecatch,
	.single #main_wrap .eyecatch.middle{
		float:none;
		width: 100% !important;
		margin-top: 0 !important;
		margin-left: 0 !important;
		margin-bottom: 2.40em;
		min-width: 0px;
	}

	.single #main_wrap .size-thumbnail.aligncenter,
	.single #main_wrap .size-medium.aligncenter{
		width: 100% !important;
	}

	.single #sub_wrap{
		margin: 32px auto 0;
	}

	.single #main_wrap ul.term{
		width: 100%;
    	margin-bottom: 0;
	    float: none;
		overflow: hidden;
	}
}


/* 共通モジュール
------------------------------------------------------------------------*/
@media screen and (min-width: 991px) and (max-width: 1023px){/* グローバルメニュー表示 */

	/* 問題点 */
	#main_wrap ul.mod_trouble {
	    padding: 16px !important;
	}
}

@media screen and (min-width: 521px) and (max-width: 1023px){

	/* 問題点 */
	#main_wrap ul.mod_trouble {
	    padding: 16px !important;
	}

	/* 電話番号表示 */
	.mod_tel{
		font-size: 164%;
	}
}


@media screen and (max-width: 520px) {/* スマートフォン */

	/* 問題点 */
	#main_wrap ul.mod_trouble {
	    padding: 16px !important;
	}

	/* フロー図 */
	#main_wrap ul.mod_flow li:first-child{
		margin-top: 0;
	}

	#main_wrap ul.mod_flow li:last-child{
		margin-bottom: 0;
	}

	#main_wrap .mod_flow img{
		width: 100% !important;
	}

	#main_wrap .mod_flow div.caption {
		max-width: 100%;
	}

	#main_wrap .mod_flow .caption > span{
		display: block;
		text-align:center;
	}


	/* 特長 */
	#main_wrap ul.mod_feature li {
	    float: none;
	    width: 100%;
	}

	#main_wrap ul.mod_feature li:nth-child(even) {
	    float: none;
	}


	/* ボックスリスト　リンク */
	#main_wrap ul.mod_boxlist.link li a{
	    float: none;
	    width: 100%;
	}

	#main_wrap ul.mod_boxlist.link li:nth-child(even) a {
	    float: none;
	}

	/* 電話番号表示 */
	.mod_tel{
		font-size: 152%;
	}

}



/* ページ別レイアウト（メインイメージ）
------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1296px){

	#mainimage .section_wrap{
	    padding: 0 calc(4% + 16px);
	    max-width: 100%;
	}

}

@media screen and (min-width: 991px) and (max-width: 1023px){/* グローバルメニュー表示 */

	#mainimage h1{
		padding: 0 4%;
	}

}

@media screen and (min-width: 521px) and (max-width: 1023px){

	#mainimage {
	    background-position: 50% 50%;
	}

	#mainimage .section_wrap{
		width: 100%;
		height: 120px;
	}

	#mainimage .section_wrap.image{
		padding: 0;
		font-size: 0;
	}

	#mainimage h1{
	    font-size: 140%;
		padding: 0 4%;
	}
}

@media screen and (min-width: 521px) {

	.page-template-page-lp-link #mainimage .section_wrap.image{
		display: table;
	}

	.page-template-page-lp-link #mainimage .section_wrap.image.sp{
		display: none;
	}

}

@media screen and (max-width: 520px) {

	#mainimage {
	    background-position: 50% 50%;
	}

	#mainimage .section_wrap{
		width: 100%;
		height: 96px;
	}

	#mainimage .section_wrap.image{
		padding: 0;
		font-size: 0;
	}

	.page-template-page-lp-link #mainimage .section_wrap.image{
		display: none;
	}

	.page-template-page-lp-link #mainimage .section_wrap.image.sp{
		display: table;
	}

	#mainimage h1{
	    font-size: 120%;
		padding: 0 4%;
	}
}


/* ページ別レイアウト
------------------------------------------------------------------------*/
@media screen and (max-width: 520px) {
	.jirei li a{
	    width: 100%;
	    padding: 24px;
	    float: none;
	    margin-left: 0%;
		margin-bottom: 8px;
	}
}






/*------------------------------------------------------------------------
◆コンテンツ下部
------------------------------------------------------------------------*/



/*--------------------------------------------------------------------------
◆コンテンツ下部メニュー
--------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 1023px) {

	ul#contents_bottom_menu{
		display: none;
	}
}

@media screen and (max-width: 520px) {

	ul#contents_bottom_menu{
		display: none;
	}
}



/*------------------------------------------------------------------------
◆サブメニュー
------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 1023px) {

	#sidenav_wrap{
		width: 100%;
	}

	#sidenav li a {
		box-sizing: border-box;
	}

	#sidenav > li.menu-parent-item.current-menu-item > a,
	#sidenav > li.menu-parent-item > a {
		float: none;
		font-size:100% !important;
	}

	#sidenav > li.menu-parent-item.current-menu-item > a:hover,
	#sidenav > li.menu-parent-item > a:hover {
		color: #FFF;
	}

	#sidenav li a {
	}
}

@media screen and (max-width: 520px) {

	#sidenav_wrap{
		width: 100%;
        font-size: 88%;
	}

	.page-parent.page-child #sidenav{
		display:block;
	}

	#sidenav_wrap h2#sidenav_parent a {
	    padding: 12px 4%;
	}

	#sidenav li a{
		padding: 12px 4%;
		box-sizing: border-box;
	}

	#sidenav > li > ul.sub-menu > li > ul.sub-menu > li > a{
		padding: 10px 2em;
	}

	/* カテゴリー親が現在地 */
	#sidenav > li.menu-parent-item.current-menu-item > a{
		/*border-top:1px solid #ccc !important;*/
	}

	/* カテゴリー親の下階層が現在地 */
	#sidenav > li.current-category-ancestor > a{
		border-top:1px solid #E2E2E2 !important;
	}

	/* 末端階層 その都度「ul.sub-menu > 」の数を調整必要 */
	#sidenav > li.current_page_parent > ul.sub-menu > li:last-of-type a{
	}

	#sidenav > li a{
		position: relative;
	}

	#sidenav li a:hover{
		/*border: 1px solid #006199 !important;*/
		border-top: none;
	}

	#sidenav > li a:after{
		content: "";
		display: none;
		width: 7px;
		height: 7px;
		border-top: 2px solid #333333;
		border-right: 2px solid #333333;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		position: absolute;
		right: 12px;
		top: 50%;
		margin-top: -5px;
	}

	/* 起点親ページ */
	#sidenav li.current-menu-ancestor.current-menu-parent > a:after{
		border-top: 2px solid #fff;
		border-right: 2px solid #fff;
	}

	/* 現在のページ */
	#sidenav li.current-menu-item > a,
	#sidenav li.current-post-parent > a{
	}

	#sidenav li.current-menu-item > a:hover,
	#sidenav li.current-post-parent > a:hover{
	}

	#sidenav > li a:hover:after,
	#sidenav li.current-menu-item > a:after,
	#sidenav li.current-post-parent > a:after,
	#sidenav > li.menu-parent-item.current-menu-item > a:after{
		border-top: 2px solid #FFFFFF;
		border-right: 2px solid #FFFFFF;
	}
}


/*--------------------------------------------------------------------------
◆サブコンテンツ
--------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 1023px) {

	#sub_wrap > * {
		/*margin-bottom: 0;*/
	}

	#sub_wrap .sidebar_bottom_widget h2:first-child + a{
		margin-left: 0px;
	}
}

@media screen and (max-width: 520px) {

	#sub_wrap > * {
		margin-bottom: 0;
	}
}


/*--------------------------------------------------------------------------
◆テーブル
--------------------------------------------------------------------------*/
@media screen and (max-width: 520px) {

	table{
		width: 100%;
		text-align: left;
	}

	table.responsive tr{
		display: block;
		padding: 0;
	}

	table.responsive th{
		display: block;
		background: #E5E5E5;
		width: auto;
		border: none;
		padding: 6px 8px;
	}

	table.responsive td{
		display: block;
		border: 1px solid #E5E5E5;
		background: #fff;
		border: none;
		line-height: 160%;
		padding: 8px 4px;
	}
}



/*--------------------------------------------------------------------------
◆カテゴリー
--------------------------------------------------------------------------*/
@media screen and (min-width: 991px) and (max-width: 1023px){/* グローバルメニュー表示 */
	.category.archive #main_wrap a.box{
		min-height: 0;
	}
}

@media screen and (min-width: 521px) and (max-width: 1023px){

	.category.archive #main_wrap .section{
		width: 100%;
	}

	.category.archive #main_wrap a.box .imgleft {
		display: none;
	}

	.category.archive #main_wrap a.box .info_wrap {
		padding: 24px 0;
	}

	.category.archive #main_wrap a.box .info_title{
		font-size: 120% !important;
	}
}

@media screen and (max-width: 520px) {

	.category.archive #main_wrap .section{
		width: 100%;
	}

	.category.archive #main_wrap .section.category_description a:after{
		display: none !important;
	}

	.category.archive #main_wrap .section.mainimage .section_wrap > h1,
	.single #main_wrap .section.mainimage .section_wrap > h1{
		font-size: 120%;
		padding: 8px 16px;
	}

	.category.archive #main_wrap a.box{
		box-sizing: content-box;
		border-top: none;
		border-collapse: collapse;
		min-height: 0;
		padding: 16px 0;
	}

	.category.archive #main_wrap a.box .info_title{
		font-size: 108% !important;
		margin-bottom: 0em !important;
		padding-right: 2em !important;
	}

	.category.archive #main_wrap a.box .imgleft {
		display: none;
	}

	.category.archive #main_wrap a.box .info_wrap {
		margin-left: 0;
		padding: 8px 0;
	}

	.category.archive #main_wrap a.box .status{
		margin-bottom: 0 !important;
	}

	.category.archive #main_wrap .section a{
		position: relative;
	}

	.category.archive #main_wrap .section a:after{
		content: "";
		display: block;
		width: 7px;
		height: 7px;
		border-top: 2px solid #2685e4;
		border-right: 2px solid #2685e4;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		position: absolute;
		right: 4%;
        top: calc(50% + 3px);
		margin-top: -8px;
	}

	.category.archive #main_wrap p.status + p{
		display:none;
	}

	.category.archive .excerpt{
		display:none;
	}
}


/*--------------------------------------------------------------------------
◆アーカイブ
--------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 1023px){

	.archive #main_wrap .section{
		width: 100%;
	}
}

@media screen and (max-width: 520px) {
	.archive #main_wrap .section{
		width: 100%;
	}
}


/*--------------------------------------------------------------------------
◆タグ
--------------------------------------------------------------------------*/


/*------------------------------------------------------------------------
◆ページナビ
------------------------------------------------------------------------*/
@media screen and (max-width: 520px){

	.pagination {
		margin-right:-4px;
	}

	.pagination span,
	.pagination a {
		margin: 2px 4.8px 2px 0;
	}

	.pagination a:after{
		border:none !important;
	}
}


/*--------------------------------------------------------------------------
◆ページ上部
--------------------------------------------------------------------------*/
@media screen and (max-width: 1023px) {

	#pagenav {
		bottom: 8px;
		right: 8px;
		padding: 0;
	}

	#pagenav a{
		width: 34px;
		height: 34px;
		opacity: 0.9;
		background-size: contain;
	}

	#pagenav a:hover{
		opacity: 1;
	}

	#pagenav.bottom_fix_on{
		bottom: 60px;
	    -moz-transition: all 0.3s ease;
	    -o-transition: all 0.3s ease;
	    transition: all 0.3s ease;
	}
}



/*--------------------------------------------------------------------------
◆フッター
--------------------------------------------------------------------------*/
@media screen and (min-width: 1297px) and (max-width: 1425.6px){

	#footer_wrap_middle{
		padding-right: 4%;
		padding-left: 4%;
    	max-width: 100%;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1296px){

	#footer_wrap_middle{
    	max-width: 100%;
	}

	#footer_middle_info .name {
        width: 382px;
	}

}

@media screen and (min-width: 521px) and (max-width: 1296px){

	#footer_wrap_top{
	    width: 160px;
	    height: 160px;
	    margin-top: -90px;
    	padding: 12px;
	    left: calc(50% - 80px);
	}

	#footer_wrap_middle #footer_middle_info{
		float: none;
		width: 100%;
		margin-bottom: 0;
		text-align: center;
	}

    #footer_middle_info .name {
        width: 480px;
        max-width: 80%;
        margin: 54px auto 24px;
    }

	#footer_middle_menu {
        flex-wrap: wrap;
		float: none;
    	padding: 0 4%;
	    width: 100%;
	}

	#fnav_to_home,
	#footer_middle_menu .fnav_container {
	    display: block;
	    width: calc(100% / 3) !important;
	    float: none;
        font-size: 92%;
	}

	#fnav_left,
	#fnav_center_right{
		clear: both;
	    float: none;
	    display: block;
	}

	#fnav_center_left,
	#fnav_right {
	    float: none;
	    display: block;
	}

	#fnav {
	    text-align: center;
	}

	ul.fnav li a{
		white-space: normal;
	}

	#footer_middle_menu > div.fnav_container{
		margin-top: 24px;
	    max-width: 100%;
	    min-width: 0px;
	}

	#footer_wrap_bottom {
	    margin: 0;
	}

	#footer_container_bottom .footer_info_wrap .l-inner{
		flex-direction: column;
		align-items: center;
		padding: 1rem 0 1.25rem;
		gap: 12px;
	}

	#footer_container_bottom .footer_info_wrap .site-logo{
		margin-right: 0;
	}

	#footer_container_bottom .footer_info_wrap .g-footer__nav{
		margin-top: 0.5rem;
	}

	#footer_container_bottom .footer_info_wrap .g-footer__nav a{
		display: block;
		margin: 6px 0;
	}

	#footer_wrap_bottom > .footer_info_wrap nav ul {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 0 24px;
	    justify-content: center;
	    font-size: 80%;
	}

	#footer_container_bottom.menu_in #fnav_btm {
	    float: none;
	    text-align: center;
		padding-bottom: 0;
	}

	#footer_container_bottom.menu_in #fnav_btm_container {
	    float: none;
	    text-align: center;
	}

	#footer_container_bottom.menu_in #footer_wrap_copyright {
	    float: none;
	    text-align: center;
	}


}

@media screen and (min-width: 521px) and (max-width: 680px){

	#fnav_to_home,
	#footer_middle_menu .fnav_container {
        width: 50% !important;
	}

}

@media screen and (max-width: 520px) {

	#footer_wrap_top{
	    width: 144px;
	    height: 144px;
	    margin-top: -90px;
    	padding: 20px;
	    left: calc(50% - 72px);
	}

	#footer_container_middle {
    	padding-bottom: 0;
	}

	#footer_wrap_middle #footer_middle_info{
		float: none;
		width: 100%;
		text-align: center;
    	margin-top: 32px;
    	margin-bottom: 24px;
	}

	#footer_middle_info > *{
		padding-right: 4%;
		padding-left: 4%;
	}

	#footer_middle_menu {
	    gap: 0;
	    flex-direction: column;
		float: none;
        background: #2685e4;
        border-top: 1px solid #1977d5;
	    width: 100%;
        padding: 0;
    	margin: 0px auto;
	}

	#footer_middle_menu > * {
	    width: 100%;
	}

	#footer_middle_info .name{
	    width: 100%;
        max-width: 80%;
	    margin: 0 auto 24px;
	}

	#footer_middle_menu .f_container .sub-menu{
		display: none;
        margin-top: 0;
    	font-size: 96%;
	}

	#fnav {
	    text-align: center;
	}

	ul.fnav li {
	    margin-top: 0;
	}

	#footer_middle_menu .fnav_container {
		display: block;
	    width: 100%;
    	padding-right: 0;
	    float: none;
	    max-width: 100%;
	    min-width: 0px;
	}

	#footer_middle_menu .button_container {
		width: 100%;
	    max-width: 294px;
	    padding: 0;
	    margin: 16px auto;
	}

	#footer_middle_menu .button_container .button {
	    font-size: 88%;
	}

	#footer_middle_menu .button_container .button::after {
    	font-size: 9px;
	    top: 26px;
	}

	#fnav_left,
	#fnav_center_right{
		clear: both;
	    float: none;
	    display: block;
	    width: 100%;
	}

	#fnav_center_left,
	#fnav_right {
	    float: none;
	    display: block;
	    width: 100%;
	}



	/* 共通 */
	#fnav_to_home.fnav_container a,
	.fnav_container .fnav > li > a{
        line-height: 200%;
	}

	/* TOP */
	#fnav_to_home {
	    width: 100% !important;
		margin-left: 0;
	    text-decoration: none;
	    color: #333;
	}

	#fnav_to_home a {
	    display: block;
		padding: 12px 4%;
	    border-top: 1px solid #1977d5;
	    border-bottom: 1px solid #1977d5;
    	font-size: 80%;
        color: #fff;
        position: relative;
	}

	#fnav_to_home a:hover {
		text-decoration: none;
	}

	#fnav_to_home a:after {
	    content: "";
	    position: absolute;
	    border-right: 2px solid #ffffff;
	    border-top: 2px solid #ffffff;
	    width: 8px;
	    height: 8px;
    	right: calc(4% + 2px);
	    top: calc(50% - 6px);
	    margin-top: 0;
	    transform: rotate(45deg);
	    -webkit-transform: rotate(45deg);
	}

	/* 親子ページ共通 */
	.fnav_container ul li a {
	    border-bottom: 1px solid #1977d5;
	    font-size: 80%;
	    line-height: 200%;
    	color: #fff;
	}

	.fnav_container ul li a:after {
	    content: "";
	    position: absolute;
	    border-right: 2px solid #ffffff;
	    border-top: 2px solid #ffffff;
	    width: 8px;
	    height: 8px;
	    right: 12px;
	    top: calc(50% - 6px);
	    margin-top: 0;
	    transform: rotate(45deg);
	    -webkit-transform: rotate(45deg);
    	right: calc(4% + 2px);
	}

	/* 親ページ */
	.fnav_container ul.fnav > li > a {
    	padding: 12px 4%;
        position: relative;
	}

	.fnav_container ul.fnav > li > a:hover{
		text-decoration: none;
	}

	.fnav_container ul.fnav > li.menu-parent-item > a::before, 
	.fnav_container ul.fnav > li.menu-parent-item > a::after {
	    content: "";
	    display: block;
	    width: 2px;
	    height: 16px;
	    background: #fff;
	    border: none;
	    position: absolute;
	    top: 50%;
	    left: auto;
	    right: calc(4% + 6px);
	}

	.fnav_container ul.fnav > li.menu-parent-item > a::before {
	    margin-right: 1px;
	    top: calc(50% - 8px);
	    right: calc(4% + 6px);
	}

	.fnav_container ul.fnav > li.menu-parent-item > a::after {
	    transform: translate(-50%, -50%) rotate(90deg);
	}

	/* 子ページ */
	ul.fnav ul.sub-menu li {
	    padding-left: 0;
	}

	.fnav_container ul.sub-menu li a {
        display: block;
        width: 100%;
	    padding: 12px 4%;
        padding-right: 40px;
        line-height: 1.4;
	    background: #1977d5;
        border-bottom: 1px solid #2685e4;
	}

	.fnav_container ul.sub-menu li a:hover{
		text-decoration: none;
	}

	ul.fnav li ul.sub-menu li:before {
	    content: "";
	    margin-right: 0;
		display: none;
	}

	/* 現在地 */
	.fnav_container ul li.current-menu-item > a,
	.fnav_container ul li.current-menu-ancestor > a,
	.fnav_container ul li.current-post-ancestor > a,
	.fnav_container ul li.current-page-ancestor > a {
	    color: #ffffff;
	}

	.fnav_container ul.fnav > li.is-open > a::before {
		display: none;
	}

	#footer_wrap_bottom {
	    margin: 0;
	}

	#footer_wrap_bottom > .footer_info_wrap nav ul {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 0 24px;
	    justify-content: left;
	    font-size: 80%;
	}

	#footer_container_bottom.menu_in #fnav_btm {
	    float: none;
	    text-align: center;
		padding-bottom: 0;
	}

	#footer_container_bottom.menu_in #fnav_btm_container {
	    float: none;
	    text-align: center;
	}

	#footer_container_bottom.menu_in #footer_wrap_copyright {
	    float: none;
	    text-align: center;
	}

	#footer_wrap_bottom #footer_wrap_copyright{
	    font-size: 56.25%;
	}

}


/*--------------------------------------------------------------------------
◆ページメインイメージ
--------------------------------------------------------------------------*/
@media screen and (min-width: 961px) and (max-width: 1296px){

	#mainimage {
        height: auto;
        padding: 24px 0 40px;
	}

	#mainimage .wrap {
	    display: flex;
        align-items: normal;
        justify-content: center;
	    flex-direction: column;
	}

	#mainimage .title_wrap {
	    padding-right: 4%;
		width: auto;
        margin-left: auto;
	    position: relative;
	}

	#mainimage .title_wrap h1 {
        word-break: auto-phrase;
	}

	#mainimage .title_wrap .en {
	    font-size: 88%;
	    color: #fff;
	    padding: 0;
        word-break: auto-phrase;
	}

	#mainimage .page_category{
        padding: 16px 4% 24px;
    	font-size: 240%;
		top: 0;
	}

	#mainimage .title_wrap h1 {
        padding: 0;
        font-size: 240%;
	}

}

@media screen and (min-width: 521px) and (max-width: 960px){

	#mainimage {
        height: auto;
        padding: 24px 0 40px;
	}

	#mainimage .wrap {
	    display: flex;
        align-items: normal;
        justify-content: center;
	    flex-direction: column;
	}

	#mainimage .title_wrap {
        min-width: 48%;
        max-width: 88%;
	    padding-right: 4%;
		width: auto;
        margin-left: auto;
	    position: relative;
	}

	#mainimage .title_wrap h1 {
        word-break: auto-phrase;
	}

	#mainimage .title_wrap .en {
	    font-size: 88%;
	    color: #fff;
	    padding: 0;
        word-break: auto-phrase;
	}

	#mainimage .page_category{
        padding: 16px 4% 24px;
    	font-size: 184%;
		top: 0;
	}

	#mainimage .title_wrap h1 {
        padding: 0;
	    font-size: 160%;
	}

}

@media screen and (max-width: 520px) {

	#mainimage {
        height: auto;
        padding: 24px 0 40px;
        max-height: 100vh;
	}

	#mainimage .wrap {
	    display: flex;
        align-items: normal;
        justify-content: center;
	    flex-direction: column;
	}

	#mainimage .title_wrap {
        min-width: 48%;
        max-width: 88%;
	    padding-right: 4%;
		width: auto;
        margin-left: auto;
	    position: relative;
	}

	#mainimage .title_wrap h1 {
        word-break: auto-phrase;
	}

	#mainimage .title_wrap .en {
	    font-size: 80%;
	    color: #fff;
	    padding: 0;
        word-break: auto-phrase;
	}

	#mainimage .page_category{
        padding: 16px 4% 24px;
    	font-size: 120%;
		top: 0;
	}

	#mainimage .title_wrap h1 {
        padding: 0;
	    font-size: 120%;
	}


}

/*--------------------------------------------------------------------------
◆下層ページ
--------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 960px){


}

@media screen and (max-width: 520px) {


}

/*--------------------------------------------------------------------------
◆サイトマップ
--------------------------------------------------------------------------*/



/*------------------------------------------------------------------------
◆検索
------------------------------------------------------------------------*/


/*
検索結果
------------------------------------------------------------------------*/
@media screen and (max-width: 520px) {

	.search #main_wrap .section h1{
		font-size: 120%;
		padding: 8px 0;
	}
}

/*--------------------------------------------------------------------------
◆メールフォーム
--------------------------------------------------------------------------*/
@media screen and (min-width: 521px) and (max-width: 1023px){

	#main_wrap form .middle,
	#main_wrap form .short{
		box-sizing: border-box;
		min-width: 0;
	}
}

@media screen and (max-width: 520px) {

	#main_wrap form table{
	    margin-top: 0;
	}

	#main_wrap form table tbody{
		border-top: 0;
	}

	#main_wrap form table td label {
		margin-bottom: 0.5em !important;
	}

	#main_wrap form textarea{
		height: 8em;
	}

	#main_wrap form .long,
	#main_wrap form .middle,
	#main_wrap form .short{
		width: 100%;
		min-height: 0;
		box-sizing: border-box;
	}

	#main_wrap form table td label input[type="checkbox"] {
		position: relative;
		top: 2px;
	}

	#main_wrap form input[type="submit"] {
		font-size: 100% !important;
	}

	#sub_wrap form input[type="submit"]{
		font-size: 100% !important;
		margin-top: 0.5em;
	}
}

