@charset "utf-8";
/*---------------------------------
リセットｃｓｓ
---------------------------------*/

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box
}
.js-fadeinup-trigger,
.js-fadein-trigger {
  opacity: 0;
}   

html {
  font-size: 100%;
  overflow-x : hidden;
  -webkit-overflow-scrolling: touch;
}
  
body {
  color: #262626;
  font-family: Segoe UI, Segoe UI, Segoe WP, Arial, Sans-Serif;
  line-height: 2;
  font-display: swap;

}
/* 横揺れ防止 */
html, body {
  overflow-x: hidden;
  width: 100%;
}
a{
  text-decoration: none;
  word-break: break-all;
  /*改行しなければテキストがコンテンツボックスからあふれる場合に、
  ブラウザーが改行を挿入するかどうかを指定します。*/
}

img{
  max-width: 100%;
  height: auto;
}
p {
  text-align: justify;
  font-size: 1.1rem;
}

li{
  list-style: none;
  font-size: 1.2rem;
}
#wrapper{
 max-width: 1200px;
 margin: 0 auto 130px auto;
 font-size: 0.9rem;
 padding: 0 4%;
}

strong {
  color: #E30021;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  
html {
  background-color: white;
}
body {
  font-size: 0.875rem;
  background: none;
}

.wrapper{
  width: 100%;
}
h1 {
    font-size: 23px;
    text-align: center;
}
}  

.button {
  position: relative;
  display: inline-block;
  padding: 0.8em 2em;
  text-decoration: none;
  color: white;
  background: #CB5266;/*色*/
  border: solid 1px #CB5266;/*線色*/
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  margin: 5px;
  font-size: 16px;
}

.button:active {
  /*押したとき*/
  border: solid 1px #ef6475;
  box-shadow: none;
  text-shadow: none;
  
}
.button:hover{
  opacity: 0.8;
}



/*---------------------------------
学長ご挨拶
---------------------------------*/

#director .flex {
  display: flex;
  align-items:flex-start;
}
#director .box {
  padding: 10px;
}
.dire_photo {
  width: 300px;
  height: auto;
  border-radius: 25px;
  margin-right: 50px;
}
#director h2 {
  margin-bottom: 50px;
  padding-top: 100px;
}
#director .director_title {
  font-size: 23px;
}
#director h4 {
  padding:10px;
  font-size: 20px;
}
#director .point {
  color:#E30021;
  font-size: 1.5rem;
  font-weight: bold;
}
#director strong {
  color:blue;
  font-size: 16px;
}
#director .director_p {
  margin-top: 20px;
}
#director .sentence_p {
  font-size: 14px;
}
#director .sentence p {
  margin-bottom: 20px;
}
#director .profile p {
  font-size: 14px;
}

@media screen and (max-width:600px) {
 
#director .flex {
  flex-direction: column;
}
#director h2 {
  text-align: center;
  padding-top: 0;
  font-size: 23px;
}

#director .director_title {
  font-size: 22px;
}
#director h2 span{
  display: inline-block;
 }
#director h3 {
  font-size: 20px;
  text-align: center;

}
#director h3 span {
  display: inline-block;
  font-size: 2rem;
}
#director h4 {
  text-align: center;
}
#director h4 span{
  display: inline-block;
}

#director h5 {
  text-align: center;
  font-size: 1rem;
}

#director .point {
  font-size: 1.1rem;
}
#director .box .director_phonetics {
  text-align: center;
}
#director .sentence {
  margin: 0;  
} 

#director .dire_photo {
  width: 100%;
  height: auto;
  margin-right: 0;
}

#director .box {
  width: 100%;
}
}


/*******************************************
  著者紹介の下の本
*******************************************/
#books .pc { display: block !important; }
#books .sp { display: none !important; }

#books .flex {
  display: flex;
}
#books .box img {
  width: 150px;
  height: auto;
  box-shadow: 2px 2px 4px gray;
}
#books .box {
  padding: 20px;
}
#books .box p{
  font-size: 11px;
  margin-top: 8px;
}
#books h3 {
    margin-top: 50px;
}
@media screen and (max-width:600px) {
 
#books .pc { display: none !important; }
#books .sp { display: block !important; }

#books .flex {
  display: flex;
}    
#books .box {
  padding: 0;
  width: 100%;
}
#books .box img {
  width: 180px;
  height: auto;
  padding: 10px;
  box-shadow: none;
}    
#books .link_a {
  text-align: right;
}

#books .box p{
  font-size: 12px;
  text-align: center;
}
#books h3 {
  padding-left: 10px;
}
}
