@charset "UTF-8";

/* ===== 2026/05 応急的な表示調整 =====
   既存CSSの影響範囲が広いため、削除せず下部で上書き。
   次期リニューアルまでの運用を想定。
==================================== */

body {
  width: 100%;
  position: relative;
  font-family: 'メイリオ', 'Meiryo', sans-serif;
  background-color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* グローバルナビゲーション用CSS */

/*　上に上がる動き　*/

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 20px;
  flex: 1;
  width: 100%;
}

.page-header {
  position: relative;
  max-width: 900px;
  margin-bottom: 60px;
  padding-left: 200px;
}

.header-text {
  position: relative;
  z-index: 2;
}

.header-text h1 {
  font-size: 38px;
  color: #0b3a70;
  margin-bottom: 30px;
}

.header-text p {
  max-width: 600px;
  font-size: 18px;
  line-height: 2;
  text-align: left;
  /* ←左寄せ */
}

.header-image {
  position: absolute;
  top: 20px;
  right: 0;
  width: 260px;
  z-index: 1;
  pointer-events: none;
}

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

@media screen and (max-width:768px) {
  .page-header {
    padding: 40px 20px;
  }

  .header-image {
    width: 180px;
    top: 10px;
    right: 10px;
  }

  .header-text h1 {
    font-size: 26px;
  }
}

/*========= レイアウトのためのCSS ===============*/

h1 {
  color: #A46305;
  margin-left: 10px;
  font-size: 2rem;
  margin-top: 2em;
  margin-bottom: 0;
}

h2 {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 0 30px 0;
}

p {
  margin-top: 20px;
}

small {
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  padding: 20px;
}

section:nth-child(2n) {
  background: #f3f3f3;
}

/*2階層目以降は横並びにしない*/

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/

/*ナビゲーションのリンク設定*/

/* ラベルの幅調整 */

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/

/*3階層目を持つliの矢印の設定*/

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/

/*hoverしたら表示*/

/*ナビゲーションaタグの形状*/

/*==3階層目*/

/*3階層目の位置*/

/*==900px以下の形状*/

/*アクティブになったエリア*/

/*丸の拡大*/

.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff6c6;
  /*丸のスタート位置と形状*/
  transform: scale(0);
  /*scaleをはじめは0に*/
  right: -50px;
  top: -50px;
  transition: all .6s;
  /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
  transform: scale(50);
  /*クラスが付与されたらscaleを拡大*/
  overflow: hidden;
}

/*ナビゲーション*/

/*背景が出現後にナビゲーションを表示*/

/*リストのレイアウト設定*/

/*========= ボタンのためのCSS ===============*/

/*×に変化*/

/*========= レイアウトのためのCSS ===============*/

h1 {
  font-size: 1.2rem;
}

h2 {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 0 30px 0;
}

p {
  margin-top: 20px;
}

small {
  color: #fff;
  display: block;
  text-align: center;
}

section:nth-child(2n) {
  background: #f3f3f3;
}

/* ここでスマホ用終了 */

/* Area1に関係するCSS */

/* Area2に関係するCSS */

.titleImage {
  width: 440px;
}

.depertmentRutine {
  width: 30%;
  display: flex;
  justify-content: center;
  height: fit-content;
  margin-left: 2%;
  margin-right: 2%;
  max-width: 400px;
  margin-top: 30px;
}

/* Area3に関係するCSS */

.childnewArticl {
  width: 18%;
  margin-left: 2%;
  margin-right: 2%;
  min-width: 150px;
  position: relative;
}

.childnewArticl img {
  width: 100%;
  height: 40%;
  object-fit: contain;
}

/*==================================================
スライダーのためのcss
===================================*/

.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
  background-color: #fff;
}

.slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

/*矢印の設定*/

/*戻る、次へ矢印の位置*/

/*ドットナビゲーションの設定*/

/*========= レイアウトのためのCSS ===============*/

h2,
p {
  text-align: center;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #333;
}

a:hover,
a:active {
  text-decoration: none;
}

/* Area4のレイアウト */

#area-4 {
  background-color: white;
}

.area-4div {
  width: 80%;
  margin: auto;
  border: 2px solid #000000;
}

/*tabの形状*/

