@charset "UTF-8";

/*-------------------------------------------------
 *  TOPページ
 * --------------------------------------------------*/

/*----- FV -----*/
.p-mainVisual__wrap{
    display: flex;	
}
.p-mainVisual__wrap > *:first-of-type{
	width: 60%;
	height: auto;
}
.p-mainVisual__wrap > *:last-of-type{
	width: 40%;
	height: auto;
}

.p-mainVisual__wrap .p-mainVisual__slide > span{
	font-size: clamp(10px, 2.5vw, 14px);
	color: #ffffffCC;
    position: absolute;
    top: calc(100% - var(--swl-pad_container,0));
    left: var(--swl-pad_container,0);
	transform: translate(0, -100%);
	z-index: 2;
}
.p-mainVisual .p-mainVisual__wrap .c-filterLayer::before{
    background: linear-gradient(transparent, #0000004D);
	opacity: 1;
}


/*-----  メインビジュアル  -----*/
.p-mainVisual__wrap .p-mainVisual__textLayer{
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	max-width: 100%;
    height: 100%;
    top: 100%;
	-webkit-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
	padding-top: var(--swl-pad_container,0);
	padding-bottom: var(--swl-pad_container,0);
}

/* キャッチコピー */
.p-mainVisual__wrap .p-mainVisual__SlideWrap{
	color: #fff;
	font-weight: bold;
    align-self: flex-start;
}	
.p-mainVisual__wrap .p-mainVisual__slideTitle{
	font-size: clamp(36px, 5vw, 80px);
}
.p-mainVisual__wrap .p-mainVisual__slideText{
	font-size: clamp(16px, 3vw, 36px);
	margin-top: .2em;
}

/* ボタン */
.p-mainVisual__wrap .p-mainVisual__slideBtn{
	--slidebtn_color: #333;
	--slidebtn_back: #F8EC00;
    background: var(--slidebtn_back);
    width: clamp(120px, 35%, 200px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0;
	transition: --slidebtn_back .25s;
}
.p-mainVisual__wrap .p-mainVisual__slideBtn:hover{
	--slidebtn_back: #FAF24D;
}

.p-mainVisual__wrap .p-mainVisual__slideBtn::before{
    content: "";
    display: block;
    width: 90%;
    aspect-ratio: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--slidebtn_color);
    border-radius: 50%;
}

.p-mainVisual__wrap .p-mainVisual__slideBtn .c-mvBtn__btn{
    width: 100%;
    height: 100%;
	padding: 15%;
	border-radius: 50%;
    background: none;
	color: var(--slidebtn_color);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow-wrap: break-word;
    word-break: keep-all;
	font-size: clamp(12px, 2.5vw,1rem);
    font-weight: bold;
}
.p-mainVisual__wrap .p-mainVisual__slideBtn .c-mvBtn__btn::before{
	content: "ABOUT";
    position: relative;
	height: auto;
    background: none;
    color: var(--slidebtn_color);
	font-size: 0.9em;
    opacity: 0.4;
}
.p-mainVisual__wrap .p-mainVisual__slideBtn .c-mvBtn__btn::after{
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 auto;
	background-image: url("data:image/svg+xml,%3Csvg height='1em' width='1em' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media not all and (min-width: 960px){
	.p-mainVisual__wrap,
	.p-mainVisual__wrap .p-mainVisual__textLayer{
		flex-direction: column;
	}
	.p-mainVisual__wrap > *{
		width: 100% !important;
	}
	.p-mainVisual__wrap > .p-mainVisual__inner{
		height: 100vw;
	}
	
	.p-mainVisual__wrap .p-mainVisual__slideBtn .c-mvBtn__btn{
		padding: 10%;
	}
	.p-mainVisual__wrap .p-mainVisual__slideBtn .c-mvBtn__btn::after{
	    width: 1.2rem;
    	height: 1.2rem;	
	}
}


/*-----  ピックアップ記事  -----*/
.p-mainVisual__wrap .p-blogParts:has(.pickup-swiper){
    padding: 2em 0;	
	background: #fff;
}
/* 見出し */
.p-mainVisual__wrap .p-blogParts:has(.pickup-swiper) .wp-block-heading{
    font-size: clamp(18px, 3vw, 24px);
	margin-bottom: 1em;
}
.p-mainVisual__wrap .p-blogParts:has(.pickup-swiper) .wp-block-heading > small{
	color: #666;
	margin-bottom: 0.75em;
}

/* スライダー */
.p-mainVisual__wrap .pickup-swiper{
    margin-bottom: 0;
    overflow: hidden;	
}
.p-mainVisual__wrap .pickup-swiper .p-postList{
    position: relative;
    left: 0;
    margin: 0;
	flex-wrap: nowrap;
}
.p-mainVisual__wrap .pickup-swiper .p-postList .p-postList__item{
    max-width: calc(var(--container_size) / 3);
	width: 100%;
	height: auto;
	padding-bottom: 0.5rem;
    margin: 0 auto;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s 0.25s;
}
.p-mainVisual__wrap .pickup-swiper .p-postList .p-postList__item.swiper-slide-active{
	opacity: 1;
	pointer-events: auto;
	transition: opacity 1s 0s;
}

/* ページネーション */
.p-blogParts:has(.pickup-swiper) .swiper-pagination{
    position: relative;
    top: 1rem;
    margin-bottom: 0;
}
.p-blogParts:has(.pickup-swiper) .swiper-pagination .swiper-pagination-bullet-active{
	background: #333;
}

/* prev/nextボタン */
.p-blogParts:has(.pickup-swiper) .swiper-button-prev,
.p-blogParts:has(.pickup-swiper) .swiper-button-next{
	width: auto;
	height: auto;
	background: none;
	padding: 0;
	margin: 0;
}

.p-blogParts:has(.pickup-swiper) .swiper-button-prev::after,
.p-blogParts:has(.pickup-swiper) .swiper-button-next::after{
	border: none;
	width: 1.75rem;
	height: 1.75rem;
	background-image: url("data:image/svg+xml,%3Csvg height='1em' width='1em' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
	transform: translate(0, 0);
}
.p-blogParts:has(.pickup-swiper) .swiper-button-prev::after{
	transform: rotate(180deg);	
}

@media (min-width: 1024px) and (max-width: 1320px){
	.p-mainVisual__wrap .pickup-swiper .p-postList .p-postList__item{
		max-width: calc((100vw - var(--swl-pad_container, 0px)) / 3);
	}
}

@media (min-width: 600px){
	.p-blogParts:has(.pickup-swiper) .swiper-button-prev{
		left: calc((100% - (var(--container_size) / 3)) / 3);
	}
	.p-blogParts:has(.pickup-swiper) .swiper-button-next{
		right: calc((100% - (var(--container_size) / 3)) / 3);
	}	
}

@media not all and (min-width: 600px){
	.p-mainVisual__wrap .pickup-swiper .p-postList .p-postList__item{
		max-width: 100%;
		padding: 0 calc(var(--swl-pad_container, 0) / 2 + 0.5em);
	}
	
	.p-blogParts:has(.pickup-swiper) .swiper-pagination{
		margin: 1rem 0;
	}
	
	.p-blogParts:has(.pickup-swiper) .swiper-button-prev{
		top: calc(100% - 3rem);
		left: var(--swl-pad_container,4vw);
	}
	.p-blogParts:has(.pickup-swiper) .swiper-button-next{
		top: calc(100% - 3rem);
		right: var(--swl-pad_container,4vw);
	}		
}


/*----- 新着支援メニュー -----*/
#support-new .p-postList.-pc-col3 .p-postList__item:nth-of-type(n+4){
	display: none;	
}
@media (min-width: 600px) and (max-width: 1019px){/*スマホサイズ～小さめPC(1024px)*/
	#support-new .p-postList.-pc-col3 .p-postList__item:nth-of-type(n+4){
		display: block;
	}	
}

/*----- お知らせ -----*/
@media (min-width: 960px){
	#top-news .news-title{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	#top-news .news-title .swell-block-button{
		margin-right: auto;
    	margin-left: 0;
	}		
	
	#top-news .news-content .p-postListWrap,
	#top-news .news-content .p-postList .p-postList__item:last-of-type{
		margin-bottom: 0 !important;
	}
}


