html
{ height: 100%;}

*
{ margin: 0;
  padding: 0;}

body
{ font: normal .80em 'trebuchet ms', arial, sans-serif;
  background: #FFF;
  color: #555;}

p
{ padding: 0 0 20px 0;
  line-height: 1.7em;}

img
{ border: 0;}

h1, h2, h3, h4, h6
{ color: #362C20;
  letter-spacing: 0em;
  padding: 0 0 5px 0;}

h1, h2, h3
{ font: normal 170% 'century gothic', arial;
  margin: 0 0 15px 0;
  padding: 15px 0 5px 0;
  color: #000;}

h2
{ font-size: 160%;
  padding: 9px 0 5px 0;
  color: #009FBC;}

h3
{ font-size: 140%;
  padding: 15px 0 0 0}

h4
{ color: #009FBC;
  padding: 0 0 5px 0;
  font: normal 110% arial;
  text-transform: uppercase;}

h5
{ padding: 0 0 20px 0;
  line-height: 1.7em;}

a, a:hover
{ outline: none;
  text-decoration: underline;
  color: #00C6F0;}

a:hover
{ text-decoration: none;}

blockquote
{ margin: 20px 0; 
  padding: 10px 20px 0 20px;
  border: 1px solid #E5E5DB;
  background: #FFF;}

ul
{ margin: 2px 0 22px 17px;}

ul li
{ list-style-type: circle;
  margin: 0 0 6px 0; 
  padding: 0 0 4px 5px;
  line-height: 1.5em;}

ol
{ margin: 8px 0 22px 20px;}

ol li
{ margin: 0 0 11px 0;}

.left
{ float: left;
  width: auto;
  margin-right: 10px;}

.right
{ float: right; 
  width: auto;
  margin-left: 10px;}

.center
{ display: block;
  text-align: center;
  margin: 20px auto;}

#main {
    max-width: 1400px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

h5
{ padding: 0 0 20px 0;
  line-height: 1.7em;}

#header
{ background: #CCC;
  border-bottom: 1px solid #CCC;
  height: 186px;}
  
#banner
{  background: transparent url(https://sun.ynu.ac.jp/banner.jpg) no-repeat;
  max-width: 1380px;
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  border: 10px solid #DDD;}

#logo
{ 
  max-width: 1380px;
  width: 100%;
  position: relative;
  height: 140px;
  background: #F5F5F5;}

#logo #logo_text 
{ 
  position: absolute; 
  top: 10px;
  left: 0;}

#logo h1, #logo h2
{ font: normal 300% 'century gothic', arial, sans-serif;
  border-bottom: 0;
  text-transform: none;
  margin: 0 0 0 9px;}

#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover 
{ padding: 22px 0 0 0;
  color: #323232;
  letter-spacing: 0.1em;
  text-decoration: none;}

#logo_text h1 a .logo_colour
{ color: #00C6F0;}

#logo_text a:hover .logo_colour
{ color: #DDD;}

#logo_text h2
{ font-size: 120%;
  padding: 4px 0 0 0;
  color: #999;}

#menubar
{ width: 872px;
  height: 45px;
  padding-right: 8px;
  background: #DDD;
  border-top: 1px solid #CCC;} 

ul#menu
{ float: right;
  margin: 0;}

ul#menu li
{ float: left;
  padding: 0 0 0 9px;
  list-style: none;
  margin: 8px 4px 0 4px;}

ul#menu li a
{ font: normal 100% 'trebuchet ms', sans-serif;
  display: block; 
  float: left; 
  height: 20px;
  padding: 6px 20px 5px 20px;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  background: #BBB;} 

ul#menu li.selected a
{ height: 20px;
  padding: 6px 20px 5px 11px;}

ul#menu li.selected
{ margin: 8px 4px 0 13px;
  background: #00C6F0;}

ul#menu li.selected a, ul#menu li.selected a:hover
{ background: #00C6F0;
  color: #FFF;}

ul#menu li a:hover
{ color: #323232;}

#site_content
{ 
  max-width: 1380px;
  width: 100%;
  overflow: hidden;
  margin: 20px auto auto auto;
  padding: 0 0 10px 0;
  align-items: stretch;   /* 让左右栏等高 */
}

#sidebar_container
{ text-align: left;
  width: 20%;
  padding: 0 0 0 0px;
  margin: auto auto auto auto;
  float: left;}

.sidebar_top
{ width: 222px;
  height: 14px;
  background: transparent url(side_top.png) no-repeat;}

.sidebar_base
{ width: 222px;
  height: 14px;
  background: url(side_base.png) no-repeat;}

.sidebar
{
    background: #fafbfc;               /* 比正文稍浅 */
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px #0001;
    padding: 10px 10px 4px 2px;
    border: 1px solid #eee;
    box-sizing: border-box;
}

.sidebar h3 {
  font-size: 1.2em;
  font-weight: bold;
  color: #009FBC;
  margin: 0 0 10px 0;
  padding-left: 6px;
  border-left: 4px solid #00C6F0;
  background: none;
}

.sidebar_item
{ padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
}

#content
{ text-align: left;
  width: 75%;
  padding: 0 0 0 0px;
  margin: auto auto auto auto;
  float: right;}
  
#content ul
{ margin: 2px 0 22px 0px;}

#content ul li, .sidebar ul li
{ list-style-type: none;
  background: url(bullet.png) no-repeat;
  margin: 0 0 0 0; 
  padding: 0 0 5px 10px;
  line-height: 1.5em;}

#footer
{ width: 100%;
  font-family: 'trebuchet ms', sans-serif;
  font-size: 100%;
  height: 80px;
  padding: 28px 0 5px 0;
  text-align: center; 
  background: #CCC;
  border-top: 1px solid #AAA;
  color: #FFF;}

#footer p
{ line-height: 1.7em;
  padding: 0 0 10px 0;}

#footer a
{ color: #FFF;
  text-decoration: none;}

#footer a:hover
{ color: #00C6F0;
  text-decoration: none;}

.search
{ color: #5D5D5D; 
  border: 1px solid #BBB; 
  width: 134px; 
  padding: 4px; 
  font: 100% arial, sans-serif;}

.form_settings
{ margin: 15px 0 0 0;}

.form_settings p
{ padding: 0 0 4px 0;}

.form_settings span
{ float: left; 
  width: 200px; 
  text-align: left;}
  
.form_settings input, .form_settings textarea
{ padding: 5px; 
  width: 299px; 
  font: 100% arial; 
  border: 1px solid #E5E5DB; 
  background: #FFF; 
  color: #47433F;}
  
.form_settings .submit
{ font: 100% arial; 
  border: 0; 
  width: 99px; 
  margin: 0 0 0 212px; 
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer; 
  background: #3B3B3B; 
  color: #FFF;}

.form_settings textarea, .form_settings select
{ font: 100% arial; 
  width: 299px;}

.form_settings select
{ width: 310px;}

.form_settings .checkbox
{ margin: 4px 0; 
  padding: 0; 
  width: 14px;
  border: 0;
  background: none;}

.separator
{ width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;}
  
table
{ margin: 10px 0 30px 0;}

table tr th, table tr td
{ background: #3B3B3B;
  color: #FFF;
  padding: 7px 4px;
  text-align: left;}
  
table tr td
{ background: #E5E5DB;
  color: #47433F;
  border-top: 1px solid #FFF;}

/* === Publication Summary Styling === */
summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  padding: 6px 10px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  margin: 10px 0;
  border-radius: 5px;
}

summary:hover {
  cursor: grab;    /* 鼠标悬停时是抓手 */
}

.section-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 22px 18px;
  margin: 0 0 20px 0;
  box-shadow: 0 2px 8px #0001;
}

.profile-img {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius:50%;
}

.member-section h1 {
  border-left: 4px solid #00C6F0;
  padding-left: 10px;
  font-size: 1.5em;
  margin-top: 40px;
}

.member-card {
  background: #f9f9f9;
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 10px;
  box-shadow: 1px 1px 6px rgba(0,0,0,0.05);
}

.profile-pic {
  width: 120px;
  height: auto;
  display: block;
  margin: 8px auto;
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .profile-pic {
    width: 80px;
  }
  .member-card {
    font-size: 90%;
  }
}

.secretary-row {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  flex-wrap: wrap; /* 移动端自动换行 */
}

.secretary-name {
  flex: 1 1 120px;
  background: #f6f6f6;
  padding: 12px 0;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  min-width: 120px;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
}

@media (max-width: 600px) {
  .secretary-row {
    flex-direction: column;
    gap: 10px;
  }
}