.tab {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

.tab li a {
  display: block;
  background: #ddd;
  margin: 0 2px;
  padding: 10px 20px;
}

.tab li {
  width: 25%;
}

/*liにactiveクラスがついた時の形状*/

.tab li.active a {
  background: #fff;
}

/*エリアの表示非表示と形状*/

.area {
  display: none;
  /*はじめは非表示*/
  opacity: 0;
  /*透過0*/
  background-color: #fff;
  padding: 50px 20px;
}

/*areaにis-activeというクラスがついた時の形状*/

.area.is-active {
  display: block;
  /*表示*/
  animation-name: displayAnime;
  /*ふわっと表示させるためのアニメーション*/
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes displayAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Area5のcss */

.recommendBox {
  width: 27%;
  margin: auto;
  margin-top: 0;
}

#area-5 {
  display: flex;
  width: 80%;
  flex-wrap: wrap;
  margin: auto;
  max-width: 800px;
  background-color: white;
}

/* Area4に関係するCSS */

a {
  text-decoration: none;
  color: #333;
}

.news-items {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.news-item {
  display: flex;
  padding: 20px 0 12px;
}

.news-item:not(:first-child) {
  border-top: 1px solid #ddd;
}

.news-head {
  display: flex;
  width: 200px;
}

.news-date {
  width: 110px;
  padding-top: 3px;
}

.news-label a {
  display: block;
  width: 90px;
  height: 32px;
  line-height: 32px;
  color: #fff;
  background: #800020;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
}

.news-title {
  width: calc(100% - 200px);
  padding-left: 30px;
  padding-top: 3px;
  line-height: 1.5;
  text-align: left;
}

@media screen and (max-width: 480px) {
  .news-item {
    display: block;
  }

  .news-title {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    margin-top: 10px;
  }
}

#articl {
  max-width: 1000px;
  width: 95%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

#date {
  padding-top: 10px;
  width: 100%;
}

#date p {
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}

#title {
  border-bottom: 3px solid #333;
  margin-bottom: 10px;
  margin: auto;
}

#title p {
  font-size: 30px;
  font-weight: bold;
  text-align: left;
}

#abstract {
  margin-top: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: bisque;
  font-size: 16px;
  margin-bottom: 20px;
  width: 100%;
  flex-basis: 100%;
}

.yotubemovie {
  margin: auto;
}

#subtitle {
  padding-left: 10px;
  margin-top: 30px;
  border-left: 3px solid bisque;
  margin-bottom: 2px;
  width: 100%;
  display: table;
  height: 50px;
}

#subtitle p {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  vertical-align: middle;
  display: table-cell;
}

#meintext {
  width: 100%;
}

#meintext p {
  text-align: left;
}

#profile {
  width: 100%;
  margin-top: 100px;
  max-width: 500px;
  margin: auto;
  border: solid 4px #A46305;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

#profileImg {
  width: 100%;
}

@media screen and (min-width: 440px) {
  #rightImg {
    margin-left: 5px;
  }

  #leftImg {
    margin-right: 5px;
  }
}

#profileText {
  width: 100%;
}

#profileText p {
  line-height: 200%;
}

.articleImg {
  width: 60%;
  margin-top: 50px;
  max-width: 300px;
  display: block;
  margin: auto;
  padding-top: 5px;
}

#filelist {
  padding-top: 100px;
  width: 100%;
}

#filelist p {
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}

#area-6 {
  background-color: white;
}

.Form {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  border: 1px solid C5E8EA;
  border-radius: 30px;
  padding: 20px;
}

@media screen and (max-width: 480px) {
  .Form {
    margin-top: 20px;
  }
}

.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}

.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}

.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}

.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}

.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #FBC7DE;
  color: #fff;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}

.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #C5E8EA;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}

.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #C5E8EA;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}

.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #FBB466;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}

/* Style the tab */

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #fff6c6;
  width: 100%;
  display: -webkit-flex;
  /* Safari */
  display: flex;
  -webkit-justify-content: space-between;
  /* Safari */
  justify-content: space-between;
}

/* Style the buttons that are used to open the tab content */

.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px;
  flex: 1;
  /* これが重要！ */
  transition: 0.3s;
  min-width: 140px;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

/* Change background color of buttons on hover */

.tab button:hover {
  background-color: #f7bd6c;
}

/* Create an active/current tablink class */

.tab button.active {
  background-color: #f7bd6c;
}

/* Style the tab content */

.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

dl {
  width: 100%;
}

dt {
  float: left;
  padding: 10px 5px;
}

dd {
  margin-left: 100px;
  padding: 10px 5px;
}

dt a {
  background-color: red;
  border-radius: 5px;
  color: #fff;
  margin: 0 20px;
  padding: 5px 15px;
  text-decoration: none;
  height: 35px;
}

.genreimg {
  width: 30%;
  margin-top: 70px;
}

@media screen and (max-width:440px) {
  dt {
    float: none;
    padding: 10px 5px;
  }

  dd {
    margin-left: 0px;
    padding: 10px 5px;
  }

  .genreimg {
    width: 50%;
    margin-top: 70px;
  }
}

#newsBox {
  max-width: 1000px;
  width: 100%;
  margin: auto;
}