/*----- EGFコンソーシアムについて -----*/
#about-egf > .swell-block-fullWide__inner{
	margin-bottom: 6rem !important;	
}

#about-egf h3.wp-block-heading{
	font-size: clamp(32px, 4vw, 48px);
	margin: 2em 0 1em;
}
#about-egf p.wp-block-paragraph{
	font-size: clamp(14px, 2.5vw, 16px);
	letter-spacing: 4%;
	line-height: 2.4;
}

@media (min-width: 960px){
	#about-egf{
		background-color: transparent !important;
	}
	#about-egf::before{
		background: linear-gradient(90deg,rgba(0, 120, 163, 0.6) 0%, rgba(0, 120, 163, 0) 75%);
	}
}
@media not all and (min-width: 960px){
	#about-egf .swell-block-button{
		text-align: right;
		margin-bottom: 1rem !important;
	}
}

/*-------------------------------------------------
 *  ABOUTページ
 * --------------------------------------------------*/
/*----- タイトル -----*/
.post_content .about-title{
	line-height: 1;
	font-size: clamp(22px, 5vw, 36px);
}
.about-title small{
	margin-bottom: 2.5rem;
}
.about-title span{
	font-size: 1rem !important;
}

@media not all and (min-width: 960px) {
	.post_content .about-title{
		line-height: 1.4;
	}
}

