@charset "utf-8";
/* CSS Document */
/* CSSリセット */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,
pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,
strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,
caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,
figure,footer,header,hgroup,menu,nav,section,summary,time,mark,
audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;}
body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:kana,q:before,q:kana{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;
margin:1em 0;padding:0}input,select{vertical-align:middle}

/* 背景・文字 */
body {
  color: #000;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
  font-size: 14px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
}

p {
  width: 90%;
  max-width: 500px;
  min-width: 280px;
  font-size: 1em;
  line-height: 1.7;
  text-align: left;
  margin: auto;
  margin-bottom: 1rem;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}
.right {
  text-align: right;
}

.bold{
  font-weight: 600;
}

/*　リンク、画像　*/

a {
  text-decoration: underline;
  color: #000;
  outline: none;
  transition: 0.5s;
}

p>a:hover {
  color: #fff;
  background: #999;
  text-decoration: none;
}

a:hover {
  opacity: .6;
  transition: 0.5s;
}

a:hover ul {
  opacity: .6;
}

a:hover img {
  opacity: .6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media screen and (min-width: 768px){
img.banner{
  max-width: 500px
}
}

.bglink a {
  color: #fff;
  text-decoration: none;
}

.bglink li {
  line-height: 1.25em;
}

.bglink-margin li:first-child {
  margin-bottom: 1em;
}

.iconlink a:hover {
  color: #999;
  background: #fff;
}

.logo-svg {
  width: 300px;
  height: 300px;
  margin: auto;
  margin-top: 2rem;
}

.listlink li{
  margin-bottom: 1rem;
}

/* ~~ このコンテナが他のすべての div を囲みます。~~ */

#wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 960px;
  min-width: 320px;
}

/*　メインコンテンツ　*/

div #main {
  color: #000;
  margin: 0 auto;
  padding: 5%;
  text-align: center;
  clear: both;
}

div .index {
  background-image: url(img/top.png);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

.container {
  min-width: 280px;
  max-width: 500px;
  text-align: left !important;
  margin: 0 auto;
}

.border-red {
  font-size: .8rem;
  border: red 2px solid;
  box-sizing: border-box;
  margin-top: 1rem;
  padding: .5rem;
}

*.floatright {
  float: right;
  margin-left: 1em;
}

*.floatleft {
  float: left;
  margin-right: 1em;
}

/*　タイトル、見出し、区切り　*/

h1 {
  font-size: 2rem;
  margin: 2rem 0 1.5em 0;
}

h2 {
  font-size: 1.5em;
  font-weight: 600;
  margin: 3em 0 .25em;
}

h3 {
  color: #fff;
  font-weight: 600;
  margin: 3rem auto 1.5rem;
  padding: .75em .5em;
  background-color: rgba(0, 0, 0, .5);
  -moz-background-color: rgba(0, 0, 0, .5);
}

h4 {
  margin: 2em auto 2em;
  line-height: 1.5em;
}

@media screen and (min-width: 640px) {
  h4{
    font-size: 1.2rem;
  }
}

h5 {
  width: 100%;
  max-width: 500px;
  min-width: 280px;
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  text-align: center;
  /* for no-flexbox browsers */
}

h5:before, h5:after {
  height: 2px;
  background: #333;
  border: none;
  content: "";
  display: inline;
  /* for IE */
  flex-grow: 1;
}

h5:before {
  margin-right: .5em;
}

h5:after {
  margin-left: .5em;
}

h6{
  width: 100%;
  max-width: 500px;
  min-width: 280px;
  font-size: .95rem;
  text-align: center;
  margin: auto;
  margin-bottom: 0.75rem;
  line-height: 1.5em;
}

p.cap {
  text-align: center;
  font-size: .75rem;
  margin-bottom: 2.5em;
  font-weight: normal;
}

.title {
  font-size: 1.05rem;
}

.subtitle {
  font-size: .75rem;
  margin-bottom: .5rem;
  line-height: 1.25rem;
}

.burasage{
  padding-left: 0.75rem;
}

li.mb05{
  margin-bottom: 0.5rem;
}

.underline {
  max-width: 500px;
  border-bottom: 1px solid #999;
  margin-top: 2rem;
}

.border{
  border: 1px #000 solid;
  padding:0.25rem;
  max-width: 500px;
}

hr {
  margin: 2rem auto;
}

.hanten{
  background: red;
  color: white;
}

.red{
  color: red;
}

.kasen{
  text-decoration: underline;
}

/* リスト */

ol,ul.list {
  line-height: 1.75rem;
  text-align: left;
  width: 90%;
  margin: auto;
  margin-bottom: 1rem;
  max-width: 500px;
  min-width: 280px;
  list-style-position:inside;
}

dl {
  font-size: .75rem;
  text-align: left;
  line-height: 1.7;
  width: 90%;
  max-width: 500px;
  min-width: 280px;
  margin: auto;
  padding-bottom: 1rem;
}

dt {
  font-size: 1rem;
  margin-bottom: .5rem;
}

.att {
  padding-left: 1em;
  text-indent: -1em;
}


/* ナビゲーション　*/

.drawer-menu li {
  line-height: normal;
  border-bottom: 1px #666 solid;
}

.drawer-menu-item {
  line-height: 1.5rem;
}

.drawer-menu-item img {
  margin: 0;
  padding-top: 0.5em;
  padding-bottom: 0.75em;
  display: block;
}

li.socialbutton {
  padding: .75rem;
  border-bottom: 1px #fff solid;
}

/* メニューボタン　*/

a.button {
  color: #fff;
  background-color: rgba(0, 0, 0, 1);
  line-height: 2em;
  text-decoration: none;
  display: block;
  margin: 2em auto 5em;
  padding: 1%;
  border-radius: 25px;
  transition: 1s;
}

a.large {
  width: 90%;
  max-width: 300px;
  font-weight: 400;
}

a.small {
  width: 60%;
  font-weight: bold;
}

a.kaku{
  border-radius: 5px;
  box-shadow: 0 5px 0 0 #888888;
}

a.pagemenu {
  margin: .5rem auto;
  padding-left: 1.5rem;
}

a.button:hover {
  background-color: rgba(0, 0, 0, .5);
  transition: 1s;
}

/* TOP戻るボタン */

#pageTop {
  background: #999;
  border-radius: 3px;
  color: #FFF;
  padding: 10px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  text-decoration: none;
}

