@charset "UTF-8";
/* CSS Document */

/*フォントの設定 */
.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* keyframes.css の読み込み */
@import url("keyframe.css");

/* 全端末共通設定 */
body {
	margin: 0px;
	padding: 0px;
	color: #333132;
	font-size: 21px;
	line-height: 2;
	background: #e7eff6;
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	font-weight: normal;
}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/* リンク設定 */
a {
	color: #000000;
	transition: 0.2s;
}
a:hover {
	color: #70b0eb;
	text-decoration: none;
}

/* inner */
.inner {
	max-width: 1400px;
	margin: 0 auto;
	padding-left: 2%;
	padding-right: 2%;
}

/* ヘッダー */
.site-header {
  background-color: #ffffff; /* 白背景 */
  padding: 20px 0;
  text-align: center;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-logo {
  height: 200px; /* ロゴの大きさは必要に応じて調整 */
  width: auto;
}

/* メインメニュー（PC） */
#menubar {
	position: relative;z-index: 10;
	text-align: center;
	background: #fff;
	border-top: 3px solid #ccc;
	border-bottom: 3px solid #ccc;
	height: 105px;
}
#menubar ul li {
	float: left;
	width: 14%;
	font-size: 20px;
}
#menubar ul li a {
	text-decoration: none;display: block;
	height: 85px;
	padding-top: 20px;
}

/* スマホ用メニュー非表示 */
#menubar-s {display: none;}
#menubar_hdr {display: none;}

/* fixmenu */
body.is-fixed-menu #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;
	height: 60px;
}
body.is-fixed-menu #contents {
	margin-top: 105px;
}
body.is-fixed #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;
}
body.is-fixed #contents {
	margin-top: 105px;
}
body.is-fixed-menu #menubar ul li a {
	height: 50px;
	padding-top: 10px;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	padding: 100px 0 50px;	/*上、左右、下へのコンテンツ内の余白*/
	position: relative;
	animation-name: opa2;	/*keyframes.cssで使う@keyframesの指定*/
	animation-duration: 0.5S;	/*アニメーションの実行時間*/
	animation-delay: 0.5s;		/*出現するタイミング（秒後）*/
	animation-fill-mode: both;
}
/*h2タグ*/
#contents h2 {
	clear: both;
	margin-bottom: 50px;
	font-size: 350%;	/*文字サイズ*/
	text-align: center;	/*文字をセンタリング*/
	letter-spacing: 0.2em;	/*文字間隔を少し広めにとる指定。通常がいいならこの１行削除。*/
}

/*h3タグ*/
#contents h3 {
	clear: both;
	margin-top: -50px;
	margin-bottom: 30px;
	font-size: 200%;	/*文字サイズ*/
	text-align: center;		/*左側に空ける余白*/
	letter-spacing: 0.1em;	/*文字間隔を少し広めにとる指定。通常がいいならこの１行削除。*/
}

/*段落タグ*/
#contents p {
	padding: 0 3% 30px;	/*上、左右、下への余白*/
}
#contents h2 + p {
	margin-top: -5px;
}
#contents p + p {
	margin-top: -10px;
}
#contents section + section {
	margin-top: 100px;
}