/*----- カラム調整 -----*/
.pt-column{
	--swl-clmn-pddng: 2.5rem 0 0 0;
	padding-top: 2.5rem;
}

/*----- スライダー -----*/
.about-slider{
    height: clamp(240px, 75vw, 620px);
    overflow-y: clip;
}
.about-slider::after{
	content: "";
	width: 250px;
	aspect-ratio: 1.416 / 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
	background-image: url(/wp-content/uploads/2026/08/egf-logo_white.png);
	background-size: contain;
	background-repeat: no-repeat;
}

.about-slider .wp-block-gallery{
    flex-wrap: nowrap;
    transition-timing-function: linear;
    --wp--style--gallery-gap-default: 0;
    gap: 0px;
}

_::-webkit-full-page-media, _:future, :root .about-slider .wp-block-gallery figure.wp-block-image{
	position: static;
}
.about-slider .wp-block-gallery figure.wp-block-image > img{
    width: auto;
    max-width: none !important;	
    height: 100%;
	object-fit: cover;
}

.about-slider .wp-block-gallery figure.wp-block-image::before{
    backdrop-filter: none !important;
    max-height: 100% !important;
    background: #3333334d;
}

.about-slider .wp-block-gallery figure.wp-block-image figcaption{
	position: absolute;
    top: auto;
	bottom: 0;
    transform: translateY(-100%);
	background: none;
	text-shadow: none;
    scrollbar-width: none;
	text-align: left;
	padding: 0 2rem;
}
_::-webkit-full-page-media, _:future, :root .about-slider .wp-block-gallery figure.wp-block-image figcaption{
	padding: 0 2rem 2rem;
	position: relative;
}


.wp-block-gallery figure.wp-block-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.wp-block-gallery .wp-element-caption {
    width: 100%;
    box-sizing: border-box;
}

@media not all and (min-width: 600px) {
	.about-slider::after{
		width: 35%;
	}	
}

/*----- コンセプト -----*/
#concept{
	background-position: 75% 50% !important;
    background-size: contain !important;
}
#concept .about-title{
    font-size: clamp(28px, 5vw, 64px);
}
#concept p.wp-block-paragraph{
	letter-spacing: 4%;
    line-height: 2.4;	
}

@media not all and (min-width: 600px) {
    #concept {
		background-size: 90% !important;
        background-position-y: 5% !important;
    }
}

/*----- ロゴ -----*/
#logo .swell-block-columns__inner{
	justify-content: space-between;
}

/*----- 目的・関係 -----*/
#purpose .wp-block-table th,
#purpose .wp-block-table td{
	padding: 2rem 0;
	--table-border: var(--dash_border);
}
#purpose .wp-block-table th{
	font-size: clamp(18px, 2.5vw, 24px);
}

#purpose .wp-block-image{
    max-width: 580px;	
	margin: auto;
}

#purpose + #relation{
	margin-top: -6em;
}
#relation .wp-block-image{
    max-width: 800px;
	margin: auto;
}

@media not all and (min-width: 960px) {
    #purpose .wp-block-table th {
		padding-bottom: 0;
		border-bottom: none;
    }
    #purpose .wp-block-table td {
		padding-top: 1rem;
		border-top: none;
    }
	
}

/*----- 会員リスト -----*/
#member .wp-block-table th,
#member .wp-block-table td{
	padding: 1.5rem 0.75rem;
	--table-border: var(--dash_border);
}

#member h3.wp-block-heading{
	font-size: clamp(18px, 2.5vw, 24px);
    padding-bottom: 1rem;
    border-bottom: var(--dash_border);	
}

/* リスト */
#member .member-list .p-postList__link{
	pointer-events: none !important;
}

#member .member-list .p-postList__thumb{
	box-shadow: none;
	border: 1px solid #D8DEE3;
}
#member .member-list .p-postList__thumb .c-postThumb__img{
    -o-object-fit: contain;
    object-fit: contain;
}

#member .member-list .p-postList__item:hover .p-postList__body{
	opacity: 1;
}

#member .member-list .p-postList__title{
	font-size: 14px;
	font-weight: normal;
	text-align: center;
}