#pageTop:hover {
  opacity: .7;
}

/*　テーブル　*/

#boshu table {
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto;
}

#boshu th {
  width: auto;
  text-align: right;
}

#boshu td {
  width: 80%;
  text-align: left;
  padding-left: 1em;
  color: #000;
  padding-bottom: 1.5em;
  line-height: 1.7em;
}

/*　フォーム　*/


div.form td,th{
  display: block;
}

input {
  width: 70%;
}

textarea {
  width: 95%;
  height: 200px;
}

div.form>p.center {
  text-align: center;
}

.mailform-frame {
  width: 100%;
  height: 800px;
}

/* フッター */

footer {
  background-color: #000;
  color:#fff;
  padding: 1.5rem;
  letter-spacing: .25em;
  opacity: .8;
}
.footer {
  position: sticky;
  position: -webkit-sticky;/*Safari用ベンダープレフィックス*/
  bottom: 0;/*ブラウザの上からの距離はゼロ*/
}
.footer a{
  color: #fff;
}

/* clearfix */

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-table;
}

/* Hides from IE-mac \*/

* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End hide from IE-mac */

/*　更新情報　*/

#news {
  color: #000;
  margin: 0 auto;
  padding: 5%;
  clear: both;
}

div #news table {
  width: 100%;
  margin: auto;
  display: block;
  max-width: 500px;
}

div #news th {
  width: 130px;
  text-align: right;
}

div #news td {

  padding-left: 2em;
  padding-bottom: 1.5em;
  line-height: 1.7em;
}

@media screen and (max-width: 767px) {
 div #news th{
   width: auto;
   display: block;
   margin: auto;
   text-align: left!important;
   padding-left: 2em;
   margin-bottom: 1rem;
 }
 div #news td{
   width: auto;
   display: block;
   margin: auto;
 }
}

.topnews ul {
  color: #fff;
}

.date{
  font-weight: bold;
}

#news article img {
  padding-bottom: 1.5rem;
}

.first {
  background: linear-gradient(rgba(47, 16, 16, 0.8), rgba(181, 10, 77, 0.75));
}

.second {
  background: linear-gradient(rgba(125, 16, 55, 0.8), rgba(163, 44, 65, 1));
}

.third {
  background: linear-gradient(rgba(125, 0, 34, 0.8), rgba(47, 16, 16, 0.8));
}

.nenga {
  background: linear-gradient(rgba(255, 169, 167, 0.8), rgba(252, 39, 31, 0.8));
}

.mugengai {
  background: url(img/top/back_mugengai02.png);
  background-position: center 50%;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

.website {
  background: url(img/top/back_websiterenewal.png);
  background-position: center 50%;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

/* メンバーページ */

div #member {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
}

.member {
  color: #fff;
  text-align: center;
  padding: 10%;
  margin-bottom: 1rem;
}

/*  スタッフページ  */

ul.s-kaz {
  background: linear-gradient(-45deg, rgba(0, 161, 233, .6), rgba(56, 180, 139, .6)), url(img/member/staff_kaz.jpg);
  background-position: center 35%;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

ul.s-shio {
  background: linear-gradient(-45deg, rgba(246, 255, 0, .6), rgba(255, 0, 161, .6)), url(./img/member/staff_shio.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

ul.s-tak {
  background: linear-gradient(-45deg, rgba(0, 0, 0, .6), rgba(0, 0, 255, .6)), url(img/member/staff_takuya.jpg);
  background-position: center 50%;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

ul.s-ena {
  background: linear-gradient(-45deg, rgba(188, 100, 164, .6), rgba(106, 216, 239, .6)), url(img/member/staff_ena.jpg);
  background-position: center 50%;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

/* 研究生募集ページ */

.blue::first-letter {
  color: #0F78E1;
  font-size: 1.5rem;
  padding: .25em;
}

.red::first-letter {
  color: #ff6767;
  font-size: 1.5rem;
  padding: .25em;
}

dl.qanda {
  font-size: 1em;
}

dl.qanda dt {
  border-bottom: 1px solid #0F78E1;
}

.indent {
  padding-left: 1.5rem;
  text-indent: -1.75rem;
}
