@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.hihyouji {
	display: none;
}

/* common======================= */

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
  min-width: 950px;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 70%;
		min-width: 1000px;
}
}

@media screen and (max-width: 786px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
}

/* マージン======================= */

.m-left {
	margin-right: auto;
	margin-left: 0;
}

.m-right {
	margin-right: 0;
	margin-left: auto;
}

.m-center {
	margin: 0 auto;
}

/* テーブル========================= */

.c_table td{
	height: 70px;
}

/* 見出し========================== */



/* ボタン========================= */

a.c_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.5rem;
	max-width: 300px;
	padding: 0 4rem;
	background: #484848;
	background-size: 400%;
	color: #fff;
	letter-spacing: 0.2rem;
}
a.c_btn:hover::before {
  transform: scaleX(1);
}
a.c_btn:hover {
	color: #fff;
}
a.c_btn span {
  position: relative;
  z-index: 1;
}
a.c_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(
    82.3deg,
    rgba(32,86,174,1) 10.8%,
    rgba(32,86,174,1) 94.3%
  );
  transition: all 0.475s;
}


/* ヘッダー=========================== */

@media screen and (min-width: 960px) {
	.l-header{
		border-top: solid 7px var(--color_main);
	}
}

.c-gnav>.menu-item>a .ttl {
font-size: 15px;
letter-spacing: .1rem;   /*文字の間隔*/
  font-weight: bold;
}

/* メガメニュー */
.my-parent-menu-pc {
  position : unset !important;
}
.my-parent-menu-pc .sub-menu {
  width: calc(100vw - 16px);
  border : 10px solid #22498e;
	background-color: #22498e;
	color: #fff;
	padding: 5%;
}
.my-parent-menu-pc .sub-menu a {
  padding: 0em;
}
.my-parent-menu-pc .sub-menu a:before {
  display : none;
}
.my-parent-menu-pc .sub-menu a:hover {
  background-color : unset;
}
.my-parent-menu-pc .sub-menu .ttl {
  left: 0 !important;
}

.megaMenu-list {
	padding-top: 45px;
	list-style: none;
}

.megaMenu-list li{
	padding: 5px 0 15px 5px;
}

.megaMenu-list a {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
}

.megaMenu-list a:hover {
  transform: translateX(8px); /* 少し大きめに動く */
}
	
	
/* お知らせ========================== */

.news-wrapper {
	background-color: #f2f2f2;
	padding: 2rem;
}

.newsList {
  list-style: none;
  border-top: 1px dotted #999;
  align-items: flex-start; 
}

ul.newsList {
  padding: 1.2rem 0;
	margin: 0 auto;
}

ul.newsList li {
  margin: 0 10px;
}

.news_date {
	color: #2152a2;
	font-size: 0.9rem;
  font-weight: bold;
	padding-bottom: 5px;
}

.news_text {
  
}
	
.post_content hr {
	margin: 0 0 20px 0;
}

@media screen and (max-width: 768px) {
	.news-wrapper {
	padding: 2rem 1rem;
}
  .newsList {
		font-size: 1rem;
    flex-direction: column;
  }
	ul.newsList li {
  margin: 0 5px;
}
	.news_text p{
    margin-top: 0.8em;
  }
	.news_date {
	padding-bottom: 2px;
}
}


/* 詳細ページ */

.c-postTitle__ttl{
	display: none;
}