.miniStitle {
  /*線の種類（二重線）太さ 色*/
  border-bottom: double 5px #feffba;
  color: #000;
}

.categoryTag {
  display: inline-block;
  margin-top: 3px;
  margin-left: 3px;
  padding: .4em;
  line-height: 1;
  text-decoration: none;
  color: #0000ee;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #0000ee;
  border-radius: 2em;
  text-align: right;
  width: fit-content;
  margin-left: auto;
}

#nextback-Box {
  width: 100%;
  display: flex;
  margin-top: 20px;
  margin-bottom: 20px;
}

#next-back-R {
  text-align: center;
  width: 45%;
  /* 幅指定 */
  max-width: 500px;
  height: 3em;
  /* 高さ指定 */
  outline: solid 2px #000;
  /* 枠線指定 */
  border-right: solid 2em #fff6c6;
  background-color: #fff;
  /* 背景色指定 */
  border-radius: 10px;
  /* 角丸指定 */
  margin: auto;
  box-shadow: 5px 2px 2px rgb(185, 185, 185);
  position: relative;
}

#next-back-R p {
  display: block;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: -1.7em;
  color: #A46305;
  font-weight: bold;
}

#next_back-R a {
  overflow: hidden;
}

#next-back-L {
  text-align: center;
  width: 45%;
  /* 幅指定 */
  max-width: 500px;
  height: 3em;
  /* 高さ指定 */
  outline: solid 2px #000;
  /* 枠線指定 */
  border-left: solid 2em #fff6c6;
  background-color: #fff;
  /* 背景色指定 */
  border-radius: 10px;
  /* 角丸指定 */
  margin: auto;
  box-shadow: 5px 2px 2px rgb(185, 185, 185);
  position: relative;
}

#next-back-L p {
  display: block;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  left: -1.7em;
  color: #A46305;
  font-weight: bold;
}

#next_back-La {
  overflow: hidden;
}

/* 新着情報：タブなし・カテゴリラベル方式 */

#newsBox {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.newsList {
  margin: 0;
  padding: 0;
}

.newsItem {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #ddd;
}

.newsDate {
  width: 105px;
  flex-shrink: 0;
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.newsText {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  line-height: 1.6;
}

.newsText a {
  color: #333;
  text-decoration: none;
}

.newsText a:hover {
  text-decoration: underline;
}

.newsLabel {
  min-width: 90px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85em;
  text-align: center;
  display: inline-block;
  font-weight: 500;
}

.newsLabel.student {
  background: #d96b6b;
}

/* 学生生活 */

.newsLabel.research {
  background: #4f8cc9;
}

/* 研究 */

.newsLabel.senior {
  background: #7a9b57;
}

/* 先輩 */

.newsLabel.column {
  background: #b06ab3;
}

/* 医学生コラム */

.newsLabel.international {
  background: #e09b3d;
}

/* 国際交流 */

.newsLabel.pr {
  background: #777;
}

/* PR */

.newsLabel.news {
  background: #1abc9c;
}

/* お知らせ */

.moreNews {
  margin-top: 0;
}

.moreNews summary {
  cursor: pointer;
  width: fit-content;
  margin: 18px auto 0;
  padding: 8px 28px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 0.95rem;
  list-style: none;
}

.moreNews summary::-webkit-details-marker {
  display: none;
}

.moreNews summary::after {
  content: " ＋";
}

.moreNews[open] summary::after {
  content: " －";
}

.newsListMore {
  margin-top: 14px;
}

/* スマホ対応 */

@media screen and (max-width: 600px) {
  .newsItem {
    display: block;
    padding: 12px 0;
  }

  .newsDate {
    display: block;
    width: auto;
    margin-bottom: 5px;
  }

  .newsText {
    display: block;
  }

  .newsLabel {
    margin-right: 8px;
    margin-bottom: 4px;
  }
}

.newsTitle {
  font-size: 2rem;
  font-weight: 500;
  color: #7b7b68;
  text-align: center;
  margin-bottom: 35px;
  letter-spacing: 0.08em;
  position: relative;
}

/* 下線アクセント */

.newsTitle::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d8c98f;
  margin: 12px auto 0;
  border-radius: 999px;
}

.instagramArea {
  width: 70%;
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .instagramArea {
    width: 92%;
  }
}

.instaTitle {
  font-size: 2rem;
  font-weight: 500;
  color: #7b7b68;
  text-align: center;
  margin: 70px 0 35px;
  letter-spacing: 0.08em;
  position: relative;
}

.instaTitle::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d8c98f;
  margin: 12px auto 0;
  border-radius: 999px;
}

/* 区切り線 */

@media screen and (max-width:440px) {
  .newsTitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
}

/* ===== 国際交流ページ カード化 ===== */

#genrebox {
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}