@media not all and (min-width: 960px) {
	#member .wp-block-table th{
		--swl-cell1-width: 20%;
	}
}
@media not all and (min-width: 600px) {
	#member .member-list .p-postList__item{
		margin-bottom: 1.5em;
	}	
}

@media (min-width: 1020px) {
    #body_wrap .member-list .-pc-col3 .p-postList__item {
        width: 20%;
    }
}

/*----- 活動 -----*/
#activity .activity-column .swell-block-column{
	border-right: var(--dash_border);
	padding: 0.5rem 1.5rem;
}
#activity .activity-column .swell-block-column:last-of-type{
	border-right: none;
}
#activity .activity-column h3.wp-block-heading{
	font-size: clamp(16px, 2.5vw, 18px);
}

@media (max-width: 959px) and (min-width: 600px) {
	#activity .activity-column .swell-block-column:nth-of-type(1),
	#activity .activity-column .swell-block-column:nth-of-type(2){
		border-bottom: var(--dash_border);
		padding-bottom: 1rem;
	}
	#activity .activity-column .swell-block-column:nth-of-type(2){
		border-right: none;
	}
	
	#activity .activity-column .swell-block-column:nth-of-type(3),
	#activity .activity-column .swell-block-column:nth-of-type(4){
		padding-top: 1rem;
	}
}

@media not all and (min-width: 600px) {
	#activity .activity-column .swell-block-column{
		border-right: none;
		border-bottom: var(--dash_border);
		padding: 2rem 0.25rem;
	}
	#activity .activity-column .swell-block-column:first-of-type{
		border-top: var(--dash_border);
	}
}



/*-------------------------------------------------
 *  お問い合わせページ
 * --------------------------------------------------*/
/*----- メールフォーム -----*/
.wp-block-contact-form-7-contact-form-selector{
	max-width: 650px;
    margin: auto;	
}

.wpcf7 .form-item,
.wpcf7 .wpcf7-form > p{
	margin-bottom: 2rem;
}

.wpcf7 .form-item > p{
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
	gap: 0.5rem;
}

/* ラベル */
.wpcf7 .form-item label{
	font-weight: bold;
}
.wpcf7 .form-item .required{
	color: #F34237;
	font-size: 0.85rem;
	font-weight: bold;
}

/* 入力項目 */
.wpcf7 .form-item .wpcf7-form-control-wrap,
.wpcf7 .form-item .wpcf7-form-control-wrap input,
.wpcf7 .form-item .wpcf7-form-control-wrap textarea{
	width: 100%;
}
.wpcf7 .form-item .wpcf7-form-control-wrap input{
	min-height: 48px;
}
.wpcf7 .form-item .wpcf7-form-control-wrap textarea{
	height: 12rem;
	resize: vertical;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item{
	margin-left: 0;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item input[type=checkbox]{
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.25rem;
}

.wpcf7 .wpcf7-acceptance a,
.form-policy a{
	position: relative;
	padding-right: 1.25em;
	font-weight: bold;
	border-bottom: 1px solid;
}
.wpcf7 .wpcf7-acceptance a::after,
.form-policy a::after{
    content: "";
    width: 1.15rem;
    height: 1.15rem;
background-image: url("data:image/svg+xml,%3Csvg height='1em' width='1em' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-5%, -55%) rotate(-45deg);
}



/* 送信ボタン */
.wpcf7 p:has(.wpcf7-submit){
    width: 65%;
	margin: 4rem auto 0;
	text-align: center;
	position: relative;
}
.wpcf7 p:has(.wpcf7-submit)::after{
    content: "";
	width: 1.25rem;
	height: 1.25rem;
	background-image: url("data:image/svg+xml,%3Csvg height='1em' width='1em' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 0.5rem;
	transform: translate(-50%, -50%);
}


.wpcf7 .wpcf7-submit{
	width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 80px;	
    background: #00a0da;
    border-color: #00a0da;
    color: #fff;
    font-weight: bold;
	transition: background .25s, border-color .25s;
}
.wpcf7 .wpcf7-submit:hover{
    background: #4DBDE5;
    border-color: #4DBDE5;
}
/*.wpcf7 form.sent .wpcf7-response-output,*/
.wpcf7 .wpcf7-spinner{
	display: none !important;
}
.grecaptcha-badge {
    visibility: hidden;
}


/*----- 完了画面 -----*/
.mail-thanks .swell-block-fullWide__inner{
	max-width: 650px;
}

.mail-thanks .wp-block-image img{
	width: clamp(80px, 50vw, 120px);
}

.mail-thanks h2.wp-block-heading{
	font-size: clamp(24px, 4vw, 28px);
	margin-top: 2em;
}