/*research*/
.content {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

.image-section {
  flex: 1;
  max-width: 33.33%;
  padding-right: 20px;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
}

.text-section {
  flex: 2;
  max-width: 66.66%;
}

.p-as-h2 {
  font-size: 24px;
  margin: 0 0 0.5em 0;      /* 必要に応じて余白も調整 */
}

.p-as-h2 + p {
  margin-top: 0;         /* pタグの上の余白をなくす */
}

/*member*/
.centered-left {
  width: fit-content;  /* 内容サイズに合わせて縮む */
  margin: 0 auto;      /* 親要素の中で中央に配置 */
  text-align: left;    /* テキストは左揃え */
}

/*gallery*/

/*区切り線*/
@keyframes waveMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.wavy-line {
  text-align: center;
  font-size: 24px;
  color: #70b0eb;
  margin: 40px auto 80px;
  line-height: 1;
  dwidth: fit-contet;
  animation: waveMove 1.5s infinite ease-in-out;
}


/*フッター設定
---------------------------------------------------------------------------*/
.footer {
  background-color: #FFFFFF;
  color: #000000;
  padding: 30px;
}

.footer-access {
  display: flex;
  width: 100%;
  align-items: flex-start;
  height: 200px; /* 👈 全体の高さを基準に */
}

.access-img {
  width: 240px;
  height: 200px;
  object-fit: cover;
}

.contact-info {
  width: 70%;        /* 残り2/3 */
  font-size: 16px;
  line-height: 1.6;
  padding-left: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直中央揃え */
}

/* 800px以下の設定 */
@media screen and (max-width:820px){
	
#menubar-s {
	overflow: auto;height: 100%;
	position: fixed;z-index: 100;
	top: 0px;
	width: 100%;
	background: rgba(0,0,0,0.8);
	border-top: 1px solid #fff;
	animation-name: frame1;
	animation-duration: 0.5s;
	animation-fill-mode: both;
	font-size: 16px;
}
#menubar-s li span {
	margin-left: 20px;
	font-size: 80%;
}
#menubar-s ul li a {
	display: block;
	text-decoration: none;
	padding: 30px 20px 30px 60px;
	border-bottom: 2px solid #fff;
	color: #fff;
}
	
#menubar {display: none;}

/* ハンバーガーメニュー*/
#menubar_hdr {
	display: block;
	position: fixed;
	z-index: 100;
	top: 15px;
	right: 2%;
	width: 65px;
	height: 65px;
	border: 2px solid #000000;
	border-radius: 8px;
}
#menubar_hdr.close {
	background: #FFFFFF url(../images/openclose.png) no-repeat center top/65px;
}
#menubar_hdr.open {
	background: #FFFFFF url(../images/openclose.png) no-repeat center bottom/65px;
}

body.is-fixed-menu #contents {
	margin-top: 0px;
}
body.is-fixed #contents {
	margin-top: 0px;
}

/*ヘッダーメニューが固定されなくなるので、再設定*/
.link {
	display: block;
	margin-top: -120px;
	padding-top: 120px;
}

	
/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	padding: 50px 0;	/*上下、左右へのコンテンツ内の余白*/
}
/*h2タグ*/
#contents h2 {
	margin-bottom: 50px;
	font-size: 26px;
}

/*h3タグ*/
#contents h3 {
	margin-bottom: 10px;
	font-size: 24px;
	margin-top: -30px;
}
	
#contents section + section {
	margin-top: 30px;
}

/*sectionタグ*/
section {
  margin-bottom: 50px; /* 好きな間隔に調整可 */
}

/*research*/
  .content {
    flex-direction: column; /* ← 縦並びに変更 */
  }

  .image-section,
  .text-section {
    max-width: 100%; /* ← 横幅100%に */
    padding-right: 0; /* ← 余白をなくす */
  }

  .image-section {
    margin-bottom: 50px; /* 画像下に余白を入れたい場合 */
  }

 .image-section img {
    max-width: 300px;
    margin: 0 auto; /* 中央寄せ（任意） */
    display: block;
  }
 .p-as-h2 {
    font-size: 18px; /* 小さめに調整 */
	margin-bottom: 0.5em; /* 間隔を狭める */
  }

.p-as-h2 + p {
    margin-top: 0;
    padding-top: 0;
  }

/*gallery*/
	
/*フッター*/
  .footer-access {
    flex-direction: row; /* 横並び維持 */
    height: auto;         /* 高さ制限を解除 */
    flex-wrap: nowrap;
  }

  .access-img {
    width: 33.33%;
    height: auto;         /* 画像の自然な高さ */
    max-height: 120px;
  }

  .contact-info {
    width: 66.66%;
    font-size: 14px;
  }


/*その他
---------------------------------------------------------------------------*/
body.s-n .sub,body.s-n #footermenu {display: none;}
.big1 {font-size: 20px;}

}

/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 3vw;
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*h2タグ*/
#contents h2 {
	margin-bottom: 30px;
}
/*h3タグ*/
#contents h3 {
	margin-bottom: 20px;
}
#contents section + section {
	margin-top: 30px;
}