.text_h2{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.news_date{
		margin-bottom: 20px;
}
.news-box{
	max-width: 1200px;
	margin-bottom: 50px;
}

.news_img_top{
	text-align: center;
}


.text_main p{
	margin-bottom: 1.5em;
}

.text_main{
	margin-top: 40px;
	margin-bottom: 30px;
}
@media screen and (max-width: 480px){
  .text_box{
    font-size: 17px;
  }
}

.flex_news_img{
width:100%;
  height:auto;
  display:flex;
  flex-direction:row; /* 記載しなくてもデフォルトで指定されている */
  flex-wrap:wrap; /* 折り返し */
  justify-content:space-between;
	 gap: 10px 4px; /* 余白 */
	margin-top: 60px;
}
.flex_news_img::after{
  content:"";
  display: block;
  width:32%;
}

.news_img{
	width: 32.5%;
}
@media screen and (max-width: 480px){
	.flex_news_img{
    flex-direction: column;
  }
  .news_img{
    width: 100%;
  }
}
	
/* アーカイブページ */
	
.news-archive {
	position: relative;
	left: -10px;
}

.news-list {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  align-items: flex-start;
  margin: 0 auto;
}

.news-list li {
  display: flex; 
  width: 100%;
  gap: 1rem;
	border-bottom: 1px dotted #999;
	padding: 20px 10px;
}

.news-list li a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.news-list li a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-list li a:hover {
  transform: translateX(8px); 
}

.news-list li:first-of-type {
  border-top: 1px dotted #999;
  padding-top: 30px; 
}

.news-date {
  min-width: 100px;
	color: #52679d;
}

@media screen and (max-width: 768px) {
	.news-fullWide::before {
    top: -100px;
    right: -5%
}
  .news-list {
    flex-direction: column;
  }

  .news-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .news-list {
    flex-direction: column;
  }

  .news-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}
	
/* ページネーション */

.pagination {
  text-align: center;
  margin: 2rem 0;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 0.25rem;
  font-size: 0.9rem;
  color: #164da0;
  border: 1px solid #ccc;
  background: white;
  border-radius: 4px;
  transition: background .2s, color .2s;
}

.pagination .page-numbers:hover,
.pagination .current {
  color: #fff;
  background: #164da0;
  border-color: #164da0;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  min-width: 3.5rem;
}
	
	
/* ページ共通========================= */

@media (min-width: 600px) {
	.archive.post-type-archive-news .l-content,
	.archive.post-type-archive-etc-news .l-content{
		 padding-top: 0;
	}
}

.page-content-head {
  border-radius: 0 80px 0 0;
	height: 300px;
}

.content-head {
  width: 100vw; 
  height: 300px;
  margin-bottom: 80px;
  overflow: hidden;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.content-head2 {
  width: 100vw; 
  height: 400px;
  margin-bottom: 80px;
  overflow: hidden;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.news-bg {
  background-image: url('https://www.jfes.or.jp/wp-content/uploads/2025/09/news-header.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.page-title-wrapper {
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1400px;
  padding: 0 5%;
  margin: 0 auto;
  color: #fff;
  text-align: left;
  box-sizing: border-box;
}

.page-title {
	font-size: 2rem;
}

@media screen and (max-width:786px){
	.page-content-head,
	.content-head{
  border-radius: 0 50px 0 0;
	height: 200px;
}
	.sec-container {
	padding: 0 30px
}
	.content-head {
  height: 200px;
}
	.content-head2 {
  height: 200px;
}
}

@media screen and (max-width:480px){
	.sec-container {
	padding: 0 10px;
}
}


/* メインビジュアル===================== */

.main-copy {
	position: relative;
	top: 180px;
	left: 3%;
	font-size: clamp(1.4rem, 3.5vw, 3.5rem);
	font-weight: bold;
	
}


/* トップページ======================== */

.top_contents_item {
	position: relative;
	overflow: hidden;
	box-shadow: 10px 5px 15px #2323;
}

.top_contents_item_text {
	position: absolute;
	bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
	width: 75%;
	color: #fff;
	background:rgba(32,86,174,0.7);
	padding: 20px;
	pointer-events: none;
}
.top_contents_item_text h4 {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.top_contents_item_text p {
	font-size: 1rem;
	letter-spacing: 0.2rem;
	padding-top: 10px;
	letter-spacing: nowrap;
}

.top_contents_item img {
  height: auto;
  transition: transform .6s ease;
}

.top_contents_item :hover img {
	transform: scale(1.1);
}

.swell-block-box-menu__inner {
	justify-content: center;
}


/* 日本工学会について================= */

/* フェロー */
.fellow-table a,
.pdf-link-list a{
	color: #1176d4;
	display: inline-block;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
}

.pdf-link-list li{
	padding: 10px 15px;
}

.fellow-table a:hover,
.pdf-link-list a:hover{
  transform: translateX(8px); /* 少し大きめに動く */
}


/*-------------------------------------------*/
/* お問い合わせフォーム      */
/*-------------------------------------------*/

/* ベース */
.section--contact .section__content,
.form--contact { width: 100%; }

.form__title { margin: 0 0 .8rem; font-weight: 700; font-size: 1.25rem; }
.form__note  { margin: 0 0 1rem; color: var(--c-muted); font-size: .95rem; }

/* グリッド：基本1列 / 860px〜で2列 */
.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2.4vw, 18px);
	background-color: #f0f0f0;
	padding: 1.5rem;
	border-radius: 10px;
}
@media (min-width: 860px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
}
.form__group { margin-bottom: 20px; }
.form__group--full { grid-column: 1 / -1; }

/* ラベル／コントロール */
.form__label { display:block; font-weight:600; margin: 0 0 .8rem; }
.form__control,
.form__group select {
  width: 100%;
  padding: .5em 1em;
  border: 1px solid var(--c-border, #ddd);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--c-text, #333);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__control:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--c-brand, #78bee6);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand, #78bee6) 25%, transparent);
}
.form__control:focus-visible,
.form__group select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-brand, #78bee6) 60%, transparent);
  outline-offset: 2px;
}

/* 必須バッジ */
.form__label.is-required::after {
  content: "必須";
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background-color: #e53935;
  border-radius: 4px;
  line-height: 1;
  vertical-align: middle;
}

/* CF7改行除去（整形のため） */
.wpcf7 br { display: none !important; }

/*-------------------------------------------*/
/* 横並び指定：お名前・ふりがな・メール      */
/*-------------------------------------------*/

/* お名前・ふりがな（姓/名・せい/めい） */
.from_name {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* PCは横並び維持 */
}
.from_name .item-box {
  flex: 1 1 0;
}
.from_name label { margin: 0 0 .25rem; display:block; }

/* メール（メール＋確認用） */
.form__group--email-double {
  display: flex;
  gap: 20px;
}
.form__group--email-double .form__group {
  flex: 1 1 0;
  margin-bottom: 0; /* 余白重複を防止 */
}

/* 短い幅 */
/* スマホ（〜768px）は縦に戻す */
@media (max-width: 768px) {
  .from_name { flex-direction: column; gap: 10px; }
  .form__group--email-double { flex-direction: column; gap: 10px; }
}

/* PC(860px〜)では左カラム(1列目)に固定して半幅のまま表示 */
@media (min-width: 860px) {
  .form__group--col1 {
    grid-column: 1 / 2 !important; /* 左カラム固定＝半幅 */
  }
}
/* スマホ側は元々1カラムなので指定不要（念のため書くなら下で全幅に） */
@media (max-width: 859px) {
  .form__group--col1 {
    grid-column: 1 / -1; /* なくてもOK */
  }
}

/*-------------------------------------------*/
/* 電話番号＋FAX番号 横並び                 */
/*-------------------------------------------*/
.form__group--tel-fax {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.form__group--tel-fax .item-box {
  flex: 1 1 0;
}

.form__group--tel-fax .form__label {
  margin-bottom: .5rem;
  display: block;
}

/* スマホでは縦並び */
@media (max-width: 768px) {
  .form__group--tel-fax {
    flex-direction: column;
    gap: 10px;
  }
}


/*ラジオボタン） */
.form__radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.form__radio-list label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  font-size: .95rem;
}

.form__radio-list input[type="radio"] {
  width: 1rem;
  height: 1rem;
}


/*-------------------------------------------*/
/* 送信ボタン                                */
/*-------------------------------------------*/
.form__actions { margin-top: .5rem; text-align: center; }
.wpcf7-submit.btn {
  width: 200px;
  background-color: #232323;
  color: #fff;
  padding: 0.8em 2em;
  border: none;
  margin-top: 20px;
  transition: opacity .3s ease, transform .2s ease;
  cursor: pointer;
}
.wpcf7-submit.btn:hover { opacity: .88; }
.wpcf7-submit.btn:active { transform: translateY(1px); }


/*-------------------------------------------*/
/* CF7 メッセージ/エラー                     */
/*-------------------------------------------*/
.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .95rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #22c55e;
  background: #ecfdf5;
  color: #14532d;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid #ef4444;
  background: #fef2f2;
  color: #7f1d1d;
}

.wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .9rem;
  color: #b91c1c;
}
.email-error,
.zip-error-tip {
  display: block;
  color: #b91c1c;
  font-size: .9rem;
  margin-top: .35rem;
}

/* お問い合わせボックス================== */

.contact-box {
	position: relative;
	top: 100px;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	border-radius: 30px;
	width: 100%;
	max-width: 1200px;
	z-index: 1;
}

@media screen and (max-width:786px){
	.contact-box {
	top: 70px;
}
}


/* フッター========================== */

#content{
	margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}

.w-footer__box {
	max-width: 1400px;
	margin: 0 auto;
}

/*ぱんクズリスト非表示*/
#breadcrumb {
 display: none;
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 1; 
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}